ayaports/backports/py3-kombu/APKBUILD

34 lines
1,019 B
Text
Raw Normal View History

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
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"
makedepends="py3-setuptools"
checkdepends="py3-pyro4 py3-case py3-nose py3-mock py3-tz py3-pytest py3-sqlalchemy py3-fakeredis"
source="https://files.pythonhosted.org/packages/source/k/kombu/kombu-$pkgver.tar.gz"
builddir="$srcdir/kombu-$pkgver"
replaces="py-kombu" # Backwards compatibility
provides="py-kombu=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
695813bee71d627649e772b45b25494784a6a81bcad92331160705e34d8b2268fa90629983ebcfd04ec23208508d422f1834cc56895532911602d58ec0090a03 kombu-5.2.4.tar.gz
"