svn commit: r461424 - head/net/py-urllib3

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


Author: sunpoet
Date: Sat Feb 10 19:59:06 2018
New Revision: 461424
URL: https://svnweb.freebsd.org/changeset/ports/461424

Log:
  Simplify Makefile: use PY_IPADDRESS

Modified:
  head/net/py-urllib3/Makefile

Modified: head/net/py-urllib3/Makefile
==============================================================================
--- head/net/py-urllib3/Makefile	Sat Feb 10 19:59:01 2018	(r461423)
+++ head/net/py-urllib3/Makefile	Sat Feb 10 19:59:06 2018	(r461424)
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=1.3.4:security/py-cryptography@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${FLAVOR} \
+		${PY_IPADDRESS} \
 		${PYTHON_PKGNAMEPREFIX}openssl>=16.0:security/py-openssl@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks@${FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
@@ -28,10 +29,6 @@ NO_ARCH=	yes
 SUB_FILES=	pkg-message
 
 .include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3300
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ipaddress>=0:net/py-ipaddress@${FLAVOR}
-.endif
 
 .if ${PYTHON_REL} < 3400
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${FLAVOR}


More information about the svn-ports-head mailing list