blob: 68b0817d28aebca117a0876154a63ecb0f74f215 (
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.1.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=('a20322fa4e71cf357529ed96e137a03a3854fad569c66a20dcbea4b79258aa80cb6aab9297f933205749fb11d7fad0cbb0ed17a1a96de4cb462c0e14cd6bdb09')
depends=("python" "python-click" "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
}
|