ayaports/user/kb/APKBUILD

35 lines
937 B
Text
Raw Normal View History

# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=kb
_pkgreal=kb-manager
pkgver=0.1.7
2024-04-14 21:38:00 +00:00
pkgrel=2
pkgdesc="A command line minimalist knowledge base manager"
arch="noarch"
url="https://github.com/gnebbia/kb"
license="GPL-3.0-only"
2024-01-12 22:00:40 +00:00
depends="py3-attrs py3-colored py3-gitpython py3-toml"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
2024-01-12 22:00:40 +00:00
checkdepends="py3-pytest-cov"
source="https://files.pythonhosted.org/packages/source/k/kb-manager/kb-manager-$pkgver.tar.gz"
subpackages="$pkgname-pyc"
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
pytest -v
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
f0dff69a5e95339ea22d0a9d1260473f7b0b6ace184936896e164172aecb77672e9e0a228159abc95e50f30de2ec9ca5185ffbd825dce87edfec267bc56c75dc kb-manager-0.1.7.tar.gz
"