# Maintainer: Caleb Maclennan pkgname=annextimelog pkgver=0.13.1 pkgrel=2 pkgdesc='CLI to track time spent on projects, backed by Git Annex' arch=(any) url="https://gitlab.com/nobodyinperson/$pkgname" license=(GPL-3.0-or-later) _pydeps=(rich) depends=(python "${_pydeps[@]/#/python-}" git-annex) makedepends=(python-{build,installer,wheel} python-poetry-core) _archive="$pkgname-$pkgver" source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz") sha256sums=('de7c917335caf2486f5be79383fe40779e2f1ada7e826a2fd6171fbec1793ef0') build() { cd "$_archive" python -m build -wn } package() { cd "$_archive" python -m installer -d "$pkgdir" dist/*.whl }