# Contributor: Stefan Wagner # Maintainer: Drew DeVault pkgname=py3-kombu _pyname=kombu pkgver=4.6.8 pkgrel=0 pkgdesc="a message queue abstraction layer" options="!check" # 3 Redis tests fail url="https://pypi.python.org/pypi/kombu/" arch="noarch !s390x" # Limited by py3-dill license="BSD-3-Clause" depends="py3-amqp py3-vine py3-importlib-metadata" makedepends="py3-setuptools" checkdepends="py3-pyro4 py3-case py3-nose py3-mock py3-tz py3-pytest py3-sqlalchemy py3-fakeredis" _pypiprefix="${_pyname%${_pyname#?}}" source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" replaces="py-kombu" # Backwards compatibility provides="py-kombu=$pkgver-r$pkgrel" # Backwards compatibility prepare() { sed -i requirements/test.txt -e 's/pytest-sugar//g' } build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="65b4ebb283ae380388de5d9f8fdc1ec0f41a9910744906b23eb150bc62ecb55ae6d65bb96ad31d8a033f26c2a8dc386939fced393866b6467e77a9760dfa17cc kombu-4.6.8.tar.gz"