diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2014-09-12 16:52:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-29 06:48:13 +0000 |
commit | 9e42f2aca694935e9bd9374c9f28763ae3b2039b (patch) | |
tree | 06335b000d3f633f47a3a453ef3353bd4adae37d /testing | |
parent | 66e5823bc4e298f45e32785b0ddad9ea32c06c28 (diff) | |
download | aports-9e42f2aca694935e9bd9374c9f28763ae3b2039b.tar.bz2 aports-9e42f2aca694935e9bd9374c9f28763ae3b2039b.tar.xz |
testing/py-rejected: new aport
A consumer framework for RabbitMQ
https://github.com/gmr/rejected
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-rejected/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/py-rejected/APKBUILD b/testing/py-rejected/APKBUILD new file mode 100644 index 0000000000..b8588131b3 --- /dev/null +++ b/testing/py-rejected/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-rejected +_pkgname=rejected +pkgver=3.3.0 +pkgrel=0 +pkgdesc="A Python RabbitMQ Consumer Framework and Controller Daemon" +url="https://github.com/gmr/rejected" +arch="noarch" +license="BSD" +depends="python py-beautifulsoup4 py-helper py-pika py-pgsql-wrapper py-psutil + py-yaml py-redis py-simplejson py-tornado" +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="d2fc1458d8f687eb9479fafd6c7be209 rejected-3.3.0.tar.gz" +sha256sums="f1257528121e7272310341eeb396f353715feeeeb60b0c797cf8536b793b5c83 rejected-3.3.0.tar.gz" +sha512sums="33e4614a3fd1ea649365b2ae06a8db40994089fae4eeda41b02b3d3d0e252b270e9f15ab1cef29202397aff2a5a50f63812514823fce4304a887de424394ea10 rejected-3.3.0.tar.gz" |