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
29 lines
883 B
Text
29 lines
883 B
Text
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: TBK <alpine@jjtc.eu>
|
|
pkgname=py3-nose-timer
|
|
_pkgname=nose-timer
|
|
pkgver=1.0.1
|
|
pkgrel=3
|
|
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"
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="ee6b6378998db06892959056916750b094546cc2fbef32cfbdad9dd7b941c21d20eb31eab3f4a32de29b66ba5a33312dd97423778057eee24c861488c110afc7 py3-nose-timer-1.0.1.tar.gz"
|