python3-hypothesis: update to 6.76.0.
This commit is contained in:
parent
f12e8f2c68
commit
363b307b1f
@ -1,32 +1,35 @@
|
||||
# Template file for 'python3-hypothesis'
|
||||
pkgname=python3-hypothesis
|
||||
version=6.75.0
|
||||
version=6.76.0
|
||||
revision=1
|
||||
build_wrksrc=hypothesis-python
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
build_style=python3-pep517
|
||||
# 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"
|
||||
checkdepends="python3-pytest-xdist black python3-typing_extensions
|
||||
python3-pytz python3-numpy python3-pexpect python3-dateutil $depends"
|
||||
short_desc="Python3 library for property based testing"
|
||||
checkdepends="python3-pytest-xdist black python3-typing_extensions python3-pytz
|
||||
python3-numpy python3-pexpect python3-dateutil python3-pandas $depends"
|
||||
short_desc="Python library for property-based testing"
|
||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||
license="MPL-2.0"
|
||||
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"
|
||||
checksum=b5aae201b1758beb00c6d8eea3d860a461fe9f628c14d01f7a90a978b23e9178
|
||||
checksum=4564bbd860413af105dcdee6d5a9f8a1d08274f940266dfd2b45492d61f8b847
|
||||
|
||||
do_check() {
|
||||
# Manually run the tests that tox considers part of the "full" suite,
|
||||
# less any related to packages not provided by Void.
|
||||
#
|
||||
# The tests in ghostwriter/test_ghostwriter_cli require a "hypothesis"
|
||||
# entrypoint script, which does not exist until install time.
|
||||
#
|
||||
# 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}
|
||||
}
|
||||
if [ "$XBPS_CHECK_PKGS" != full ]; then
|
||||
# Skip "full" tests unless explicitly requested"
|
||||
make_check_target="
|
||||
tests/cover tests/pytest tests/datetime
|
||||
tests/typing_extensions tests/ghostwriter
|
||||
"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user