blob: 1bdcba0799e0225258b997a59b817b6fa44c7c91 (
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.3
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="36b24fd6c76ef80516371f7ff120563c salt-api-0.8.3.tar.gz"
sha256sums="11e834678224ee1393c7a272cb5fc11c532d46deb202631c5d56b1badd2c6a40 salt-api-0.8.3.tar.gz"
sha512sums="8f914d8cc9314befb9096b069ec59eb01969775a87ff0700d36ca0b6816f2065fbc50c61aaeba5fca2e59d096c5a14adc50600b752cc1aa1771050e738fd0e8d salt-api-0.8.3.tar.gz"
|