1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/py3-nose-timer/APKBUILD
2021-04-05 18:19:29 +00:00

29 lines
929 B
Text

# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=py3-nose-timer
_pkgname=nose-timer
pkgver=1.0.1
pkgrel=1
pkgdesc="timer plugin for nosetests that answers the question: how much time does every test take?"
url="https://github.com/mahmoudimus/nose-timer/"
arch="noarch !mips !mips64" # blocked by py3-parameterized
license="MIT"
depends="py3-nose"
makedepends="py3-setuptools"
checkdepends="py3-coverage py3-mock py3-parameterized py3-termcolor"
source="$pkgname-$pkgver.tar.gz::https://github.com/mahmoudimus/nose-timer/archive/v$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="ee6b6378998db06892959056916750b094546cc2fbef32cfbdad9dd7b941c21d20eb31eab3f4a32de29b66ba5a33312dd97423778057eee24c861488c110afc7 py3-nose-timer-1.0.1.tar.gz"