1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

Simplify Makefile: use PY_FUTURES

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-02-10 19:58:41 +00:00
parent a4dc7b6013
commit b460bf2930
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461419

View File

@ -12,6 +12,7 @@ COMMENT= Python utility/library to sort Python imports
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PY_FUTURES}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${FLAVOR}
@ -19,10 +20,4 @@ NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES= python
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>=0:devel/py-futures@${FLAVOR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>