void-packages/srcpkgs/python3-hypothesis/template

22 lines
879 B
Bash

# Template file for 'python3-hypothesis'
pkgname=python3-hypothesis
version=5.41.2
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://github.com/HypothesisWorks/hypothesis/raw/master/hypothesis-python/docs/changes.rst"
distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz"
checksum=cec3496bb20a414e016421bf90e7bb5a06d025c45ea988da99d20144c587b282
do_check() {
PYTHONPATH="${PWD}/build/lib" python3 -m pytest tests/cover
}