blob: 97b0b54680c9b079454a5d127e95bb65d511661e (
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
|
# Maintainer: Zhuoyun Wei <wzyboy@wzyboy.org>
pkgname=beancount
pkgdesc='Double-Entry Accounting from Text Files'
pkgver=3.0.0
pkgrel=1
arch=('i686' 'x86_64' 'armv7h')
url="http://furius.ca/beancount/"
license=('GPL')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
b2sums=('3230683018951b73cb293fe783fd2daf2cc279eb0afba06f478e17d2ec1f3ec2e6d9ce13505b5e570374d56fea6ed2e4bd796c89e645621e1cb22c46b6b079f3')
depends=("python" "python-dateutil" "python-regex")
conflicts=("beancount-hg")
makedepends=("python-build" "python-installer" "python-wheel" "meson-python")
build() {
cd "${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|