[arch-commits] Commit in python-kombu/repos (2 files)

Felix Yan fyan at archlinux.org
Sun Sep 20 16:07:31 UTC 2015


    Date: Sunday, September 20, 2015 @ 18:07:31
  Author: fyan
Revision: 141306

archrelease: copy trunk to community-staging-any

Added:
  python-kombu/repos/community-staging-any/
  python-kombu/repos/community-staging-any/PKGBUILD
    (from rev 141305, python-kombu/trunk/PKGBUILD)

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

Copied: python-kombu/repos/community-staging-any/PKGBUILD (from rev 141305, python-kombu/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 16:07:31 UTC (rev 141306)
@@ -0,0 +1,77 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgbase=python-kombu
+pkgname=('python-kombu' 'python2-kombu')
+pkgver=3.0.26
+pkgrel=2
+pkgdesc='A messaging library for Python'
+arch=('any')
+url="http://kombu.readthedocs.org/"
+license=('BSD')
+options=('!emptydirs')
+makedepends=('python-anyjson' 'python2-anyjson')
+checkdepends=('python-redis' 'python2-redis' 'python-yaml' 'python2-yaml' 'python-msgpack' 'python2-msgpack'
+              'python-boto' 'python2-boto' 'python-pycurl' 'python2-pycurl' 'python-nose' 'python2-nose'
+              'python-amqp' 'python2-amqp' 'python-mock' 'python2-mock')
+source=("http://pypi.python.org/packages/source/k/kombu/kombu-${pkgver}.tar.gz")
+sha256sums=('1f565abd44c4b7dfaa4dd543d52f982d2f006aba0a2b3830542b4d25a801fe09')
+
+prepare() {
+  cp -a kombu-$pkgver{,-py2}
+}
+
+check() {
+  cd kombu-$pkgver
+  # Tests are not python 3 compatible
+  nosetests3 || warning "Tests failed"
+
+  cd ../kombu-$pkgver-py2
+  # Ignoring missing assert_* errors, as this only affects tests
+  nosetests2 || warning "Tests failed"
+}
+
+package_python-kombu() {
+  depends=('python-amqp' 'python-anyjson')
+  optdepends=('python-pymongo: for MongoDB support'
+              'python-msgpack: for MessagePack support'
+              'python-pyro: for Pyro support'
+              'python-redis: for Redis support'
+              'python-sqlalchemy: for SQLAlchemy support'
+              'python-boto: for Amazon SQS support'
+              'python-yaml: for YAML support'
+              'python-pyzmq: for ZeroMQ support')
+              # 'python-couchdb: for CouchDB support': Not packaged yet
+              # 'python-softlayer-messaging: for SoftLayer Message Queue support': Not packaged yet
+              # 'python-kazoo: for Zookeeper support': Not packaged yet
+              # 'python-librabbitmq: C optimization for AMQP transport' Not available for python 3 yet
+              # 'python-beanstalkc: for Beanstalk Support' Not available for python 3 yet
+
+  cd "$srcdir/kombu-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-kombu() {
+  depends=('python2-amqp' 'python2-anyjson')
+  optdepends=('python2-pymongo: for MongoDB support'
+              'python2-msgpack: for MessagePack support'
+              'python2-pyro: for Pyro support'
+              'python2-redis: for Redis support'
+              'python2-sqlalchemy: for SQLAlchemy support'
+              'python2-boto: for Amazon SQS support'
+              'python2-yaml: for YAML support'
+              'python2-pyzmq: for ZeroMQ support'
+              'python2-librabbitmq: C optimization for AMQP transport')
+              # 'python2-couchdb: for CouchDB support': In AUR
+              # 'python2-softlayer-messaging: for SoftLayer Message Queue support': Not packaged yet
+              # 'python2-kazoo: for Zookeeper support': Not packaged yet
+              # 'python2-beanstalkc: for Beanstalk Support' Not packaged yet
+
+  cd "$srcdir/kombu-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list