[arch-commits] Commit in python-amqp/repos (2 files)
Felix Yan
fyan at archlinux.org
Sat Sep 19 12:36:24 UTC 2015
Date: Saturday, September 19, 2015 @ 14:36:23
Author: fyan
Revision: 140767
archrelease: copy trunk to community-staging-any
Added:
python-amqp/repos/community-staging-any/
python-amqp/repos/community-staging-any/PKGBUILD
(from rev 140766, python-amqp/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-amqp/repos/community-staging-any/PKGBUILD (from rev 140766, python-amqp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-19 12:36:23 UTC (rev 140767)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgbase=python-amqp
+pkgname=('python-amqp' 'python2-amqp')
+pkgver=1.4.6
+pkgrel=2
+pkgdesc="Low-level AMQP client for Python (fork of amqplib)"
+arch=('any')
+url="http://github.com/celery/py-amqp"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/a/amqp/amqp-$pkgver.tar.gz")
+md5sums=('a061581b6864f838bffd62b6a3d0fb9f')
+
+prepare() {
+ cp -a amqp-$pkgver{,-py2}
+}
+
+package_python-amqp() {
+ depends=('python')
+
+ cd amqp-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-amqp() {
+ depends=('python2')
+
+ cd amqp-$pkgver-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list