blob: 78d0c38b81ba552838df6541d69178ed608b1f20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
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
}
|