blob: d65ff333d8faf0e16956780577c8b084374e796b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=py3-nose-timer
_pkgname=nose-timer
pkgver=0.7.5
pkgrel=0
pkgdesc="A 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-mock py3-parameterized"
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="25fa639d15a01492bde0d47b262c579061eaf21be6953c2451a56aa3be43a09c1e730e4a053f0005f6d8482100f4b8546465456755169df6a66b798313569c49 py3-nose-timer-0.7.5.tar.gz"
|