Date: Wed, 17 Apr 2019 18:50:39 +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: r499200 - head/devel/py-pytest Message-ID: <201904171850.x3HIodl0040239@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed Apr 17 18:50:38 2019 New Revision: 499200 URL: https://svnweb.freebsd.org/changeset/ports/499200 Log: Change RUN_DEPENDS from py-more-itertools to py-more-itertools5 conditionally - Bump PORTREVISION for dependency change Modified: head/devel/py-pytest/Makefile Modified: head/devel/py-pytest/Makefile ============================================================================== --- head/devel/py-pytest/Makefile Wed Apr 17 18:50:33 2019 (r499199) +++ head/devel/py-pytest/Makefile Wed Apr 17 18:50:38 2019 (r499200) @@ -2,7 +2,7 @@ PORTNAME= pytest PORTVERSION= 4.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +16,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.0:devel/py-atomicwrites@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pluggy>=0.7:devel/py-pluggy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}py>=1.5.0:devel/py-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} @@ -34,6 +33,12 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include <bsd.port.pre.mk> + +.if ${PYTHON_VER} >= 3.4 +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 .if ${PYTHON_VER} < 3.0 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}funcsigs>=0:devel/py-funcsigs@${PY_FLAVOR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904171850.x3HIodl0040239>