summaryrefslogtreecommitdiff
path: root/testing/py3-trivup/APKBUILD
blob: 46fcc83e1637a9a084f4079d56967fa5d94c77d8 (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
27
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pyname=trivup
pkgname=py3-$_pyname
pkgver=0.9.0
pkgrel=2
pkgdesc="Trivially Up a cluster of programs, such as a Kafka cluster"
url="https://github.com/edenhill/trivup"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-requests"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/t/trivup/trivup-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="0a799c20e8b4873af74b6d78477eccd2586710c21c94eff87947cc82b30b3a517dcddf57b80bac0cee0d7b1c9a571f6427e5b772f84fcb9bb68dfd44cb200062  trivup-0.9.0.tar.gz"