pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-requests devel/py-requests: disable tests for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/814649cbc911
branches:  trunk
changeset: 428242:814649cbc911
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Apr 26 09:59:51 2020 +0000

description:
devel/py-requests: disable tests for py27

diffstat:

 devel/py-requests/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r dd5b9ca6b08d -r 814649cbc911 devel/py-requests/Makefile
--- a/devel/py-requests/Makefile        Sun Apr 26 09:57:24 2020 +0000
+++ b/devel/py-requests/Makefile        Sun Apr 26 09:59:51 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2020/02/21 06:42:59 adam Exp $
+# $NetBSD: Makefile,v 1.45 2020/04/26 09:59:51 rillig Exp $
 
 DISTNAME=      requests-2.23.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -26,6 +26,12 @@
 USE_LANGUAGES=         # none
 REPLACE_PYTHON+=       requests/certs.py
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == py27
+TEST_DEPENDS=  # none; py-test-httpbin is incompatible with py27
+do-test:
+.endif
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index