36 lines
1.4 KiB
Bash
36 lines
1.4 KiB
Bash
# Template file for 'python3-hypothesis'
|
|
pkgname=python3-hypothesis
|
|
version=6.98.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=947ae48472760209a30aa7069dd7fa0fbeeeede4a0639c1c15b3d256eeda3215
|
|
|
|
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
|