aboutsummaryrefslogtreecommitdiffstats
path: root/devel/b2
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-02-11 03:58:46 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-02-11 03:58:46 +0800
commitdac450de696bf0f88672078f93fe773cd29a4462 (patch)
treed970d131c3384c9b8d2d4977f393594f58ea7d33 /devel/b2
parentfed3e7d1be7f8758fe7fa06ad725b265be0396ea (diff)
downloadfreebsd-ports-gnome-dac450de696bf0f88672078f93fe773cd29a4462.tar.gz
freebsd-ports-gnome-dac450de696bf0f88672078f93fe773cd29a4462.tar.zst
freebsd-ports-gnome-dac450de696bf0f88672078f93fe773cd29a4462.zip
Simplify Makefile: use PY_FUTURES
With hat: python
Diffstat (limited to 'devel/b2')
-rw-r--r--devel/b2/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/devel/b2/Makefile b/devel/b2/Makefile
index b7539ad5a804..51cf9bb7e24e 100644
--- a/devel/b2/Makefile
+++ b/devel/b2/Makefile
@@ -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>