2022-12-27 20:40:33 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
_pyname=flower
|
|
|
|
pkgname="py3-$_pyname"
|
|
|
|
pkgver=1.2.0
|
2023-01-12 18:48:03 +00:00
|
|
|
pkgrel=1
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2022-12-27 20:40:33 +00:00
|
|
|
pkgdesc="Real-time monitor and web admin for Celery distributed task queue"
|
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="BSD-3-CLAUSE"
|
|
|
|
depends="py3-redis py3-humanize py3-prometheus-client py3-click"
|
|
|
|
makedepends="py3-setuptools"
|
|
|
|
checkdepends="py3-pytest py3-tornado py3-celery"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2023-01-12 18:48:03 +00:00
|
|
|
python3 setup.py build
|
2022-12-27 20:40:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
PYTHONPATH="$srcdir" pytest || true
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-01-12 18:48:03 +00:00
|
|
|
python3 setup.py install --root="$pkgdir" -O1
|
2022-12-27 20:40:33 +00:00
|
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
|
|
}
|
|
|
|
sha512sums="
|
|
|
|
b0366816988a6dbc44be551d1609e33ae73a824901cc1c641a1cd661c5d58d67a2df52cf22f722c04817097cabbe5a996775f34ec8f52771442ff3d081bd1ed2 py3-flower-1.2.0.tar.gz
|
|
|
|
"
|