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:   wiz
Date:           Sun Sep 11 17:14:22 UTC 2022

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

Log Message:
py-urllib3: restrict to python 3


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 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.39 pkgsrc/www/py-urllib3/Makefile:1.40
--- pkgsrc/www/py-urllib3/Makefile:1.39 Mon Aug 22 18:01:33 2022
+++ pkgsrc/www/py-urllib3/Makefile      Sun Sep 11 17:14:22 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2022/08/22 18:01:33 adam Exp $
+# $NetBSD: Makefile,v 1.40 2022/09/11 17:14:22 wiz Exp $
 
 DISTNAME=      urllib3-1.26.12
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,24 +13,18 @@ LICENSE=    mit
 DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=0.14:../../security/py-OpenSSL
 DEPENDS+=      ${PYPKGPREFIX}-Socks>=1.6.0:../../net/py-Socks
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=0:../../security/py-cryptography
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.0.0:../../www/py-idna
-
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-.else
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
 TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
 
-PYSETUPTESTTARGET=     pytest
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
+PYSETUPTESTTARGET=     pytest
 
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index