Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2017 07:51:59 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448753 - head/sysutils/py-salt
Message-ID:  <201708260751.v7Q7pxKJ040171@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Sat Aug 26 07:51:59 2017
New Revision: 448753
URL: https://svnweb.freebsd.org/changeset/ports/448753

Log:
  sysutils/py-salt: Only depend on devel/py-futures with python2
  
  (futures is built into python3)
  
  PR:		220869
  Submitted by:	admin@netzmacher.net

Modified:
  head/sysutils/py-salt/Makefile

Modified: head/sysutils/py-salt/Makefile
==============================================================================
--- head/sysutils/py-salt/Makefile	Sat Aug 26 07:39:53 2017	(r448752)
+++ head/sysutils/py-salt/Makefile	Sat Aug 26 07:51:59 2017	(r448753)
@@ -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 \
@@ -77,6 +77,11 @@ ZEROMQ_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyzmq>=2.2.
 # Python 2.7-3.3 require enum34, unnecessary for Python 3.4+
 .if ${PYTHON_REL} < 3400
 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:



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