svn commit: r461420 - head/devel/b2

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 10 19:58:47 UTC 2018


Author: sunpoet
Date: Sat Feb 10 19:58:46 2018
New Revision: 461420
URL: https://svnweb.freebsd.org/changeset/ports/461420

Log:
  Simplify Makefile: use PY_FUTURES
  
  With hat:	python

Modified:
  head/devel/b2/Makefile

Modified: head/devel/b2/Makefile
==============================================================================
--- head/devel/b2/Makefile	Sat Feb 10 19:58:41 2018	(r461419)
+++ head/devel/b2/Makefile	Sat Feb 10 19:58:46 2018	(r461420)
@@ -13,6 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}arrow>=0.8.0:devel/py-arrow@${FLAVOR} \
+		${PY_FUTURES} \
 		${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} \
@@ -28,10 +29,4 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Backblaze
 GH_PROJECT=	B2_Command_Line_Tool
 
-.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>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list