summaryrefslogtreecommitdiff
path: root/user/py3-pycotap/APKBUILD
blob: a2731dc39e2876eb1db19aeed169d30cab1d6911 (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
32
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-pycotap
_pipname=pycotap
pkgver=1.1.0
pkgrel=0
pkgdesc="Tiny Python test runner that outputs TAP results"
url="https://el-tramo.be/pycotap/"
arch="noarch"
license="MIT"
depends="python3"
makedepends=""
subpackages=""
source="https://files.pythonhosted.org/packages/a1/99/f1dfa70ffe1140f701ba9797630fb12c12558c28865e1e01728800054d32/pycotap-$pkgver.tar.gz"
builddir="$srcdir/$_pipname-$pkgver"

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="dbe8d76c3e4b934dd4ff9ec0d48caafef3ae5583046a7316607b3c8cebf8cb920c68dc46487243aac81823994805c76f2be8ff0cbda593c70b70f268661fa289  pycotap-1.1.0.tar.gz"