aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-nose-timer/APKBUILD
blob: 8d1531aa8b36470e052ef4fcf73a74c29dab5233 (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=1.0.0
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-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="1afca31d422fc0306721cdcf4e6f23a88dffdbd85e3ec83d6a72c59c584f3919f17f0042129993d857bbf6f4105f58e989a7ee71835a7debf2844d674e587344  py3-nose-timer-1.0.0.tar.gz"