23 lines
943 B
Bash
23 lines
943 B
Bash
# Template file for 'python3-hypothesis'
|
|
pkgname=python3-hypothesis
|
|
version=5.41.3
|
|
revision=1
|
|
wrksrc="hypothesis-hypothesis-python-${version}"
|
|
build_wrksrc=hypothesis-python
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-attrs python3-sortedcontainers"
|
|
checkdepends="python3-pytest python3-coverage python3-pexpect ${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=c41d6d5f35059c31996788822206a17c6ccfc34e5570cb9a4878f66767b76246
|
|
|
|
do_check() {
|
|
# test_settings_alone seems to expect a warning or failure that doesn't appear
|
|
PYTHONPATH="${PWD}/build/lib" pytest3 -k 'not test_settings_alone' tests/cover
|
|
}
|