aports/testing/py3-click-completion/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
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
2024-04-15 17:00:47 +02:00

33 lines
901 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-click-completion
pkgver=0.5.2
pkgrel=1
pkgdesc="Fish, Bash, Zsh and PowerShell completion for Click"
url="https://github.com/click-contrib/click-completion"
arch="noarch"
license="MIT"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/click-contrib/click-completion/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/click-completion-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
e3298cd69b4486f0626fe286cff3b31ac62381a205f04248150e543a87f1eaebb6d650a7579fd8e9fd3be6adbdc39eb829cbccf0113650f58146757f781f1f50 py3-click-completion-0.5.2.tar.gz
"