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: skip testing for Python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c15ec370e359
branches:  trunk
changeset: 373047:c15ec370e359
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Feb 05 09:10:55 2022 +0000

description:
py-urllib3: skip testing for Python 2.7

diffstat:

 www/py-urllib3/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r a0d9e414c7d4 -r c15ec370e359 www/py-urllib3/Makefile
--- a/www/py-urllib3/Makefile   Sat Feb 05 09:09:57 2022 +0000
+++ b/www/py-urllib3/Makefile   Sat Feb 05 09:10:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2022/01/07 16:18:59 adam Exp $
+# $NetBSD: Makefile,v 1.34 2022/02/05 09:10:55 adam Exp $
 
 DISTNAME=      urllib3-1.26.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -19,16 +19,16 @@
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-.endif
-
+.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
 
-USE_LANGUAGES= # none
+PYSETUPTESTTARGET=     pytest
+.endif
 
-PYSETUPTESTTARGET=     pytest
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index