pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-urllib3



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Sep  6 13:43:18 UTC 2018

Modified Files:
        pkgsrc/www/py-urllib3: Makefile

Log Message:
py-urllib3: fix py-ipaddress dependency


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-urllib3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-urllib3/Makefile
diff -u pkgsrc/www/py-urllib3/Makefile:1.8 pkgsrc/www/py-urllib3/Makefile:1.9
--- pkgsrc/www/py-urllib3/Makefile:1.8  Sat Jun 16 12:10:40 2018
+++ pkgsrc/www/py-urllib3/Makefile      Thu Sep  6 13:43:18 2018
@@ -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}-Socks>=1.6.0:..
 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