pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www
Module Name: pkgsrc
Committed By: rillig
Date: Sun Mar 22 12:28:28 UTC 2020
Modified Files:
pkgsrc/www/py-FormEncode: Makefile
pkgsrc/www/py-MechanicalSoup: Makefile
pkgsrc/www/py-raven: Makefile
Log Message:
www/py-*: fix test dependencies for Python 2.7
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-FormEncode/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-MechanicalSoup/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-raven/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-FormEncode/Makefile
diff -u pkgsrc/www/py-FormEncode/Makefile:1.4 pkgsrc/www/py-FormEncode/Makefile:1.5
--- pkgsrc/www/py-FormEncode/Makefile:1.4 Thu Nov 28 06:30:51 2019
+++ pkgsrc/www/py-FormEncode/Makefile Sun Mar 22 12:28:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/11/28 06:30:51 adam Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/22 12:28:28 rillig Exp $
DISTNAME= FormEncode-1.3.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,5 +16,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]
USE_LANGUAGES= # none
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == py27
+TEST_DEPENDS= # none; py-country is incompatible with py27
+do-test:
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-MechanicalSoup/Makefile
diff -u pkgsrc/www/py-MechanicalSoup/Makefile:1.6 pkgsrc/www/py-MechanicalSoup/Makefile:1.7
--- pkgsrc/www/py-MechanicalSoup/Makefile:1.6 Sat Feb 29 19:43:52 2020
+++ pkgsrc/www/py-MechanicalSoup/Makefile Sun Mar 22 12:28:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/02/29 19:43:52 adam Exp $
+# $NetBSD: Makefile,v 1.7 2020/03/22 12:28:28 rillig Exp $
DISTNAME= MechanicalSoup-0.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -24,5 +24,11 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-
USE_LANGUAGES= # none
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == py27
+TEST_DEPENDS= # none; py-test-httpbin is incompatible with py27
+do-test:
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-raven/Makefile
diff -u pkgsrc/www/py-raven/Makefile:1.8 pkgsrc/www/py-raven/Makefile:1.9
--- pkgsrc/www/py-raven/Makefile:1.8 Mon Feb 18 11:44:22 2019
+++ pkgsrc/www/py-raven/Makefile Sun Mar 22 12:28:28 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2019/02/18 11:44:22 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/03/22 12:28:28 rillig Exp $
DISTNAME= raven-6.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -43,8 +43,10 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9
TEST_DEPENDS+= ${PYPKGPREFIX}-zconfig-[0-9]*:../../devel/py-zconfig
.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
+.if ${PYPKGPREFIX} == py27
DEPENDS+= ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2
+TEST_DEPENDS= # none; py-aiohttp and py-sanic are incompatible with py27
+do-test:
.endif
USE_LANGUAGES= # none
Home |
Main Index |
Thread Index |
Old Index