summaryrefslogblamecommitdiff
path: root/user/py3-hypothesis/APKBUILD
blob: a165c08c5811269959a4a3559ccbc9644bb2465b (plain) (tree)
1
2
3
4
5
6
7



                                                     

                      
             





                                                                                         
                                      
                                   
                         
                                                                                                                       


                                    



                              



                             



                                                               
                                                                                                                                                                           
# 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.56.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 py3-sortedcontainers"
checkdepends="py3-pytest py3-attrs"
makedepends="python3-dev"
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="221515d945669c34b676a9f57ab783e30d998b877b6e5bba27fec45cd95f5ed21e60cb4b019687f884b87c0bcad065f881fb0ca2a8d00bb216c43290bbd7d157  py3-hypothesis-4.56.3.tar.gz"