blob: 21efea83632476662f3d570f958260ff2ceef571 (
plain)
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
34
35
36
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-genty
pkgver=1.3.2
pkgrel=3
pkgdesc="Allows you to run a test with multiple data sets"
url="https://github.com/box/genty"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
checkdepends="
py3-mock
py3-pytest
"
source="https://pypi.python.org/packages/source/g/genty/genty-$pkgver.tar.gz"
options="!check" # Broken
builddir="$srcdir/genty-$pkgver"
build() {
export SETUPTOOLS_USE_DISTUTILS=stdlib
python3 setup.py build
}
check() {
pytest
}
package() {
export SETUPTOOLS_USE_DISTUTILS=stdlib
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
cfe984dfe5af48ba9f4f959a1d0ab1d331d3c2fdb64c680572e5652b845e5c290097ec3ed2b4e472a563cd6ab79489124f6eb212902a05a2f1ce5ff254a82e13 genty-1.3.2.tar.gz
"
|