aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/python3-hypothesis/template
blob: dc5534e0aa1bdfec9b6e67b0c5f0b75135702c6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Template file for 'python3-hypothesis'
pkgname=python3-hypothesis
version=6.103.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=1c5c7309b08141f6c98bda9b13468472ff567bf3349ffe28126c708e2ec11c6f

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