Date: Sat, 10 Feb 2018 19:58:51 +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: r461421 - head/devel/py-trollius Message-ID: <201802101958.w1AJwpBP094386@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Feb 10 19:58:51 2018 New Revision: 461421 URL: https://svnweb.freebsd.org/changeset/ports/461421 Log: Simplify Makefile: use PY_FUTURES It also fixes the other PYTHON_REL check. The original "PYTHON_REL < 3300" check inside "PYTHON_REL < 3000" will never be true. With hat: python Modified: head/devel/py-trollius/Makefile Modified: head/devel/py-trollius/Makefile ============================================================================== --- head/devel/py-trollius/Makefile Sat Feb 10 19:58:46 2018 (r461420) +++ head/devel/py-trollius/Makefile Sat Feb 10 19:58:51 2018 (r461421) @@ -12,6 +12,8 @@ COMMENT= Port of the Tulip project (asyncio module, PE LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING +RUN_DEPENDS= ${PY_FUTURES} + USES= python USE_PYTHON= autoplist distutils @@ -19,11 +21,8 @@ NO_ARCH= yes .include <bsd.port.pre.mk> -.if ${PYTHON_REL} < 3000 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${FLAVOR} .if ${PYTHON_REL} < 3300 TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR} -.endif .endif do-test:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802101958.w1AJwpBP094386>