diff options
-rw-r--r-- | devel/py-zipp/Makefile | 12 |
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> |