# Contributor: Francesco Colista # Maintainer: Francesco Colista 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"