summaryrefslogtreecommitdiff
path: root/pcr/python2-kombu/PKGBUILD
blob: ef99b0beb6544fd86d32bcbf744ce102e87e2a28 (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
# Contributor: Felix Yan <felixonmars@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>

pkgname=python2-kombu
pkgver=2.4.10
pkgrel=1
pkgdesc="AMQP Messaging Framework for Python 2.x"
arch=('any')
url="http://pypi.python.org/pypi/kombu/"
license=('BSD')
depends=('python2' 'python-anyjson')
optdepends=(
  "python2-librabbitmq: High performance AMQP transport written in C"
)
makedepends=('setuptools')
source=("http://pypi.python.org/packages/source/k/kombu/kombu-$pkgver.tar.gz")
options=(!emptydirs)

build() {
  cd "$srcdir"/kombu-$pkgver
  python2 setup.py build
}

package() {
  cd "$srcdir"/kombu-$pkgver
  python2 setup.py install --root="$pkgdir/"
  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}