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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 21:41:30 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:41:29
  Author: foutrelis
Revision: 1058924

archrelease: copy trunk to community-staging-any

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

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

Copied: python-kombu/repos/community-staging-any/PKGBUILD (from rev 1058922, python-kombu/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:41:29 UTC (rev 1058924)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgname=python-kombu
+pkgver=5.1.0
+pkgrel=3
+pkgdesc='A messaging library for Python'
+arch=('any')
+url="https://kombu.readthedocs.org/"
+license=('BSD')
+options=('!emptydirs')
+depends=('python-amqp' 'python-vine')
+optdepends=('python-boto3: for Amazon SQS support'
+            'python-brotli: for brotli compression support'
+            'python-librabbitmq: C optimization for AMQP transport'
+            'python-msgpack: for MessagePack support'
+            'python-pycurl: for Amazon SQS support'
+            'python-pymongo: for MongoDB support'
+            'python-pyro: for Pyro support'
+            'python-redis: for Redis support'
+            'python-sqlalchemy: for SQLAlchemy support'
+            'python-yaml: for YAML support'
+            'python-zstandard: for zstd compression support')
+            # 'python-consul: for Consul K/V store Transport support': Not packaged yet
+            # 'python-etcd: for etcd support': Not packaged yet
+            # 'python-kazoo: for Zookeeper support': Not packaged yet
+            # 'python-pycouchdb: for CouchDB support': Not packaged yet
+            # 'python-softlayer-messaging: for SoftLayer Message Queue support': Not packaged yet
+makedepends=('python-setuptools')
+checkdepends=('python-boto3' 'python-brotli' 'python-case' 'python-librabbitmq' 'python-msgpack' 'python-pycurl'
+              'python-pymongo' 'python-pyro' 'python-pytest' 'python-pytest-sugar' 'python-pytz'
+              'python-redis' 'python-sqlalchemy' 'python-yaml')
+source=("https://github.com/celery/kombu/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('cffd0c4d75dfaa06f3502c8b9c15af7ee1c85206caa7e3cc837e4c072ed8cbc5433328400143f5c5a181ffa3ceaebf9a6cf63b53268ef9731118dfc088db5c31')
+
+prepare() {
+  cd kombu-$pkgver
+  sed -i "/import azureservicebus/i pytest.importorskip('azure.servicebus')" t/unit/transport/test_azureservicebus.py
+}
+
+build() {
+  cd kombu-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd kombu-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd kombu-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list