void-packages/srcpkgs/python3-hypothesis/template

36 lines
1.4 KiB
Bash

# Template file for 'python3-hypothesis'
pkgname=python3-hypothesis
version=6.92.0
revision=1
build_wrksrc=hypothesis-python
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 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://raw.githubusercontent.com/HypothesisWorks/hypothesis/master/hypothesis-python/docs/changes.rst"
distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz"
checksum=4af1a3668180d9a6865c716f78d4b533c608f9b533cd3172a052b280180937b9
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