aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-ddt/APKBUILD
blob: 0210482ec7e961709971b96c49af6b5da13a3bf9 (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
# Maintainer: prspkt <prspkt@protonmail.com>
# Contributor: prspkt <prspkt@protonmail.com>
pkgname=py3-ddt
_pkgname=ddt
pkgver=1.2.2
pkgrel=0
pkgdesc="Python library to multiply test cases"
url="https://github.com/txels/ddt"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-mock py3-nose py3-yaml"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_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="cdc6992f745f14fc48ca0b1b43f7706b0f7c0a46987389d0cec546f9dc96a946b5ebcffce20d6a3fbe5d7007d4f6d275683b2364106830a56d46a4b0c1d2e306  ddt-1.2.2.tar.gz"