[129704] trunk/dports/print/pdflib/Portfile
larryv at macports.org
larryv at macports.org
Thu Dec 18 15:24:22 PST 2014
Revision: 129704
https://trac.macports.org/changeset/129704
Author: larryv at macports.org
Date: 2014-12-18 15:24:22 -0800 (Thu, 18 Dec 2014)
Log Message:
-----------
pdflib: Replace old Python variants with +python27
Modified Paths:
--------------
trunk/dports/print/pdflib/Portfile
Modified: trunk/dports/print/pdflib/Portfile
===================================================================
--- trunk/dports/print/pdflib/Portfile 2014-12-18 23:24:11 UTC (rev 129703)
+++ trunk/dports/print/pdflib/Portfile 2014-12-18 23:24:22 UTC (rev 129704)
@@ -5,7 +5,7 @@
name pdflib
version 7.0.5
-revision 1
+revision 2
categories print
platforms darwin
license Restrictive
@@ -62,49 +62,12 @@
configure.args-append --with-perl=${prefix}/bin/perl
}
-variant python24 description {Enable Python language binding using version 2.4} conflicts python25 python26 {
- set pyversion 2.4
- depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
- configure.args-delete --without-py
- configure.args-append --with-py=${prefix} \
- --with-pyincl=${prefix}/include/python${pyversion}
- configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
+# TODO: Remove after 2015-12-18.
+variant python24 description {Legacy compatibility variant} requires python27 {}
+variant python25 description {Legacy compatibility variant} requires python27 {}
+variant python26 description {Legacy compatibility variant} requires python27 {}
- post-destroot {
- # ${frameworks_dir}/Python.framework/Versions/2.4/lib/python2.4/ is a link, which MacPorts can not install into
- xinstall -d -m 755 ${destroot}${prefix}/lib/python2.4/
- foreach file [ glob ${destroot}${frameworks_dir}/Python.framework/Versions/2.4/lib/python2.4/* ] {
- file rename ${file} ${destroot}${prefix}/lib/python2.4/
- }
- }
-}
-
-variant python25 description {Enable Python language binding using version 2.5} conflicts python24 python26 python27 {
- set pyversion 2.5
- depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
- configure.args-delete --without-py
- configure.args-append --with-py=${prefix} --with-pyincl=${prefix}/include/python${pyversion}
- configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
-
- post-destroot {
- # ${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5/ is a link, which MacPorts can not install into
- xinstall -d -m 755 ${destroot}${prefix}/lib/python2.5/
- foreach file [ glob ${destroot}${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5/* ] {
- file rename ${file} ${destroot}${prefix}/lib/python2.5/
- }
- }
-}
-
-variant python26 description {Enable Python language binding using version 2.6} conflicts python24 python25 python27 {
- set pyversion 2.6
- depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
- configure.args-delete --without-py
- configure.args-append --with-py=${frameworks_dir}/Python.framework/Versions/${pyversion} \
- --with-pyincl=${frameworks_dir}/Python.framework/Versions/${pyversion}/include/python${pyversion}
- configure.env-append PYTHONBIN=${prefix}/bin/python${pyversion}
-}
-
-variant python27 description {Enable Python language binding using version 2.7} conflicts python24 python25 python26 {
+variant python27 description {Enable Python 2.7 binding} {
set pyversion 2.7
depends_lib-append port:python[strsed ${pyversion} {g/[.]//}]
configure.args-delete --without-py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141218/a00ff0f3/attachment.html>
More information about the macports-changes
mailing list