summaryrefslogtreecommitdiff
path: root/user/py3-hypothesis/APKBUILD
blob: ad6712c8c01c0e7a53e593bb9e18183e39268775 (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
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-hypothesis
_pkgname=hypothesis
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=4.32.3
pkgrel=0
pkgdesc="A library for property based testing"
url="https://pypi.python.org/pypi/hypothesis"
arch="noarch"
options="!check" # Tests are missing from release packages due to possible packaging bug?
license="MPL-2.0"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-pytest py3-attrs"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"

}

sha512sums="a477077bc2406d130839850f813db85a5de0cf102e28f88052831555f6e43cb10ebb780b400966df38578ef6c634e43cea74fd448bcf3001c395be5950af552f  py3-hypothesis-4.32.3.tar.gz"