aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorwoodsb02 <woodsb02@FreeBSD.org>2017-08-26 15:51:59 +0800
committerwoodsb02 <woodsb02@FreeBSD.org>2017-08-26 15:51:59 +0800
commitff4a65fdcca97cc47d692ff8e9e5c495a21b2c74 (patch)
treea446a7aff9bda8d9bc725cdc30dfc1eb619e8787 /sysutils
parent80c6b4f0c79e49d679cc33b9d51bc7e615b1a71c (diff)
downloadfreebsd-ports-gnome-ff4a65fdcca97cc47d692ff8e9e5c495a21b2c74.tar.gz
freebsd-ports-gnome-ff4a65fdcca97cc47d692ff8e9e5c495a21b2c74.tar.zst
freebsd-ports-gnome-ff4a65fdcca97cc47d692ff8e9e5c495a21b2c74.zip
sysutils/py-salt: Only depend on devel/py-futures with python2
(futures is built into python3) PR: 220869 Submitted by: admin@netzmacher.net
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-salt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile
index d24421310531..26a9b9b43e3d 100644
--- a/sysutils/py-salt/Makefile
+++ b/sysutils/py-salt/Makefile
@@ -3,6 +3,7 @@
PORTNAME= salt
PORTVERSION= 2017.7.1
+PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +17,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \
${PYTHON_PKGNAMEPREFIX}MarkupSafe>0:textproc/py-MarkupSafe \
${PYTHON_PKGNAMEPREFIX}botocore>0:devel/py-botocore \
- ${PYTHON_PKGNAMEPREFIX}futures>=2.0:devel/py-futures \
${PYTHON_PKGNAMEPREFIX}libcloud>=0.14.0:net/py-libcloud \
${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.3:devel/py-msgpack-python \
${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar \
@@ -79,6 +79,11 @@ ZEROMQ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzmq>=2.2.0:net/py-pyzmq \
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34
.endif
+# Python 3+ comes with futures built-in
+.if ${PYTHON_REL} < 3200
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>=2.0:devel/py-futures
+.endif
+
post-patch:
.for file in conf/minion conf/master doc/man/salt-key.1 \
doc/man/salt-cp.1 doc/man/salt-minion.1 doc/man/salt-syndic.1 \