diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2014-09-12 15:47:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-29 06:48:11 +0000 |
commit | 9d3a094c72937d6db9c4b9b408179bbc4c4275be (patch) | |
tree | d07275fb1ecac0867310c9c3843c69a1fb7d1372 /testing/py-rabbit | |
parent | 9fa3122f29549aba3817ae37180616b65d8301a1 (diff) | |
download | aports-9d3a094c72937d6db9c4b9b408179bbc4c4275be.tar.bz2 aports-9d3a094c72937d6db9c4b9b408179bbc4c4275be.tar.xz |
testing/py-rabbit: new aport
A Python module to communicate with the RabbitMQ HTTP Management API
https://github.com/bkjones/pyrabbit
Diffstat (limited to 'testing/py-rabbit')
-rw-r--r-- | testing/py-rabbit/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-rabbit/APKBUILD b/testing/py-rabbit/APKBUILD new file mode 100644 index 0000000000..8b6b4984c3 --- /dev/null +++ b/testing/py-rabbit/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-rabbit +_pkgname=pyrabbit +pkgver=1.1.0 +pkgrel=0 +pkgdesc="A Pythonic interface to the RabbitMQ Management HTTP API" +url="https://github.com/bkjones/pyrabbit" +arch="noarch" +license="MIT" +depends="python py-httplib2" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="625013ba47fe79d296b76a74200c3312 pyrabbit-1.1.0.tar.gz" +sha256sums="50b8995fbfde14820ddc97292312c8f0c77054748c2b018138d03d94e400c39c pyrabbit-1.1.0.tar.gz" +sha512sums="aa18c3ad232840da9b4978e275c05a82ea75212f3c4ee2df68075ac93295d9448a2376656953e7d1d9c9bc6a7e759eef020a8aaef98491a12959a416c31187ad pyrabbit-1.1.0.tar.gz" |