pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc *: use py-test-cov from versioned_dependencies
details: https://anonhg.NetBSD.org/pkgsrc/rev/3fa35d01f7f8
branches: trunk
changeset: 383875:3fa35d01f7f8
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Aug 24 08:41:08 2022 +0000
description:
*: use py-test-cov from versioned_dependencies
diffstat:
devel/py-backports.functools_lru_cache/Makefile | 4 ++--
devel/py-dash/Makefile | 5 ++---
devel/py-dictpath/Makefile | 7 ++++---
devel/py-logbook/Makefile | 5 ++---
devel/py-wheel/Makefile | 6 ++++--
print/py-weasyprint0/Makefile | 4 ++--
sysutils/py-watchdog/Makefile | 7 ++++---
textproc/py-jsonpickle/Makefile | 6 ++----
textproc/py-textile/Makefile | 6 ++++--
textproc/py27-cssselect2/Makefile | 4 ++--
textproc/py27-tinycss2/Makefile | 4 ++--
www/py-WebOb/Makefile | 6 ++++--
www/py-python-multipart/Makefile | 7 ++++---
13 files changed, 38 insertions(+), 33 deletions(-)
diffs (truncated from 309 to 300 lines):
diff -r 46717976af15 -r 3fa35d01f7f8 devel/py-backports.functools_lru_cache/Makefile
--- a/devel/py-backports.functools_lru_cache/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/devel/py-backports.functools_lru_cache/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/01/13 19:31:21 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/08/24 08:41:08 wiz Exp $
DISTNAME= backports.functools_lru_cache-1.6.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,7 +13,7 @@
DEPENDS+= ${PYPKGPREFIX}-backports-[0-9]*:../../devel/py-backports
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm5
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py27-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
PYTHON_VERSIONS_ACCEPTED= 27
diff -r 46717976af15 -r 3fa35d01f7f8 devel/py-dash/Makefile
--- a/devel/py-dash/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/devel/py-dash/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:53:00 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/08/24 08:41:08 wiz Exp $
DISTNAME= pydash-4.7.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
@@ -12,9 +12,8 @@
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= test:test test-cov:test
USE_LANGUAGES= # none
diff -r 46717976af15 -r 3fa35d01f7f8 devel/py-dictpath/Makefile
--- a/devel/py-dictpath/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/devel/py-dictpath/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:00 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/08/24 08:41:08 wiz Exp $
DISTNAME= dictpath-0.1.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,14 +11,15 @@
COMMENT= Object-oriented dictionary paths
LICENSE= apache-2.0
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+PYTHON_VERSIONED_DEPENDENCIES+= test:test test-cov:test
+
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 46717976af15 -r 3fa35d01f7f8 devel/py-logbook/Makefile
--- a/devel/py-logbook/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/devel/py-logbook/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:53:15 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/08/24 08:41:08 wiz Exp $
DISTNAME= Logbook-1.5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -12,9 +12,8 @@
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-brotlipy-[0-9]*:../../archivers/py-brotlipy
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= test:test test-cov:test
pre-build:
cd ${WRKSRC} && cython-${PYVERSSUFFIX} logbook/_speedups.pyx
diff -r 46717976af15 -r 3fa35d01f7f8 devel/py-wheel/Makefile
--- a/devel/py-wheel/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/devel/py-wheel/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2022/05/09 14:37:31 gdt Exp $
+# $NetBSD: Makefile,v 1.28 2022/08/24 08:41:08 wiz Exp $
DISTNAME= wheel-0.37.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,11 +11,12 @@
COMMENT= Built-package format for Python
LICENSE= mit
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
+PYTHON_VERSIONED_DEPENDENCIES+= test-cov:test
+
PYSETUPTESTTARGET= pytest
USE_PKG_RESOURCES= yes
@@ -24,5 +25,6 @@
cd ${DESTDIR}${PREFIX}/bin && \
${MV} wheel wheel-${PYVERSSUFFIX} || ${TRUE}
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 46717976af15 -r 3fa35d01f7f8 print/py-weasyprint0/Makefile
--- a/print/py-weasyprint0/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/print/py-weasyprint0/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/01/05 20:47:36 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/08/24 08:41:08 wiz Exp $
DISTNAME= WeasyPrint-0.42.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -20,7 +20,7 @@
DEPENDS+= ${PYPKGPREFIX}-pdfrw>=0.4:../../textproc/py-pdfrw
DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py27-pyphen
DEPENDS+= ${PYPKGPREFIX}-tinycss2>=0.5:../../textproc/py27-tinycss2
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py27-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
diff -r 46717976af15 -r 3fa35d01f7f8 sysutils/py-watchdog/Makefile
--- a/sysutils/py-watchdog/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/sysutils/py-watchdog/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/01/05 15:41:23 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/08/24 08:41:09 wiz Exp $
DISTNAME= watchdog-0.10.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,18 +14,19 @@
DEPENDS+= ${PYPKGPREFIX}-argh>=0.24.1:../../devel/py-argh
DEPENDS+= ${PYPKGPREFIX}-pathtools>=0.1.1:../../sysutils/py-pathtools
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout
PYSETUPTESTTARGET= pytest
+PYTHON_VERSIONED_DEPENDENCIES+= test:test test-cov:test
+
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE}
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 46717976af15 -r 3fa35d01f7f8 textproc/py-jsonpickle/Makefile
--- a/textproc/py-jsonpickle/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/textproc/py-jsonpickle/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/01/25 09:05:11 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/08/24 08:41:09 wiz Exp $
DISTNAME= jsonpickle-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,8 +11,6 @@
COMMENT= Python library for serializing any arbitrary object graph into JSON
LICENSE= modified-bsd
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
@@ -21,7 +19,7 @@
USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build
+PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build test:test test-cov:test
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
diff -r 46717976af15 -r 3fa35d01f7f8 textproc/py-textile/Makefile
--- a/textproc/py-textile/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/textproc/py-textile/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2022/01/05 15:41:27 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2022/08/24 08:41:09 wiz Exp $
DISTNAME= textile-3.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,15 +14,17 @@
DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999999999:../../textproc/py-html5lib
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
USE_LANGUAGES= # none
+PYTHON_VERSIONED_DEPENDENCIES+= test-cov:test
+
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pytextile pytextile-${PYVERSSUFFIX} || ${TRUE}
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 46717976af15 -r 3fa35d01f7f8 textproc/py27-cssselect2/Makefile
--- a/textproc/py27-cssselect2/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/textproc/py27-cssselect2/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/06/30 11:18:54 nia Exp $
+# $NetBSD: Makefile,v 1.5 2022/08/24 08:41:09 wiz Exp $
DISTNAME= cssselect2-0.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,7 +14,7 @@
PYTHON_VERSIONS_ACCEPTED= 27
DEPENDS+= ${PYPKGPREFIX}-tinycss2-[0-9]*:../../textproc/py27-tinycss2
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py27-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
diff -r 46717976af15 -r 3fa35d01f7f8 textproc/py27-tinycss2/Makefile
--- a/textproc/py27-tinycss2/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/textproc/py27-tinycss2/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/06/30 11:18:55 nia Exp $
+# $NetBSD: Makefile,v 1.4 2022/08/24 08:41:09 wiz Exp $
DISTNAME= tinycss2-0.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,7 +16,7 @@
USE_LANGUAGES= # empty
DEPENDS+= ${PYPKGPREFIX}-webencodings>=0.4:../../textproc/py-webencodings
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py27-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
diff -r 46717976af15 -r 3fa35d01f7f8 www/py-WebOb/Makefile
--- a/www/py-WebOb/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/www/py-WebOb/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/01/04 20:55:15 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/08/24 08:41:09 wiz Exp $
DISTNAME= WebOb-1.8.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,13 +12,15 @@
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
USE_LANGUAGES= # none
+PYTHON_VERSIONED_DEPENDENCIES+= test-cov:test
+
PYSETUPTESTTARGET= pytest
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 46717976af15 -r 3fa35d01f7f8 www/py-python-multipart/Makefile
--- a/www/py-python-multipart/Makefile Wed Aug 24 08:35:39 2022 +0000
+++ b/www/py-python-multipart/Makefile Wed Aug 24 08:41:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:34 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/08/24 08:41:09 wiz Exp $
DISTNAME= python-multipart-0.0.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,15 +12,16 @@
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
USE_LANGUAGES= # none
Home |
Main Index |
Thread Index |
Old Index