svn commit: r461419 - head/devel/py-isort

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 10 19:58:44 UTC 2018


Author: sunpoet
Date: Sat Feb 10 19:58:41 2018
New Revision: 461419
URL: https://svnweb.freebsd.org/changeset/ports/461419

Log:
  Simplify Makefile: use PY_FUTURES

Modified:
  head/devel/py-isort/Makefile

Modified: head/devel/py-isort/Makefile
==============================================================================
--- head/devel/py-isort/Makefile	Sat Feb 10 19:58:36 2018	(r461418)
+++ head/devel/py-isort/Makefile	Sat Feb 10 19:58:41 2018	(r461419)
@@ -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>


More information about the svn-ports-head mailing list