aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/py-rejected/APKBUILD42
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"