aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-05-26 16:47:02 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-05-26 16:47:02 +0000
commit1b85bc93327fe20e04dacd558e4b68b8e87cab40 (patch)
tree7229e877adf880a70b7dabb3af7fa6c66661b721 /devel
parent95870264a95e112dd40286515a64b619d7529491 (diff)
downloadports-1b85bc93327fe20e04dacd558e4b68b8e87cab40.tar.gz
ports-1b85bc93327fe20e04dacd558e4b68b8e87cab40.zip
Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva
Notes
Notes: svn path=/head/; revision=387491
Diffstat (limited to 'devel')
-rw-r--r--devel/awscli/Makefile2
-rw-r--r--devel/dee/Makefile2
-rw-r--r--devel/ice/Makefile2
-rw-r--r--devel/py-Jinja2/Makefile6
-rw-r--r--devel/py-efl/Makefile2
-rw-r--r--devel/py-filemagic/Makefile2
-rw-r--r--devel/py-nose/Makefile2
-rw-r--r--devel/py-olefile/Makefile2
8 files changed, 10 insertions, 10 deletions
diff --git a/devel/awscli/Makefile b/devel/awscli/Makefile
index 150d2a79941e..7861f1628dcc 100644
--- a/devel/awscli/Makefile
+++ b/devel/awscli/Makefile
@@ -22,7 +22,7 @@ USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} < 270
+.if ${PYTHON_REL} < 2700
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse
.endif
diff --git a/devel/dee/Makefile b/devel/dee/Makefile
index 03eabe75191e..e81b010b8992 100644
--- a/devel/dee/Makefile
+++ b/devel/dee/Makefile
@@ -31,7 +31,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} >= 300
+.if ${PYTHON_REL} >= 3000
USE_GNOME+= py3gobject3
.else
USE_GNOME+= pygobject3
diff --git a/devel/ice/Makefile b/devel/ice/Makefile
index f261c9ee0abf..d8a3a6d5f93f 100644
--- a/devel/ice/Makefile
+++ b/devel/ice/Makefile
@@ -77,7 +77,7 @@ MAKE_ENV+= NOICEDOCS=yes
.include <bsd.port.pre.mk>
-.if defined(PYTHON_REL) && ${PYTHON_REL} >= 320
+.if defined(PYTHON_REL) && ${PYTHON_REL} >= 3200
PLIST_SUB+= PYTHON32=""
PLIST_SUB+= PYTHONPRE32="@comment "
.else
diff --git a/devel/py-Jinja2/Makefile b/devel/py-Jinja2/Makefile
index cfa6b2ddeb2a..3a198abfe931 100644
--- a/devel/py-Jinja2/Makefile
+++ b/devel/py-Jinja2/Makefile
@@ -45,14 +45,14 @@ PORT_OPTIONS:= ${PORT_OPTIONS:NEXAMPLES}
.endif
# no problem with Python > 3.2
-.if ${PYTHON_REL} >= 320
+.if ${PYTHON_REL} >= 3200
pre-build:
${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/jinja2
.endif
.if ${PKGNAMESUFFIX} == "-doc"
do-build:
-. if ${PYTHON_REL} >= 300
+. if ${PYTHON_REL} >= 3000
@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/docs
. endif
(cd ${WRKSRC}/docs && ${MAKE} html)
@@ -66,7 +66,7 @@ do-install:
.if ${PORT_OPTIONS:MEXAMPLES}
PORTEXAMPLES= *
post-build:
-. if ${PYTHON_REL} >= 300
+. if ${PYTHON_REL} >= 3000
${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples
. endif
${PYTHON_CMD} -m compileall ${WRKSRC}/examples ; \
diff --git a/devel/py-efl/Makefile b/devel/py-efl/Makefile
index 70cf4460bb69..efaee9719172 100644
--- a/devel/py-efl/Makefile
+++ b/devel/py-efl/Makefile
@@ -23,7 +23,7 @@ USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} < 300
+.if ${PYTHON_REL} < 3000
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83:${PORTSDIR}/devel/py-dbus
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83:${PORTSDIR}/devel/py-dbus
.else
diff --git a/devel/py-filemagic/Makefile b/devel/py-filemagic/Makefile
index 0506750243d5..d45df99b1c78 100644
--- a/devel/py-filemagic/Makefile
+++ b/devel/py-filemagic/Makefile
@@ -28,7 +28,7 @@ GH_TAGNAME= b24df9f
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} < 300
+.if ${PYTHON_REL} < 3000
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2
.endif
diff --git a/devel/py-nose/Makefile b/devel/py-nose/Makefile
index ae8141879885..fad4b2c15f81 100644
--- a/devel/py-nose/Makefile
+++ b/devel/py-nose/Makefile
@@ -20,7 +20,7 @@ USE_PYTHON= autoplist concurrent distutils
regression-test: build
# Extra tests for python 3, added in by setup3lib.py
-.if ${PYTHON_REL} >= 300
+.if ${PYTHON_REL} >= 3000
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_tests
.endif
@cd ${WRKSRC} && ${PYTHON_CMD} selftest.py --verbose
diff --git a/devel/py-olefile/Makefile b/devel/py-olefile/Makefile
index 3b7db75220f9..7be748782190 100644
--- a/devel/py-olefile/Makefile
+++ b/devel/py-olefile/Makefile
@@ -20,7 +20,7 @@ USE_PYTHON= distutils autoplist
# Remove files not python 3 ready and allow compile again
post-patch:
-.if ${PYTHON_REL} >= 300
+.if ${PYTHON_REL} >= 3000
${RM} ${WRKSRC}/olefile/olefile2.py
.endif
${REINPLACE_CMD} "/install' in sys.argv:/,+1d" ${WRKSRC}/setup.py