1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/community/clustershell/APKBUILD

38 lines
1,019 B
Text

# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=clustershell
pkgver=1.9.3
pkgrel=0
pkgdesc="Scalable cluster administration Python framework"
url="https://clustershell.readthedocs.io/en/latest/"
arch="noarch"
license="LGPL-2.1-or-later"
depends="py3-yaml py3-$pkgname=$pkgver-r$pkgrel"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-doc
py3-$pkgname-pyc
py3-$pkgname:_py3
"
options="!check" # TODO
source="$pkgname-$pkgver.tar.gz::https://github.com/cea-hpc/clustershell/archive/refs/tags/v$pkgver.tar.gz"
build() {
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" .dist/*.whl
mv "$pkgdir"/usr/etc "$pkgdir"/etc
}
_py3() {
depends="python3"
pkgdesc="$pkgname python3 bindings"
amove usr/lib/python3*
}
sha512sums="
86d0fca4278544e6de47079c6995ca010455693a243bdbfb0ca1a24cc570febed1a2947c8cc0ecc7f373a04f3a846211247084d173d8e100916dea745ac93f47 clustershell-1.9.3.tar.gz
"