summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5cd10975cde9b4ffb5ce4fcbaf13eaabc48b584a (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: none
# Contributor: tarball <bootctl@gmail.com>

pkgname=bagels
pkgver=0.3.12
pkgrel=1
pkgdesc='Powerful terminal expense tracker'
arch=('any')
url='https://github.com/EnhancedJax/Bagels'
license=('GPL-3.0-or-later')
depends=(
  'python'
  'python-click'
  'python-dateutil'
  'python-linkify-it-py'
  'python-numpy'
  'python-packaging'
  'python-plotext'
  'python-pydantic'
  'python-requests'
  'python-rich'
  'python-sqlalchemy'
  'python-textual'
  'python-typing_extensions'
  'python-xdg-base-dirs'
  'python-yaml'
)
makedepends=(
  'python-build'
  'python-hatchling'
  'python-installer'
  'python-wheel'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('225c46ebc9977ad6cd3b03d43e1e8901c7811bd6fb8d316f16b236c60a7fed69')

build() {
  cd "Bagels-$pkgver"
  python -m build --wheel --no-isolation
}

package() {
  cd "Bagels-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}