pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-urllib3 py-urllib3: fix py-ipaddress dependency



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7716e541168f
branches:  trunk
changeset: 312564:7716e541168f
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 06 13:43:18 2018 +0000

description:
py-urllib3: fix py-ipaddress dependency

diffstat:

 www/py-urllib3/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r d1fb38c8d3b2 -r 7716e541168f www/py-urllib3/Makefile
--- a/www/py-urllib3/Makefile   Thu Sep 06 13:42:18 2018 +0000
+++ b/www/py-urllib3/Makefile   Thu Sep 06 13:43:18 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2018/06/16 12:10:40 adam Exp $
+# $NetBSD: Makefile,v 1.9 2018/09/06 13:43:18 adam Exp $
 
 DISTNAME=      urllib3-1.23
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -15,7 +15,9 @@
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=1.3.4:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.0.0:../../www/py-idna
-.if "${PYPKGPREFIX}" == "py27"
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
 .endif
 



Home | Main Index | Thread Index | Old Index