blob: 31e936b1d1c6ecff20a4403e860872e453ab79c6 (
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.14.0
pkgrel=1
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=('7fc390f20c5ad30a2225cb90d159b038b7fa1010e75137dff6a41d2fd7053854')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|