pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www www/py-*: fix test dependencies for Python 2.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/c2d40278f68d
branches: trunk
changeset: 413794:c2d40278f68d
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Mar 22 12:28:28 2020 +0000
description:
www/py-*: fix test dependencies for Python 2.7
diffstat:
www/py-FormEncode/Makefile | 8 +++++++-
www/py-MechanicalSoup/Makefile | 8 +++++++-
www/py-raven/Makefile | 6 ++++--
3 files changed, 18 insertions(+), 4 deletions(-)
diffs (63 lines):
diff -r d2e622f18e65 -r c2d40278f68d www/py-FormEncode/Makefile
--- a/www/py-FormEncode/Makefile Sun Mar 22 12:25:29 2020 +0000
+++ b/www/py-FormEncode/Makefile Sun Mar 22 12:28:28 2020 +0000
@@ -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 @@
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"
diff -r d2e622f18e65 -r c2d40278f68d www/py-MechanicalSoup/Makefile
--- a/www/py-MechanicalSoup/Makefile Sun Mar 22 12:25:29 2020 +0000
+++ b/www/py-MechanicalSoup/Makefile Sun Mar 22 12:28:28 2020 +0000
@@ -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 @@
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"
diff -r d2e622f18e65 -r c2d40278f68d www/py-raven/Makefile
--- a/www/py-raven/Makefile Sun Mar 22 12:25:29 2020 +0000
+++ b/www/py-raven/Makefile Sun Mar 22 12:28:28 2020 +0000
@@ -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}-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