mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +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.2.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="ac1c562e69efaf18ad2168d74af691dad3386adb81327d9e79db342eee262ddf797cfbc713cbb3028379d9b129233c33f78e4f6beb08de9e5d0bea9aa42d87ec ddt-1.2.1.tar.gz"
|