Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2017 09:39:19 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455502 - head/devel/b2
Message-ID:  <201712040939.vB49dJXs086148@repo.freebsd.org>

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



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