aboutsummaryrefslogtreecommitdiffstats
path: root/testing/salt-api/APKBUILD
blob: 129cd4dcfabe3cacab4fe92f000d9744b65c71d3 (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
29
30
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=salt-api
pkgver=0.8.4.1
pkgrel=0
pkgdesc="Salt API is used to expose the fundamental aspects of Salt control to external sources."
url="https://github.com/saltstack/salt-api"
arch="noarch"
license="ASL 2.0"
depends="salt"
depends_dev="python-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://pypi.python.org/packages/source/s/$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 --root=$pkgdir/ --optimize=1 || return 1
}

md5sums="38395594c8cb68ef09445a673669114f  salt-api-0.8.4.1.tar.gz"
sha256sums="5f7e415425080a80c863322d009e6e040f99474d2aa5447e094bd210b68d786b  salt-api-0.8.4.1.tar.gz"
sha512sums="38eb8140926128d9d6ddef74f543b86ce4e19c15bec04447abe264e2567f0d243bcfd0783c57ee4d98c535ba686467b9e32e24bfefd8896c9255acb4491b6a15  salt-api-0.8.4.1.tar.gz"