2022-12-27 20:40:33 +00:00
|
|
|
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
|
|
|
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
|
|
pkgname=py3-kombu
|
|
|
|
pkgver=5.2.4
|
2023-05-05 05:19:08 +00:00
|
|
|
pkgrel=2
|
2022-12-27 20:40:33 +00:00
|
|
|
pkgdesc="a message queue abstraction layer"
|
|
|
|
options="!check" # 3 Redis tests fail
|
2023-03-10 17:40:24 +00:00
|
|
|
url="https://pypi.org/project/kombu/"
|
2022-12-27 20:40:33 +00:00
|
|
|
arch="noarch !s390x" # Limited by py3-dill
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
depends="py3-amqp py3-vine"
|
2023-03-10 17:40:24 +00:00
|
|
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
2022-12-27 20:40:33 +00:00
|
|
|
checkdepends="py3-pyro4 py3-case py3-nose py3-mock py3-tz py3-pytest py3-sqlalchemy py3-fakeredis"
|
2023-05-05 05:19:08 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2023-03-10 17:40:24 +00:00
|
|
|
source="https://files.pythonhosted.org/packages/source/k/kombu/kombu-$pkgver.tar.gz
|
|
|
|
fix-requirements.patch
|
|
|
|
"
|
2022-12-27 20:40:33 +00:00
|
|
|
builddir="$srcdir/kombu-$pkgver"
|
|
|
|
|
|
|
|
replaces="py-kombu" # Backwards compatibility
|
|
|
|
provides="py-kombu=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
|
|
|
|
build() {
|
2023-03-10 17:40:24 +00:00
|
|
|
gpep517 build-wheel \
|
|
|
|
--wheel-dir dist \
|
|
|
|
--output-fd 3 3>&1 >&2
|
2022-12-27 20:40:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
python3 setup.py test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-03-10 17:40:24 +00:00
|
|
|
python3 -m installer -d "$pkgdir" \
|
|
|
|
dist/*.whl
|
2022-12-27 20:40:33 +00:00
|
|
|
}
|
2023-03-10 17:40:24 +00:00
|
|
|
|
2022-12-27 20:40:33 +00:00
|
|
|
sha512sums="
|
|
|
|
695813bee71d627649e772b45b25494784a6a81bcad92331160705e34d8b2268fa90629983ebcfd04ec23208508d422f1834cc56895532911602d58ec0090a03 kombu-5.2.4.tar.gz
|
2023-03-10 17:40:24 +00:00
|
|
|
d296eba67b77d6a10176714facc45b3119a3c9dac1868cc281eea7cf3d0a6fceb4584836aea188db87eae3cae0f344a0f399e2fad248706c608ff3b1c28b3139 fix-requirements.patch
|
2022-12-27 20:40:33 +00:00
|
|
|
"
|