mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py3-rabbit: build with gpep517
This commit is contained in:
parent
b4f757071e
commit
198b7fca83
@ -3,27 +3,32 @@
|
||||
pkgname=py3-rabbit
|
||||
_pkgname=pyrabbit
|
||||
pkgver=1.1.0
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="Pythonic interface to the RabbitMQ Management HTTP API"
|
||||
options="!check" # No testsuite in PYPI tarball
|
||||
url="https://github.com/bkjones/pyrabbit"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="python3 py3-httplib2"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
options="!check" # No testsuite in PYPI tarball
|
||||
|
||||
replaces="py-rabbit" # Backwards compatibility
|
||||
provides="py-rabbit=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="aa18c3ad232840da9b4978e275c05a82ea75212f3c4ee2df68075ac93295d9448a2376656953e7d1d9c9bc6a7e759eef020a8aaef98491a12959a416c31187ad pyrabbit-1.1.0.tar.gz"
|
||||
sha512sums="
|
||||
aa18c3ad232840da9b4978e275c05a82ea75212f3c4ee2df68075ac93295d9448a2376656953e7d1d9c9bc6a7e759eef020a8aaef98491a12959a416c31187ad pyrabbit-1.1.0.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user