npm is needed to build the package.
Search Criteria
Package Details: fava 1.30-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/fava.git (read-only, click to copy) |
---|---|
Package Base: | fava |
Description: | Web interface for beancount |
Upstream URL: | https://github.com/beancount/fava |
Licenses: | MIT |
Submitter: | wzyboy |
Maintainer: | wzyboy |
Last Packager: | wzyboy |
Votes: | 11 |
Popularity: | 0.000563 |
First Submitted: | 2016-07-05 02:40 (UTC) |
Last Updated: | 2024-12-30 10:28 (UTC) |
Dependencies (16)
- beancountAUR (beancount-gitAUR)
- beangulpAUR
- beanqueryAUR (beanquery-gitAUR)
- python-cheroot
- python-click
- python-flask
- python-flask-babel
- python-markdown2 (python-markdown2-gitAUR)
- python-ply
- python-simplejson
- python-watchfiles
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools-scm (make)
- python-wheel (make)
Required by (5)
Sources (1)
lilydjwg commented on 2024-12-30 09:20 (UTC)
wzyboy commented on 2024-12-30 02:48 (UTC) (edited on 2024-12-30 02:49 (UTC) by wzyboy)
Fava has been updated to 1.30. This version now supports Beancount 3.x and depends on beanquery
and beangulp
packages that provide bean-query
and bean-extract
commands in Beancount 2.x.
wzyboy commented on 2024-08-18 06:33 (UTC)
@xuhcc Thanks. Dep added.
xuhcc commented on 2024-08-17 08:32 (UTC)
A new dependency was added in 1.28: python-watchfiles
AlphaJack commented on 2024-01-16 19:21 (UTC)
Hi, for the next update you can use this PKGBUILD, it builds from source and does not hardcode any python version:
# Maintainer: Zhuoyun Wei <wzyboy@wzyboy.org>
# Contributor: AlphaJack <alphajack at tuta dot io>
pkgname="fava"
pkgdesc="Web interface for beancount"
pkgver=1.26.2
pkgrel=3
url="https://github.com/beancount/fava"
license=("MIT")
arch=("any")
depends=("beancount"
"python-setuptools"
"python-click"
"python-markdown2"
"python-flask"
"python-flask-babel"
"python-cheroot"
"python-simplejson")
makedepends=("python-build" "python-installer" "python-wheel" "python-setuptools" "python-setuptools-scm")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
b2sums=('d57b1902de46d2fe72d5376fe728d344a7ef1823c4a648f72b8cac439803be82cf15bf8d78c3ce0fe55e89f17cc87a24399aac59c479dee515e35a6adc8a1a9c')
build(){
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package(){
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
gbabin commented on 2024-01-15 21:05 (UTC)
package()
uses /usr/lib/python3.10/site-packages/
but current python
is 3.11
apnkpr commented on 2023-01-05 11:13 (UTC)
Please add python-setuptools
as a dependency. It throws the following error without it:
Traceback (most recent call last):
File "/usr/bin/fava", line 5, in <module>
from fava.cli import main
File "/usr/lib/python3.10/site-packages/fava/__init__.py", line 4, in <module>
from pkg_resources import DistributionNotFound
ModuleNotFoundError: No module named 'pkg_resources'
xuhcc commented on 2021-12-19 11:23 (UTC)
After recent system update fava began to fail with
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.10/site-packages/google_api_core-2.3.2-py3.10.egg-info/PKG-INFO'
I'm not sure what fava has to do with google but downgrading python-google-api-core
from 2.3.2-1 to 2.3.0-1 has helped.
wzyboy commented on 2020-12-13 23:11 (UTC)
@AlphaJack Thank you for pointing out. Fixed.
AlphaJack commented on 2020-12-13 23:08 (UTC)
You should replace the python installation path to conform with python 3.9, otherwise it throws the error that xuanwo met
Pinned Comments
wzyboy commented on 2024-12-30 02:48 (UTC) (edited on 2024-12-30 02:49 (UTC) by wzyboy)
Fava has been updated to 1.30. This version now supports Beancount 3.x and depends on
beanquery
andbeangulp
packages that providebean-query
andbean-extract
commands in Beancount 2.x.