aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-testrepository/APKBUILD
blob: cc998cc859b2cb35b1e77442832b1e10be1013da (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-testrepository
_pyname=testrepository
pkgver=0.0.20
pkgrel=0
pkgdesc="A repository of test results"
url="https://launchpad.net/testrepository"
arch="noarch"
license="Apache-2.0 OR BSD-3-Clause"
options="!check" # Test suite issues
depends="python3 py3-fixtures py3-subunit 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/testrepository/tests
}

sha512sums="df14500e2b27b6f39d9d4c4f42961efd63dfe25186e561eb1678952a8ab9311f17c36b78819fea33e0ac879c47a33d45c31ff58be017609c8a6157905ee712d6  testrepository-0.0.20.tar.gz"