[130440] trunk/dports/devel/coccinelle/Portfile
larryv at macports.org
larryv at macports.org
Tue Dec 30 10:45:57 PST 2014
Revision: 130440
https://trac.macports.org/changeset/130440
Author: larryv at macports.org
Date: 2014-12-30 10:45:57 -0800 (Tue, 30 Dec 2014)
Log Message:
-----------
coccinelle: Provide only Python 2.7 and 3.4 variants
Modified Paths:
--------------
trunk/dports/devel/coccinelle/Portfile
Modified: trunk/dports/devel/coccinelle/Portfile
===================================================================
--- trunk/dports/devel/coccinelle/Portfile 2014-12-30 16:35:43 UTC (rev 130439)
+++ trunk/dports/devel/coccinelle/Portfile 2014-12-30 18:45:57 UTC (rev 130440)
@@ -5,6 +5,7 @@
name coccinelle
version 1.0.0-rc21
+revision 1
license GPL-2
maintainers g5pw openmaintainer
@@ -45,18 +46,13 @@
# Build optimized version only
# build.target opt-only
-variant python26 conflicts python33 python32 python31 python27 description {Build with python 2.6 support} {
- set mypydir ${frameworks_dir}/Python.framework/Versions/2.6
- configure.args-delete --disable-python
- configure.args-append --enable-python \
- --with-python=${mypydir}/bin/python
+# TODO: Remove after 2015-12-26.
+variant python26 requires python27 description {Legacy variant} {}
+variant python31 requires python34 description {Legacy variant} {}
+variant python32 requires python34 description {Legacy variant} {}
+variant python33 requires python34 description {Legacy variant} {}
- configure.env-append \
- PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
- depends_lib-append port:python26
-}
-
-variant python27 conflicts python33 python32 python31 python26 description {Build with python 2.7 support} {
+variant python27 conflicts python34 description {Build with python 2.7 support} {
set mypydir ${frameworks_dir}/Python.framework/Versions/2.7
configure.args-delete --disable-python
configure.args-append --enable-python \
@@ -66,36 +62,16 @@
depends_lib-append port:python27
}
-variant python31 conflicts python33 python32 python27 python26 description {Build with python 3.1 support} {
- set mypydir ${frameworks_dir}/Python.framework/Versions/3.1
+variant python34 conflicts python27 description {Build with python 3.4 support} {
+ set mypydir ${frameworks_dir}/Python.framework/Versions/3.4
configure.args-delete --disable-python
configure.args-append --enable-python \
--with-python=${mypydir}/bin/python3
configure.env-append \
PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
- depends_lib-append port:python31
+ depends_lib-append port:python34
}
-variant python32 conflicts python33 python31 python27 python26 description {Build with python 3.2 support} {
- set mypydir ${frameworks_dir}/Python.framework/Versions/3.2
- configure.args-delete --disable-python
- configure.args-append --enable-python \
- --with-python=${mypydir}/bin/python3
- configure.env-append \
- PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
- depends_lib-append port:python32
-}
-
-variant python33 conflicts python32 python31 python27 python26 description {Build with python 3.3 support} {
- set mypydir ${frameworks_dir}/Python.framework/Versions/3.3
- configure.args-delete --disable-python
- configure.args-append --enable-python \
- --with-python=${mypydir}/bin/python3
- configure.env-append \
- PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
- depends_lib-append port:python33
-}
-
variant pcre description {Enable PCRE support} {
configure.args-delete --disable-pcre
configure.args-append --enable-pcre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141230/a51880b6/attachment.html>
More information about the macports-changes
mailing list