mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
29 lines
792 B
Text
29 lines
792 B
Text
# Maintainer: prspkt <prspkt@protonmail.com>
|
|
# Contributor: prspkt <prspkt@protonmail.com>
|
|
pkgname=py3-ddt
|
|
_pkgname=ddt
|
|
pkgver=1.3.1
|
|
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="0c5d833b9f5fe565271e049c075e76af73c138ef6c3bc9b8179e6c7174b75549dc464069363f04d46c7136b4dd3e66728b95abc41e777832268cb95a11bcf454 ddt-1.3.1.tar.gz"
|