pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc *: use coverage from versioned_dependencies.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e7088fb587f
branches: trunk
changeset: 383883:9e7088fb587f
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Aug 24 09:25:55 2022 +0000
description:
*: use coverage from versioned_dependencies.mk
diffstat:
devel/py-anytree/Makefile | 6 ++++--
devel/py-argcomplete/Makefile | 5 ++---
devel/py-attrs/Makefile | 6 +++---
devel/py-coverage-enable-subprocess/Makefile | 5 +++--
devel/py-lazr.delegates/Makefile | 6 ++++--
devel/py-nose/Makefile | 8 ++++----
devel/py-nose2/Makefile | 6 ++++--
devel/py-nosexcover/Makefile | 6 ++++--
devel/py-pkginfo/Makefile | 6 ++++--
devel/py27-test-cov/Makefile | 4 ++--
sysutils/py-kazoo/Makefile | 5 ++---
sysutils/py-sh/Makefile | 5 +++--
textproc/py-biplist/Makefile | 6 ++++--
www/py-Routes/Makefile | 6 ++++--
www/py-WebOb/Makefile | 5 ++---
www/py-WebTest/Makefile | 6 ++++--
www/py-django-debug-toolbar/Makefile | 6 ++++--
www/py-waitress/Makefile | 6 ++++--
18 files changed, 61 insertions(+), 42 deletions(-)
diffs (truncated from 439 to 300 lines):
diff -r b336b7052b44 -r 9e7088fb587f devel/py-anytree/Makefile
--- a/devel/py-anytree/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-anytree/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/01/04 20:52:49 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/08/24 09:25:55 wiz Exp $
DISTNAME= anytree-2.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,12 +12,14 @@
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
USE_LANGUAGES= # none
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test
+
PYSETUPTESTTARGET= nosetests
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f devel/py-argcomplete/Makefile
--- a/devel/py-argcomplete/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-argcomplete/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2022/01/29 08:48:40 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/08/24 09:25:55 wiz Exp $
DISTNAME= argcomplete-1.12.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,14 +11,13 @@
COMMENT= Bash tab completion for argparse
LICENSE= apache-2.0
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
.endif
-PYTHON_VERSIONED_DEPENDENCIES+= flake8:test
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test flake8:test
USE_LANGUAGES= # none
diff -r b336b7052b44 -r 9e7088fb587f devel/py-attrs/Makefile
--- a/devel/py-attrs/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-attrs/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2022/02/23 11:43:41 adam Exp $
+# $NetBSD: Makefile,v 1.20 2022/08/24 09:25:55 wiz Exp $
DISTNAME= attrs-21.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,11 +12,11 @@
TEST_DEPENDS+= ${PYPKGPREFIX}-Pympler-[0-9]*:../../devel/py-Pympler
TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test
PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
+PYTHON_VERSIONED_DEPENDENCIES+= test:test
USE_LANGUAGES= # none
diff -r b336b7052b44 -r 9e7088fb587f devel/py-coverage-enable-subprocess/Makefile
--- a/devel/py-coverage-enable-subprocess/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-coverage-enable-subprocess/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/05/04 12:36:42 adam Exp $
+# $NetBSD: Makefile,v 1.2 2022/08/24 09:25:55 wiz Exp $
DISTNAME= coverage_enable_subprocess-1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
@@ -10,9 +10,10 @@
COMMENT= Enable Python coverage for subprocesses
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+PYTHON_VERSIONED_DEPENDENCIES+= coverage
USE_LANGUAGES= # none
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f devel/py-lazr.delegates/Makefile
--- a/devel/py-lazr.delegates/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-lazr.delegates/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:53:14 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/08/24 09:25:55 wiz Exp $
DISTNAME= lazr.delegates-2.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,11 +13,13 @@
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
USE_LANGUAGES= # none
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test
+
PYSETUPTESTTARGET= nosetests
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f devel/py-nose/Makefile
--- a/devel/py-nose/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-nose/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2022/01/05 15:41:06 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2022/08/24 09:25:56 wiz Exp $
DISTNAME= nose-1.3.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,12 +11,11 @@
COMMENT= Unittest-based testing framework for python
LICENSE= gnu-lgpl-v2.1
-# only needed for a plugin
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=3.0:../../devel/py-coverage
-
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
+# only needed for a plugin
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
@@ -35,4 +34,5 @@
cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs nose
.endif
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f devel/py-nose2/Makefile
--- a/devel/py-nose2/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-nose2/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:06 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/08/24 09:25:56 wiz Exp $
DISTNAME= nose2-0.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,13 +11,14 @@
COMMENT= Next generation of nicer testing for Python
LICENSE= 2-clause-bsd
-DEPENDS+= ${PYPKGPREFIX}-coverage>=4.4.1:../../devel/py-coverage
DEPENDS+= ${PYPKGPREFIX}-six>=1.7:../../lang/py-six
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
.endif
+PYTHON_VERSIONED_DEPENDENCIES+= coverage
+
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
@@ -25,5 +26,6 @@
post-install:
${RM} -f ${DESTDIR}${PREFIX}/bin/nose2
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f devel/py-nosexcover/Makefile
--- a/devel/py-nosexcover/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-nosexcover/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/01/04 20:53:18 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/08/24 09:25:56 wiz Exp $
DISTNAME= nosexcover-1.0.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,9 @@
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-DEPENDS+= ${PYPKGPREFIX}-coverage>=3.4:../../devel/py-coverage
+PYTHON_VERSIONED_DEPENDENCIES+= coverage
+
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f devel/py-pkginfo/Makefile
--- a/devel/py-pkginfo/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py-pkginfo/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2022/07/20 08:35:02 adam Exp $
+# $NetBSD: Makefile,v 1.18 2022/08/24 09:25:56 wiz Exp $
DISTNAME= pkginfo-1.8.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,12 +10,14 @@
COMMENT= Query metadata from sdists / bdists / installed packages
LICENSE= mit
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
USE_LANGUAGES= # none
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test
+
USE_PKG_RESOURCES= yes
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f devel/py27-test-cov/Makefile
--- a/devel/py27-test-cov/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/devel/py27-test-cov/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/08/24 08:34:46 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2022/08/24 09:25:56 wiz Exp $
DISTNAME= pytest-cov-2.12.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -11,7 +11,7 @@
COMMENT= Pytest plugin for measuring coverage
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-coverage>=5.2.1:../../devel/py-coverage
+DEPENDS+= ${PYPKGPREFIX}-coverage>=5.2.1:../../devel/py27-coverage
DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test4
DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
diff -r b336b7052b44 -r 9e7088fb587f sysutils/py-kazoo/Makefile
--- a/sysutils/py-kazoo/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/sysutils/py-kazoo/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/01/29 08:48:41 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/08/24 09:25:56 wiz Exp $
DISTNAME= kazoo-2.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,13 +12,12 @@
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES+= flake8:test
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test flake8:test
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
diff -r b336b7052b44 -r 9e7088fb587f sysutils/py-sh/Makefile
--- a/sysutils/py-sh/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/sysutils/py-sh/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/08/01 18:23:41 adam Exp $
+# $NetBSD: Makefile,v 1.8 2022/08/24 09:25:56 wiz Exp $
DISTNAME= sh-1.14.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,9 +11,10 @@
LICENSE= mit
# some test failures, see https://github.com/amoffat/sh/issues/347
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+PYTHON_VERSIONED_DEPENDENCIES+= coverage:test
USE_LANGUAGES= # none
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b336b7052b44 -r 9e7088fb587f textproc/py-biplist/Makefile
--- a/textproc/py-biplist/Makefile Wed Aug 24 09:23:43 2022 +0000
+++ b/textproc/py-biplist/Makefile Wed Aug 24 09:25:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:54:52 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/08/24 09:25:56 wiz Exp $
DISTNAME= biplist-1.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,10 +11,12 @@
COMMENT= Library for reading/writing binary plists
LICENSE= modified-bsd
Home |
Main Index |
Thread Index |
Old Index