Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 19:58:41 +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: r461419 - head/devel/py-isort
Message-ID:  <201802101958.w1AJwf7h094171@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802101958.w1AJwf7h094171>