Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

python2-amqplib 1.0.2

By: a guest on Oct 20th, 2011  |  syntax: None  |  size: 0.60 KB  |  hits: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=python2-amqplib
  2. pkgver=1.0.2
  3. pkgrel=1
  4. pkgdesc="Python client for the Advanced Message Queuing Procotol (AMQP). Uses Python2."
  5. arch=('any')
  6. url="http://code.google.com/p/py-amqplib/"
  7. license=("LGPL")
  8. depends=('python2>=2.6' 'setuptools')
  9. source=(http://py-amqplib.googlecode.com/files/amqplib-$pkgver.tgz)
  10. md5sums=('5c92f17fbedd99b2b4a836d4352d1e2f')
  11.  
  12. build() {
  13.   cd $startdir/src/amqplib-$pkgver
  14.  
  15.   # replace /usr/bin/env python with python2
  16.   find . -name '*.py' -exec sed -i -e '1 s/python\s*$/python2/' {} \;
  17.  
  18.   python2 ./setup.py install --root=$pkgdir --prefix=/usr || return 1
  19. }
  20.  
  21.