Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 19:59:32 +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: r461429 - head/www/py-requests-futures
Message-ID:  <201802101959.w1AJxWPr095260@repo.freebsd.org>

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



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