Files
horizon-packages/srcpkgs/python3-hypothesis/template
T

38 lines
1.5 KiB
Bash

# Template file for 'python3-hypothesis'
pkgname=python3-hypothesis
version=6.156.0
revision=1
build_wrksrc=hypothesis
build_style=python3-pep517
build_helper="rust"
# 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)or(test_typevar_type_is_consistent))
"
hostmakedepends="maturin cargo pkg-config"
makedepends="python3-devel rust-std"
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="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://hypothesis.works/"
changelog="https://raw.githubusercontent.com/HypothesisWorks/hypothesis/refs/heads/master/hypothesis/docs/changelog.rst"
distfiles="https://github.com/HypothesisWorks/hypothesis/archive/v${version}.tar.gz"
checksum=631852c37ed2928a1e5bd5b319ced6f225d7a99c12243a61a4e7ea08c4d74d5a
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