# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-ddt
pkgver=1.6.0
pkgrel=4
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
	"
subpackages="$pkgname-pyc"
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 --skip-build --root="$pkgdir"
}

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