aports/testing/py3-banal/APKBUILD
2024-08-06 14:25:13 +02:00

30 lines
830 B
Text

# Maintainer: Daniele Parisi <danieleparisi@mailfence.com>
pkgname=py3-banal
_pkgname=banal
pkgver=1.0.6
pkgrel=4
pkgdesc="Commons of banal micro-functions for Python."
url="https://pypi.org/project/banal/"
arch="noarch"
license="MIT"
depends="python3"
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 test suite available
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
da35a9e5f6e9d905b9b3244a8bc398f1106116e4d5842a90e052bbdb95a17e51a08d2771f4438067d69cfc8834febe4718555d3c00e4e24f8b6e6d6a282682cb banal-1.0.6.tar.gz
"