svn commit: r461429 - head/www/py-requests-futures
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Feb 10 19:59:32 UTC 2018
Author: sunpoet
Date: Sat Feb 10 19:59:31 2018
New Revision: 461429
URL: https://svnweb.freebsd.org/changeset/ports/461429
Log:
Simplify Makefile: use PY_FUTURES
With hat: python
Modified:
head/www/py-requests-futures/Makefile
Modified: head/www/py-requests-futures/Makefile
==============================================================================
--- head/www/py-requests-futures/Makefile Sat Feb 10 19:59:26 2018 (r461428)
+++ head/www/py-requests-futures/Makefile Sat Feb 10 19:59:31 2018 (r461429)
@@ -15,14 +15,9 @@ LICENSE= APACHE20
USES= python
USE_PYTHON= autoplist distutils
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR}
+RUN_DEPENDS= ${PY_FUTURES} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR}
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == "2.7"
-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