Package Details: fava 1.27.3-1

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.052716
First Submitted: 2016-07-05 02:40 (UTC)
Last Updated: 2024-05-01 22:52 (UTC)

Latest Comments

1 2 Next › Last »

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

Michitux commented on 2020-01-06 16:33 (UTC)

fava needs to depend on python-simplejson, otherwise you get strange JavaScript errors due to improperly serialized objects (see https://github.com/beancount/fava/blob/84df3df6a5355318dec056779fa96f96f2ceea91/setup.cfg#L48 for upstream dependency definition).

xuanwo commented on 2019-11-22 05:31 (UTC)

fava looks like need python-jaraco, and python-pip cloud be a makedepends?

ref: https://github.com/archlinuxcn/repo/issues/1385

wzyboy commented on 2019-11-15 07:55 (UTC)

@xuanwo Please rebuild the package.

xuanwo commented on 2019-11-15 07:53 (UTC)

Python 3.8 is in Community, fava failed to start for:

Traceback (most recent call last):
  File "/usr/bin/fava", line 6, in <module>
    from fava.cli import main
ModuleNotFoundError: No module named 'fava'