python3-hypothesis: update to 5.41.5.
This commit is contained in:
parent
12aff2879d
commit
1439accb3a
1 changed files with 16 additions and 4 deletions
|
@ -1,21 +1,33 @@
|
|||
# Template file for 'python3-hypothesis'
|
||||
pkgname=python3-hypothesis
|
||||
version=5.41.4
|
||||
version=5.41.5
|
||||
revision=1
|
||||
wrksrc="hypothesis-hypothesis-python-${version}"
|
||||
build_wrksrc=hypothesis-python
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-attrs python3-sortedcontainers"
|
||||
checkdepends="tox"
|
||||
checkdepends="python3-pytest black python3-typing_extensions python3-pytz
|
||||
python3-numpy python3-pexpect python3-dateutil $depends"
|
||||
short_desc="Python3 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"
|
||||
distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz"
|
||||
checksum=865027f77db5be518a8398e88bf937eb602d6f1a49643faa6c8dbb8804570bbb
|
||||
checksum=9e0623aa1d5f86da51d844a68acb18a8513e5060b05fea71ad96da3eb1e2a265
|
||||
|
||||
do_check() {
|
||||
tox -e "py${py3_ver/./}-full"
|
||||
# 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 \
|
||||
-k 'not test_settings_alone and not test_subTest_no_self' \
|
||||
--ignore=tests/ghostwriter/test_ghostwriter_cli.py \
|
||||
tests/{cover,datetime,typing_extensions,ghostwriter}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue