pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-requests



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Apr 26 09:59:51 UTC 2020

Modified Files:
        pkgsrc/devel/py-requests: Makefile

Log Message:
devel/py-requests: disable tests for py27


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/py-requests/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-requests/Makefile
diff -u pkgsrc/devel/py-requests/Makefile:1.44 pkgsrc/devel/py-requests/Makefile:1.45
--- pkgsrc/devel/py-requests/Makefile:1.44      Fri Feb 21 06:42:59 2020
+++ pkgsrc/devel/py-requests/Makefile   Sun Apr 26 09:59:51 2020
@@ -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
 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