Date: Wed, 17 Apr 2019 18:50:34 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499199 - head/devel/py-jaraco.itertools Message-ID: <201904171850.x3HIoYdM040130@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed Apr 17 18:50:33 2019 New Revision: 499199 URL: https://svnweb.freebsd.org/changeset/ports/499199 Log: Change RUN_DEPENDS from py-more-itertools to py-more-itertools5 conditionally - Bump PORTREVISION for dependency change Modified: head/devel/py-jaraco.itertools/Makefile Modified: head/devel/py-jaraco.itertools/Makefile ============================================================================== --- head/devel/py-jaraco.itertools/Makefile Wed Apr 17 18:50:28 2019 (r499198) +++ head/devel/py-jaraco.itertools/Makefile Wed Apr 17 18:50:33 2019 (r499199) @@ -3,6 +3,7 @@ PORTNAME= jaraco.itertools PORTVERSION= 4.4.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +17,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}inflect>=0:devel/py-inflect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jaraco>=0:devel/py-jaraco@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} USES= python @@ -26,6 +26,14 @@ NO_ARCH= yes POST_PLIST= trim-jaraco-namespace +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}more-itertools5>=4.0.0:devel/py-more-itertools5@${PY_FLAVOR} +.endif + post-install: @${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__init__.py* -@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__pycache__/__init__.* @@ -34,4 +42,4 @@ post-install: trim-jaraco-namespace: @${REINPLACE_CMD} '/jaraco\/__init__\./d; /jaraco\/__pycache__\/__init__\./d' ${TMPPLIST} -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904171850.x3HIoYdM040130>