pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

*: switch hypotheses to versioned_dependencies.mk



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue Oct 6 12:55:35 2020 +0200
Changeset:	6418430158a50628af6a93d71848e0112ded08cf

Modified Files:
	py-bidict/Makefile
	py-einsteinpy-geodesics/Makefile
	py-rlp/Makefile

Log Message:
*: switch hypotheses to versioned_dependencies.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6418430158a50628af6a93d71848e0112ded08cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-bidict/Makefile               | 4 +++-
 py-einsteinpy-geodesics/Makefile | 3 ++-
 py-rlp/Makefile                  | 4 +++-
 3 files changed, 8 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-bidict/Makefile b/py-bidict/Makefile
index 5252d56431..c99ef1b63b 100644
--- a/py-bidict/Makefile
+++ b/py-bidict/Makefile
@@ -11,7 +11,6 @@ COMMENT=	The bidirectional mapping library for Python
 LICENSE=	mpl-2.0
 
 BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=4.1.2:../../devel/py-setuptools_scm
-BUILD_DEPENDS+=	${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis
 BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=5.3.5:../../devel/py-test
 BUILD_DEPENDS+= ${PYPKGPREFIX}-test-benchmark>=3.2.3:../../devel/py-test-benchmark
 BUILD_DEPENDS+= ${PYPKGPREFIX}-sortedcollections>=1.2.1:../../wip/py-sortedcollections
@@ -23,10 +22,13 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.10.1:../../devel/py-test-cov
 #BUILD_DEPENDS+= ${PYPKGPREFIX}-pre-commit>=2.7.1:../../wip/py-pre-commit
 BUILD_DEPENDS+= ${PYPKGPREFIX}-tox>=3.12.1:../../devel/py-tox
 
+PYTHON_VERSIONED_DEPENDENCIES=	hypothesis:test
+
 USE_LANGUAGES=	# none
 
 do-test:
 	${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} run_tests.py
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-einsteinpy-geodesics/Makefile b/py-einsteinpy-geodesics/Makefile
index f9718e2d00..fce58a5c60 100644
--- a/py-einsteinpy-geodesics/Makefile
+++ b/py-einsteinpy-geodesics/Makefile
@@ -13,7 +13,6 @@ LICENSE=	mit
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 BUILD_DEPENDS+=	${PYPKGPREFIX}-coverage>=5.2.1:../../devel/py-coverage
-BUILD_DEPENDS+=	${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis
 BUILD_DEPENDS+=	${PYPKGPREFIX}-isort>=4.3.21:../../devel/py-isort
 BUILD_DEPENDS+=	${PYPKGPREFIX}-mypy>=0.782:../../devel/py-codestyle
 BUILD_DEPENDS+=	${PYPKGPREFIX}-codestyle>=2.6.0:../../lang/py-mypy
@@ -28,6 +27,8 @@ BUILD_DEPENDS+=	${PYPKGPREFIX}-tox>=3.12.1:../../devel/py-tox
 BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx>=1.8.5:../../textproc/py-sphinx
 BUILD_DEPENDS+=	${PYPKGPREFIX}-black-[0-9]*:../../wip/py-black
 
+PYTHON_VERSIONED_DEPENDENCIES=	hypothesis:test
+
 USE_LANGUAGES=	# none
 
 BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-numpy+=	${PYPKGPREFIX}-numpy>=0
diff --git a/py-rlp/Makefile b/py-rlp/Makefile
index 1323ec4e65..996eb7fc9f 100644
--- a/py-rlp/Makefile
+++ b/py-rlp/Makefile
@@ -22,14 +22,16 @@ BUILD_DEPENDS+=	${PYPKGPREFIX}-ipython-[0-9]*:../../devel/py-ipython
 BUILD_DEPENDS+=	${PYPKGPREFIX}-twine-[0-9]*:../../net/py-twine
 BUILD_DEPENDS+=	# TODO: pytest==3.3.2>=0
 BUILD_DEPENDS+=	${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
-BUILD_DEPENDS+=	${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 BUILD_DEPENDS+=	${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
 BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-rtd-theme-[0-9]*:../../textproc/py-sphinx-rtd-theme
 DEPENDS+=	${PYPKGPREFIX}-eth-utils-[0-9]*:../../wip/py-eth-utils
 
+PYTHON_VERSIONED_DEPENDENCIES=	hypothesis:test
+
 USE_LANGUAGES=	# none
 
 # TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index