summaryrefslogtreecommitdiff
path: root/testing/py3-ddt/APKBUILD
blob: a42a514f1f6cbb90c2a7192fd893f41c946a4465 (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
# Maintainer: prspkt <prspkt@protonmail.com>
# Contributor: prspkt <prspkt@protonmail.com>
pkgname=py3-ddt
pkgver=1.6.0
pkgrel=1
pkgdesc="Python library to multiply test cases"
url="https://github.com/datadriventests/ddt"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="
	py3-mock
	py3-nose
	py3-pytest
	py3-yaml
	py3-six
	"
source="https://files.pythonhosted.org/packages/source/d/ddt/ddt-$pkgver.tar.gz"
builddir="$srcdir/ddt-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="
4e1038dccc3a6ebe11e5d4d4f9a2ce328e3fe261189731bdfcc4912ebc72a2fe93acf3ca97a6136a2cea52c3ced2fa0f218a816a60f16950293230d2e105ba10  ddt-1.6.0.tar.gz
"