aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-10-17 20:41:37 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-10-17 20:41:37 +0000
commitd3f9fee7129466e63696f044032b566c9d94622b (patch)
tree838b47b9961475ca7dd8638b06f163506eb29374
parent4b02e1d6c2d10660cb19ed157b62fddf96c557fe (diff)
Notes
-rw-r--r--devel/py-zipp/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/devel/py-zipp/Makefile b/devel/py-zipp/Makefile
index 21c0706ece33..b6f768ae796d 100644
--- a/devel/py-zipp/Makefile
+++ b/devel/py-zipp/Makefile
@@ -2,7 +2,7 @@
PORTNAME= zipp
PORTVERSION= 0.6.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,4 +18,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$
USES= python
USE_PYTHON= autoplist distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}more-itertools5>0:devel/py-more-itertools5@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}more-itertools>0:devel/py-more-itertools@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>