summaryrefslogtreecommitdiff
path: root/user/coverage/APKBUILD
blob: 1cea3561d3187522b7ceb67fe7fa63e653c6cb56 (plain) (blame)
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
30
31
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=coverage
pkgver=4.5.1
pkgrel=0
pkgdesc="Code coverage testing for Python"
url="https://coverage.readthedocs.io/"
arch="all"
license="Apache-2.0"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-tox"
subpackages=""
source="https://files.pythonhosted.org/packages/35/fe/e7df7289d717426093c68d156e0fd9117c8f4872b6588e8a8928a0f68424/coverage-$pkgver.tar.gz"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix="/usr" --root="$pkgdir"
}

sha512sums="82742a572549400778cad99057b1ced4c36b61e917983148eccc86bfa6340de8cfefc4f743e79ff876b641e0b9d21307dd6bde78638a6b20dd8ad215068dda25  coverage-4.5.1.tar.gz"