Skip to content

@sseemayer /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
python2-amqp version 1.0.12 PKGBUILD
# Maintainer: Xeross <contact@xeross.me>
# Contributor: Timothée Ravier <tim@siosm.fr>
pkgname=python2-amqp
pkgver=1.0.12
pkgrel=1
pkgdesc="Low-level AMQP client for Python (fork of amqplib)"
arch=('any')
url="https://github.com/celery/py-amqp/"
license=("LGPL")
depends=('python2>=2.6' 'setuptools')
source=(https://pypi.python.org/packages/source/a/amqp/amqp-${pkgver}.tar.gz)
sha256sums=('c2c09d0310009efd9b19fc12efff7a085b789b841341a533451b85750be6518d')
prepare() {
cd amqp-${pkgver}
# replace /usr/bin/env python with python2
find . -name '*.py' -exec sed -i -e '1 s/python\s*$/python2/' {} \;
}
package() {
cd amqp-${pkgver}
python2 ./setup.py install --root="${pkgdir}" --prefix=/usr
}
# vim: ft=sh syn=sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.