Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 19:59:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461424 - head/net/py-urllib3
Message-ID:  <201802101959.w1AJx76c094714@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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