Package Details: beancount-git 2.3.3.r451.gf9481591-1

Git Clone URL: https://aur.archlinux.org/beancount-git.git (read-only, click to copy)
Package Base: beancount-git
Description: Double-Entry Accounting from Text Input
Upstream URL: http://furius.ca/beancount/
Licenses: GPL
Conflicts: beancount, beancount-hg
Provides: beancount, ledgerhub-hg
Replaces: beancount-hg, ledgerhub-hg
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 9
Popularity: 0.000000
First Submitted: 2020-07-22 14:13 (UTC)
Last Updated: 2021-02-25 19:11 (UTC)

Latest Comments

aclindsa commented on 2021-06-05 02:22 (UTC)

@aparez I don't believe your latest change had the desired effect - it is still pulling the v3 version of beancount (labeled as 'unstable' still) instead of the v2 branch. I believe line 9 in the PKGBUILD would need to be updated to be:

source=("${pkgname}::git+https://github.com/beancount/beancount/#branch=v2")

aperez commented on 2021-02-25 19:13 (UTC)

I have just pushed a small update, let me know if any issues remain for you. Unfortunately, I do not use Beancount anymore so I have not been maintaining the PKGBUILD updated. If somebody else would like to take maintain the package, I can pass it over or add them as co-maintainers—let me know!

aclindsa commented on 2021-02-25 12:35 (UTC)

Beancount now has two primary versions, v2 and v3. Is your intention with this package to always follow the latest, even if it breaks compatibility with v2, or to follow the v2 branch?

If your intention is to stick with v2 for now, you can change the git import URL to: git+https://github.com/beancount/beancount/#branch=v2

AlphaJack commented on 2021-02-07 00:38 (UTC)

python-pytest seems to be a required dependency

Also I get

Traceback (most recent call last):
  File "/bin/fava", line 5, in <module>
    from fava.cli import main
  File "/usr/lib/python3.9/site-packages/fava/cli.py", line 11, in <module>
    from fava.application import app
  File "/usr/lib/python3.9/site-packages/fava/application.py", line 40, in <module>
    from fava import template_filters
  File "/usr/lib/python3.9/site-packages/fava/template_filters.py", line 21, in <module>
    from fava.context import g
  File "/usr/lib/python3.9/site-packages/fava/context.py", line 6, in <module>
    from fava.core import FavaLedger
  File "/usr/lib/python3.9/site-packages/fava/core/__init__.py", line 58, in <module>
    from fava.core.ingest import IngestModule
  File "/usr/lib/python3.9/site-packages/fava/core/ingest.py", line 12, in <module>
    from beancount.ingest import cache  # type: ignore
ModuleNotFoundError: No module named 'beancount.ingest'

when starting Fava with this version of beancount installed, the non-git version works fine

kris7t commented on 2020-12-28 21:12 (UTC)

Looks like the bean-price utility was recently moved to another repository: https://github.com/beancount/beancount/commit/9e26d21c1848e89c6f63b76b96141adddb110a0d

I created an AUR package for it: https://aur.archlinux.org/packages/beanprice-git/

@aperez: if you want, I can set you as the maintainer of the new package.

aperez commented on 2020-07-22 14:15 (UTC)

This package is replaced by beancount-githttps://aur.archlinux.org/packages/beancount-git/

xuhcc commented on 2020-05-23 12:05 (UTC)

Beancount moved to GitHub: https://github.com/beancount/beancount

aperez commented on 2019-01-07 10:23 (UTC)

@cejota: I have already pushed the changes. That was a really good suggestion, thanks!

cejota commented on 2019-01-06 19:19 (UTC)

You could change the pkgver() to make it compatible with other programs requiring minimum versions of beancount:

pkgver() {
  cd "${pkgname}"
  hg log -r . --template '{latesttag}-{latesttagdistance}-{node|short}' | sed 's/^\([^-]*\)-\([^-]*\)-/\1.r\2./'
}

And then you could provide the correct version number in provides:

provides=('ledgerhub-hg' "beancount=${pkgver%%.r*}")

aperez commented on 2018-03-05 12:13 (UTC)

@wzyboy: I have added the conflicts/provides as suggested. Thanks for the tip!

wzyboy commented on 2018-03-05 08:28 (UTC)

Suggestion:

provides=('beancount') conflicts=('beancount')

This promotes user to replace beancount with beancount-hg and does not break the dependency of fava.

irmas commented on 2017-01-07 08:24 (UTC)

@aperez Unfortunately, I'm still getting the same error. It looks like something else is missing. I'll post it here in case it helps. Traceback (most recent call last): File "/usr/bin/bean-web", line 2, in <module> from beancount.web.web import main; main() File "/usr/lib/python3.6/site-packages/beancount/web/web.py", line 1191, in main run_app(args) File "/usr/lib/python3.6/site-packages/beancount/web/web.py", line 1109, in run_app quiet=args.quiet if hasattr(args, 'quiet') else quiet) File "/usr/bin/bottle.py", line 755, in run run(self, **kwargs) File "/usr/bin/bottle.py", line 3127, in run server.run(app) File "/usr/bin/bottle.py", line 2781, in run srv = make_server(self.host, self.port, app, server_cls, handler_cls) File "/usr/lib/python3.6/site-packages/beancount/web/web.py", line 1132, in stealing_make_server server = make_server(*args, **kw) File "/usr/lib/python3.6/wsgiref/simple_server.py", line 153, in make_server server = server_class((host, port), handler_class) File "/usr/lib/python3.6/socketserver.py", line 453, in __init__ self.server_bind() File "/usr/lib/python3.6/wsgiref/simple_server.py", line 50, in server_bind HTTPServer.server_bind(self) File "/usr/lib/python3.6/http/server.py", line 136, in server_bind socketserver.TCPServer.server_bind(self) File "/usr/lib/python3.6/socketserver.py", line 467, in server_bind self.socket.bind(self.server_address) socket.gaierror: [Errno -2] Name or service not known

aperez commented on 2017-01-06 21:27 (UTC)

@irmas: Could you try to update using the updated PKGBUILD which I have just pushed a few moments ago? The python-bottle (needed for “beancount web”) used to be optional, and now it's always installed. @ngoonee: Thanks for the tip, I have updated the dependencies. Also, I made the PKGBUILD mimic a bit what the one for the “beancount” package does.

irmas commented on 2017-01-06 18:09 (UTC)

beancount (at least bean-web) doesn't work on my computer since I updated to python 3.6 . Any tips ?

ngoonee commented on 2016-12-19 09:50 (UTC)

Please update dependencies with (at least) python-google-api-python-client, python-beautifulsoup4, and python-magic-ahupp. They're listed in setup.py, along with python-chardet.

aperez commented on 2015-07-09 19:42 (UTC)

@simon-v: Dependencies added, thanks for the heads up.

simon-v commented on 2015-06-15 12:25 (UTC)

python-ply is a dependency of the bean-query tool. Also, the required python-dateutil is still not listed as a dependency.

aperez commented on 2014-10-02 07:08 (UTC)

@dustball: Thanks for the tips, I have updated the PKGBUILD accordingly ☺

dustball commented on 2014-10-01 19:38 (UTC)

mercurial is missing as a makedepend, and also python-dateutil is required.