mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 18:36:42 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-pika
|
|
_pkgname=pika
|
|
pkgver=1.3.2
|
|
pkgrel=1
|
|
pkgdesc="Python3 AMQP client library"
|
|
options="!check" # failures=1
|
|
url="https://pika.readthedocs.org/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-tornado py3-twisted"
|
|
makedepends="py3-gpep517 py3-installer py3-setuptools py3-wheel"
|
|
checkdepends="
|
|
py3-coverage
|
|
py3-codecov
|
|
py3-mock
|
|
py3-nose
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pika/pika/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-pika" # Backwards compatibility
|
|
provides="py-pika=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 1
|
|
}
|
|
|
|
check() {
|
|
nosetests
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
86c1c33db808274052cbe18af68bef685fafa260f692d16dcd3ce6259107c343ebdd3482713a7948583566581defa6037f3344d03b11c50458432d044d8b2057 py3-pika-1.3.2.tar.gz
|
|
"
|