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: restrict to python 3
details: https://anonhg.NetBSD.org/pkgsrc/rev/40fe635f3e80
branches: trunk
changeset: 385189:40fe635f3e80
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Sep 11 17:14:22 2022 +0000
description:
py-urllib3: restrict to python 3
diffstat:
www/py-urllib3/Makefile | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diffs (37 lines):
diff -r 614ee95fc076 -r 40fe635f3e80 www/py-urllib3/Makefile
--- a/www/py-urllib3/Makefile Sun Sep 11 17:12:49 2022 +0000
+++ b/www/py-urllib3/Makefile Sun Sep 11 17:14:22 2022 +0000
@@ -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 @@
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
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
PYSETUPTESTTARGET= pytest
-.endif
-
-PYTHON_VERSIONED_DEPENDENCIES+= cryptography
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