mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 10:42:12 +01:00
33 lines
939 B
Plaintext
33 lines
939 B
Plaintext
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=py3-nose-timer
|
|
_pkgname=nose-timer
|
|
pkgver=1.0.1
|
|
pkgrel=4
|
|
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"
|
|
license="MIT"
|
|
depends="py3-nose"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-coverage py3-mock py3-parameterized py3-termcolor py3-colorama"
|
|
subpackages="$pkgname-pyc"
|
|
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() {
|
|
FORCE_COLOR=1 python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
ee6b6378998db06892959056916750b094546cc2fbef32cfbdad9dd7b941c21d20eb31eab3f4a32de29b66ba5a33312dd97423778057eee24c861488c110afc7 py3-nose-timer-1.0.1.tar.gz
|
|
"
|