aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-tappy/APKBUILD
blob: 2d8250861a5664316faecea75695cd7519eba201 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-tappy
_pkgname=tap.py
pkgver=3.0
pkgrel=0
pkgdesc="Python3 Test Anything Protocol (TAP) tools"
url="https://github.com/python-tap/tappy"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools py3-babel"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/t/tap.py/tap.py-$pkgver.tar.gz"
builddir="$srcdir/tap.py-$pkgver"

replaces="py-tappy" # Backwards compatibility
provides="py-tappy=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 -m tap
}

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

sha512sums="58b0928dd28ba525d9bb5edfab5606cb67af15e75a5f03d2648280d30377e2aa23b314ed41dba3b09b7dfa1aefead53674df43b6087e552b9aa937472838e7db  py3-tappy-3.0.tar.gz"