summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-04-26 09:59:51 +0000
committerrillig <rillig@pkgsrc.org>2020-04-26 09:59:51 +0000
commitd3b344b67dc0659fa6ab787a3859cfcf6b5f56a8 (patch)
treeb7e6ab0e71a8edeefbe75c5a2ed4a77ef75c75b7 /devel
parentda8db3c11063ef722341f2dfb6f4e6351ed86a71 (diff)
downloadpkgsrc-d3b344b67dc0659fa6ab787a3859cfcf6b5f56a8.tar.gz
devel/py-requests: disable tests for py27
Diffstat (limited to 'devel')
-rw-r--r--devel/py-requests/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/py-requests/Makefile b/devel/py-requests/Makefile
index dda30b5b167..1d2320742ab 100644
--- a/devel/py-requests/Makefile
+++ b/devel/py-requests/Makefile
@@ -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 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
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"