aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-subunit/APKBUILD
blob: c2f3b036db981fb850633bca943da58ce9eb8d97 (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
# Contributor: Robert Sacks <robert@sacks.email>
# Maintainer: Robert Sacks <robert@sacks.email>
pkgname=py3-subunit
_pyname=python-subunit
pkgver=1.3.0
pkgrel=0
pkgdesc="Python implementation of subunit test streaming protocol"
url="https://launchpad.net/subunit"
arch="noarch"
license="Apache-2.0 OR BSD-3-Clause"
options="!check" # Test suite issues
depends="python3 py3-extras py3-testtools"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -rf "$pkgdir"/usr/lib/python3.8/site-packages/subunit/tests
}

sha512sums="387c9ce8ed679d8998d33c7a295412e4f9de46b8dccdfab92eb82d8c4290958760b6c9bd99d50abd0836e4556c1b0c0132fc01e16801a3113844ab1bf28cf962  python-subunit-1.3.0.tar.gz"