pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc *: use py-hypothesis via versioned_dependencies.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc248261dc36
branches: trunk
changeset: 440333:bc248261dc36
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Oct 06 10:51:21 2020 +0000
description:
*: use py-hypothesis via versioned_dependencies.mk
diffstat:
archivers/py-zstandard/Makefile | 6 ++++--
audio/py-mutagen/Makefile | 6 ++----
converters/py-chardet/Makefile | 6 ++++--
devel/py-attrs/Makefile | 4 ++--
devel/py-fuzzywuzzy/Makefile | 4 ++--
devel/py-pyrsistent/Makefile | 6 ++++--
devel/py-test4/Makefile | 4 ++--
net/py-subunit/Makefile | 6 ++++--
security/py-argon2-cffi/Makefile | 4 ++--
security/py-cryptography/Makefile | 4 ++--
security/py-nacl/Makefile | 4 ++--
sysutils/py-eliot17/Makefile | 4 ++--
time/py-dateutil/Makefile | 4 ++--
13 files changed, 34 insertions(+), 28 deletions(-)
diffs (286 lines):
diff -r a8a2e78ad0e0 -r bc248261dc36 archivers/py-zstandard/Makefile
--- a/archivers/py-zstandard/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/archivers/py-zstandard/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/06/14 13:53:06 adam Exp $
+# $NetBSD: Makefile,v 1.16 2020/10/06 10:51:21 wiz Exp $
DISTNAME= zstandard-0.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,11 +11,13 @@
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11:../../devel/py-cffi
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+
+PYTHON_VERSIONED_DEPENDENCIES= hypothesis:test
PYSETUPBUILDARGS+= --system-zstd
BUILDLINK_API_DEPENDS.zstd+= zstd>=1.4.5
.include "../../archivers/zstd/buildlink3.mk"
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a8a2e78ad0e0 -r bc248261dc36 audio/py-mutagen/Makefile
--- a/audio/py-mutagen/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/audio/py-mutagen/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2020/08/05 16:33:52 adam Exp $
+# $NetBSD: Makefile,v 1.25 2020/10/06 10:51:21 wiz Exp $
DISTNAME= mutagen-1.43.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,9 +10,7 @@
COMMENT= Audio metadata handling for Python
LICENSE= gnu-gpl-v2
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES= test:test hypothesis:test
USE_LANGUAGES= # none
diff -r a8a2e78ad0e0 -r bc248261dc36 converters/py-chardet/Makefile
--- a/converters/py-chardet/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/converters/py-chardet/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2020/05/16 08:43:55 adam Exp $
+# $NetBSD: Makefile,v 1.26 2020/10/06 10:51:21 wiz Exp $
DISTNAME= chardet-3.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,12 +11,14 @@
LICENSE= gnu-lgpl-v2.1
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py
+PYTHON_VERSIONED_DEPENDENCIES= hypothesis:test
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} chardetect chardetect-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a8a2e78ad0e0 -r bc248261dc36 devel/py-attrs/Makefile
--- a/devel/py-attrs/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/devel/py-attrs/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2020/05/16 09:03:22 adam Exp $
+# $NetBSD: Makefile,v 1.17 2020/10/06 10:51:21 wiz Exp $
DISTNAME= attrs-19.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,10 +13,10 @@
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}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
USE_LANGUAGES= # none
diff -r a8a2e78ad0e0 -r bc248261dc36 devel/py-fuzzywuzzy/Makefile
--- a/devel/py-fuzzywuzzy/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/devel/py-fuzzywuzzy/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/05/16 17:13:40 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/10/06 10:51:21 wiz Exp $
DISTNAME= fuzzywuzzy-0.18.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,9 +12,9 @@
DEPENDS+= ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein
TEST_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
USE_LANGUAGES= # none
diff -r a8a2e78ad0e0 -r bc248261dc36 devel/py-pyrsistent/Makefile
--- a/devel/py-pyrsistent/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/devel/py-pyrsistent/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/05/16 16:35:24 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/10/06 10:51:21 wiz Exp $
DISTNAME= pyrsistent-0.16.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,9 @@
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a8a2e78ad0e0 -r bc248261dc36 devel/py-test4/Makefile
--- a/devel/py-test4/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/devel/py-test4/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/05/16 07:51:58 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/10/06 10:51:21 wiz Exp $
DISTNAME= pytest-4.6.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -20,7 +20,6 @@
DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.56:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
@@ -35,6 +34,7 @@
.endif
PYTHON_VERSIONED_DEPENDENCIES+= more-itertools
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
USE_LANGUAGES= # none
USE_TOOLS+= bash:build
diff -r a8a2e78ad0e0 -r bc248261dc36 net/py-subunit/Makefile
--- a/net/py-subunit/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/net/py-subunit/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/04/12 11:47:40 adam Exp $
+# $NetBSD: Makefile,v 1.3 2020/10/06 10:51:21 wiz Exp $
DISTNAME= python-subunit-1.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
@@ -13,9 +13,10 @@
DEPENDS+= ${PYPKGPREFIX}-extras-[0-9]*:../../devel/py-extras
DEPENDS+= ${PYPKGPREFIX}-testtools>=0.9.34:../../devel/py-testtools
TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
+PYTHON_VERSIONED_DEPENDENCIES= hypothesis:test
+
USE_LANGUAGES= # none
post-install:
@@ -30,4 +31,5 @@
cd ${WRKSRC}/python && ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a8a2e78ad0e0 -r bc248261dc36 security/py-argon2-cffi/Makefile
--- a/security/py-argon2-cffi/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/security/py-argon2-cffi/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/05/17 19:34:12 adam Exp $
+# $NetBSD: Makefile,v 1.4 2020/10/06 10:51:22 wiz Exp $
DISTNAME= argon2-cffi-20.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,9 +12,9 @@
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
diff -r a8a2e78ad0e0 -r bc248261dc36 security/py-cryptography/Makefile
--- a/security/py-cryptography/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/security/py-cryptography/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2020/05/17 19:34:12 adam Exp $
+# $NetBSD: Makefile,v 1.80 2020/10/06 10:51:22 wiz Exp $
DISTNAME= cryptography-2.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,12 +16,12 @@
DEPENDS+= ${PYPKGPREFIX}-idna>=2.1:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=1.11.4:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
diff -r a8a2e78ad0e0 -r bc248261dc36 security/py-nacl/Makefile
--- a/security/py-nacl/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/security/py-nacl/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/05/29 06:07:23 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/10/06 10:51:22 wiz Exp $
DISTNAME= PyNaCl-1.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl:S/^py//}
@@ -13,9 +13,9 @@
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.4.1:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.27.0:../../devel/py-hypothesis
PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
MAKE_ENV+= SODIUM_INSTALL=system
diff -r a8a2e78ad0e0 -r bc248261dc36 sysutils/py-eliot17/Makefile
--- a/sysutils/py-eliot17/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/sysutils/py-eliot17/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/01 08:52:38 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/10/06 10:51:22 wiz Exp $
DISTNAME= eliot-1.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,10 +14,10 @@
DEPENDS+= ${PYPKGPREFIX}-boltons>=19.0.1:../../devel/py-boltons
DEPENDS+= ${PYPKGPREFIX}-pyrsistent>=0.11.8:../../devel/py-pyrsistent
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=1.14.0:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
USE_LANGUAGES= # none
diff -r a8a2e78ad0e0 -r bc248261dc36 time/py-dateutil/Makefile
--- a/time/py-dateutil/Makefile Tue Oct 06 10:51:04 2020 +0000
+++ b/time/py-dateutil/Makefile Tue Oct 06 10:51:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2020/05/18 10:40:11 adam Exp $
+# $NetBSD: Makefile,v 1.29 2020/10/06 10:51:22 wiz Exp $
DISTNAME= python-dateutil-2.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
@@ -13,9 +13,9 @@
DEPENDS+= ${PYPKGPREFIX}-six>=1.5:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
-TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
PYTHON_VERSIONED_DEPENDENCIES= test:test
+PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
Home |
Main Index |
Thread Index |
Old Index