22 lines
862 B
Bash
22 lines
862 B
Bash
# Template file for 'python-hypothesis'
|
|
pkgname=python-hypothesis
|
|
version=4.38.2
|
|
revision=5
|
|
wrksrc="hypothesis-hypothesis-python-${version}"
|
|
build_wrksrc=hypothesis-python
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-attrs python-coverage python-enum34"
|
|
checkdepends="python-coverage python-enum34 python-pytest"
|
|
short_desc="Python2 library for property based testing"
|
|
maintainer="Orphaned <orphan@voidlinux.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=c53b652ed15350b0116bc1dd28516a71988437da772e25903309aa526f9c719e
|
|
|
|
do_check() {
|
|
PYTHONPATH="${PWD}/build-2.7/lib" python2 -m pytest tests/py2
|
|
}
|