svn commit: r455502 - head/devel/b2

Antoine Brodin antoine at FreeBSD.org
Mon Dec 4 09:39:20 UTC 2017


Author: antoine
Date: Mon Dec  4 09:39:19 2017
New Revision: 455502
URL: https://svnweb.freebsd.org/changeset/ports/455502

Log:
  py-futures is only for the py27 flavor
  
  With hat:	portmgr

Modified:
  head/devel/b2/Makefile

Modified: head/devel/b2/Makefile
==============================================================================
--- head/devel/b2/Makefile	Mon Dec  4 09:00:26 2017	(r455501)
+++ head/devel/b2/Makefile	Mon Dec  4 09:39:19 2017	(r455502)
@@ -13,7 +13,6 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}arrow>=0.8.0:devel/py-arrow@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}futures>=3.0.5:devel/py-futures@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}logfury>=0.1.2:devel/py-logfury@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${FLAVOR} \
@@ -29,4 +28,10 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Backblaze
 GH_PROJECT=	B2_Command_Line_Tool
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}futures>=3.0.5:devel/py-futures@${FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list