aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-ostinato/APKBUILD
blob: a22e6779af2e3e2eaaf47974e7e0cf0d5ae45d4f (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
28
# Contributor: Corentin Henry <corentinhenry@gmail.com>
# Maintainer: Corentin Henry <corentinhenry@gmail.com>
pkgname=py-ostinato
_pkgname=python-ostinato
pkgver=0.7.1
pkgrel=0
pkgdesc="A Python agent for the ostinato controller"
url="http://ostinato.org/"
arch="noarch"
license="GPLv3"
depends="python py-protobuf>=2.3.0"
makedepends="python-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="903d65182eeb09d1363c81375664c265  python-ostinato-0.7.1.tar.gz"
sha256sums="f628f3be4c3392676ff703bac33ba6f51bcb951eed52ab9171dbeb4751c59bc0  python-ostinato-0.7.1.tar.gz"
sha512sums="c80ba3783b551c3869529bb7b3636dd4370d9ff6dd8ea9c39484ea73982af940751a0a332641abb2bff9aa2860064337ec49a95dd507dc6afebb0544b1ae363e  python-ostinato-0.7.1.tar.gz"