python3-hypothesis: update to 6.76.0.

This commit is contained in:
Gonzalo Tornaría 2023-06-05 01:58:55 -03:00 committed by Andrew J. Hesford
parent f12e8f2c68
commit 363b307b1f

View file

@ -1,32 +1,35 @@
# Template file for 'python3-hypothesis' # Template file for 'python3-hypothesis'
pkgname=python3-hypothesis pkgname=python3-hypothesis
version=6.75.0 version=6.76.0
revision=1 revision=1
build_wrksrc=hypothesis-python build_wrksrc=hypothesis-python
build_style=python3-module build_style=python3-pep517
hostmakedepends="python3-setuptools" # disable tests requiring unpackaged dependencies or installed entrypoints
make_check_args="
--ignore=tests/codemods/test_codemods.py
--ignore=tests/codemods/test_codemod_cli.py
--ignore=tests/dpcontracts/test_contracts.py
--ignore=tests/lark/test_grammar.py
--ignore=tests/patching/test_patching.py
--ignore=tests/redis/test_redis_exampledatabase.py
-k not(test_registered_from_entrypoint)
"
hostmakedepends="python3-setuptools python3-wheel"
depends="python3-attrs python3-sortedcontainers" depends="python3-attrs python3-sortedcontainers"
checkdepends="python3-pytest-xdist black python3-typing_extensions checkdepends="python3-pytest-xdist black python3-typing_extensions python3-pytz
python3-pytz python3-numpy python3-pexpect python3-dateutil $depends" python3-numpy python3-pexpect python3-dateutil python3-pandas $depends"
short_desc="Python3 library for property based testing" short_desc="Python library for property-based testing"
maintainer="Andrew J. Hesford <ajh@sideband.org>" maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MPL-2.0" license="MPL-2.0"
homepage="https://hypothesis.works/" homepage="https://hypothesis.works/"
changelog="https://hypothesis.readthedocs.io/en/latest/changes.html" changelog="https://raw.githubusercontent.com/HypothesisWorks/hypothesis/master/hypothesis-python/docs/changes.rst"
distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz" distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz"
checksum=b5aae201b1758beb00c6d8eea3d860a461fe9f628c14d01f7a90a978b23e9178 checksum=4564bbd860413af105dcdee6d5a9f8a1d08274f940266dfd2b45492d61f8b847
do_check() { if [ "$XBPS_CHECK_PKGS" != full ]; then
# Manually run the tests that tox considers part of the "full" suite, # Skip "full" tests unless explicitly requested"
# less any related to packages not provided by Void. make_check_target="
# tests/cover tests/pytest tests/datetime
# The tests in ghostwriter/test_ghostwriter_cli require a "hypothesis" tests/typing_extensions tests/ghostwriter
# entrypoint script, which does not exist until install time. "
# fi
# The test_subTest_no_self function tries to run a separate
# interpreter, which will not see the local PYTHONPATH here.
PYTHONPATH=src python3 -m pytest -n $XBPS_MAKEJOBS \
-k 'not test_settings_alone and not test_subTest_no_self' \
--ignore=tests/ghostwriter/test_ghostwriter_cli.py \
tests/{cover,datetime,typing_extensions,ghostwriter}
}