[121862] users/devans/dports/genealogy/gramps3/Portfile
devans at macports.org
devans at macports.org
Wed Jul 9 10:31:42 PDT 2014
Revision: 121862
https://trac.macports.org/changeset/121862
Author: devans at macports.org
Date: 2014-07-09 10:31:41 -0700 (Wed, 09 Jul 2014)
Log Message:
-----------
devans/dports: gramps3, apply patch from Mihai Moldovan (with modifications) to use either py-pil or py-Pillow (#44284).
Modified Paths:
--------------
users/devans/dports/genealogy/gramps3/Portfile
Modified: users/devans/dports/genealogy/gramps3/Portfile
===================================================================
--- users/devans/dports/genealogy/gramps3/Portfile 2014-07-09 16:04:44 UTC (rev 121861)
+++ users/devans/dports/genealogy/gramps3/Portfile 2014-07-09 17:31:41 UTC (rev 121862)
@@ -12,7 +12,7 @@
platforms darwin
supported_archs noarch
maintainers devans openmaintainer
-
+
description GRAMPS is a genealogy program
long_description GRAMPS is a genealogy program to store, edit, \
@@ -54,25 +54,31 @@
configure.args --disable-mime-install
variant python26 conflicts python27 description {Use python 2.6} {
- depends_lib-append port:py26-gtkspell \
- port:py26-enchant \
- port:py26-webkitgtk \
- port:py26-osmgpsmap \
- port:py26-exiv2 \
- port:py26-pil \
- port:py26-pyicu
- configure.python ${prefix}/bin/python2.6
+ set python.version 26
+ set python.branch "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
+ set python.sitepkgs ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
+ depends_lib-append port:py${python.version}-gtkspell \
+ port:py${python.version}-enchant \
+ port:py${python.version}-webkitgtk \
+ port:py${python.version}-osmgpsmap \
+ port:py${python.version}-exiv2 \
+ path:${python.sitepkgs}/PIL:py${python.version}-Pillow \
+ port:py${python.version}-pyicu
+ configure.python ${prefix}/bin/python${python.branch}
}
variant python27 conflicts python26 description {Use python 2.7} {
- depends_lib-append port:py27-gtkspell \
- port:py27-enchant \
- port:py27-webkitgtk \
- port:py27-osmgpsmap \
- port:py27-exiv2 \
- port:py27-pil \
- port:py27-pyicu
- configure.python ${prefix}/bin/python2.7
+ set python.version 27
+ set python.branch "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
+ set python.sitepkgs ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
+ depends_lib-append port:py${python.version}-gtkspell \
+ port:py${python.version}-enchant \
+ port:py${python.version}-webkitgtk \
+ port:py${python.version}-osmgpsmap \
+ port:py${python.version}-exiv2 \
+ path:${python.sitepkgs}/PIL:py${python.version}-Pillow \
+ port:py${python.version}-pyicu
+ configure.python ${prefix}/bin/python${python.branch}
}
if {![variant_isset python26]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140709/a7975050/attachment-0001.html>
More information about the macports-changes
mailing list