aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-rejected/APKBUILD
blob: 6db6b940ce67d0c3123fd85d1da76f70a4e97832 (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
31
32
33
34
35
36
37
38
39
40
41
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="https://files.pythonhosted.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"