mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
36 lines
785 B
Text
36 lines
785 B
Text
# 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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
4e1038dccc3a6ebe11e5d4d4f9a2ce328e3fe261189731bdfcc4912ebc72a2fe93acf3ca97a6136a2cea52c3ced2fa0f218a816a60f16950293230d2e105ba10 ddt-1.6.0.tar.gz
|
|
"
|