blob: cb811e0e1bb104ef2f579073c8b061d27bc070c5 (
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
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="9bf015555dd9bd1a047e0643d28f887c salt-api-0.8.4.tar.gz"
sha256sums="eef5f4c4f8a9a6290ea6cfdc27c2da342fb7905461d7b66e2b81cbf5a0a2084d salt-api-0.8.4.tar.gz"
sha512sums="faf952b6a7335fe5a59a9eb85a473a86de3c3ee737e00064e6fd8d4ef166034de20bf8db2e3e9d498d75202a302288461c96cfb31439c58d100dc18f730f4b0c salt-api-0.8.4.tar.gz"
|