*: switch hypotheses to versioned_dependencies.mk
This commit is contained in:
parent
4edf1f725c
commit
6418430158
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue