GNU bug report logs -
#78252
[PATCH 0/5] Update beancount to v3
Previous Next
To reply to this bug, email your comments to 78252 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Mon, 05 May 2025 07:05:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sergey Trofimov <sarg <at> sarg.org.ru>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 05 May 2025 07:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This series updates beancount to v3. This version is not backward-compatible,
so I'm adding v3 alongside existing v2.
Sergey Trofimov (5):
gnu: Add python-petl.
gnu: python-regex: Update to 2024.11.6.
gnu: beancount: Update to 3.1.0.
gnu: Add beanquery.
gnu: Add python-beangulp.
gnu/packages/finance.scm | 95 +++++++++++++++++++++++++++++++++++++
gnu/packages/python-xyz.scm | 25 +++++++++-
2 files changed, 118 insertions(+), 2 deletions(-)
base-commit: 17119f1a35b7bff683f2f8f2b5db09b4634283e6
--
2.49.0
Information forwarded
to
lars <at> 6xq.net, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Mon, 05 May 2025 07:11:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-petl): New variable.
Change-Id: I535b88025a150591269d194210a8f2c49aada974
---
gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8fd996036c..ea4ec6a8d9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5936,6 +5936,27 @@ (define-public python-parsley
language.")
(license license:expat)))
+(define-public python-petl
+ (package
+ (name "python-petl")
+ (version "1.7.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "petl" version))
+ (sha256
+ (base32 "0ll7xcc9yrvrz9p9im6m8p69cwrqwmqx91px43hlbnjrv1jflbww"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-setuptools python-setuptools-scm python-wheel
+ python-pytest))
+ (home-page "https://github.com/petl-developers/petl")
+ (synopsis
+ "A Python package for extracting, transforming and loading tables of data.")
+ (description
+ "This package provides a Python package for extracting, transforming and loading
+tables of data.")
+ (license license:expat)))
+
(define-public python-polib
(package
(name "python-polib")
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Mon, 05 May 2025 07:11:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (beancount-3): New variable.
Change-Id: Id3b0c8c77361cc8475b45e211df60988f27f53bb
---
gnu/packages/finance.scm | 45 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f9cc39b720..4650506225 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -79,7 +79,9 @@ (define-module (gnu packages finance)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
@@ -92,6 +94,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages emacs)
#:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -118,6 +121,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
+ #:use-module (gnu packages ninja)
#:use-module (gnu packages pdf)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
@@ -2041,6 +2045,47 @@ (define-public beancount
generate a variety of reports from them, and provides a web interface.")
(license license:gpl2)))
+(define-public beancount-3
+ (package
+ (name "beancount")
+ (version "3.1.0")
+ (source
+ (origin
+ (method git-fetch) ;no test data files in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/beancount/beancount")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pzbhlsvch4n48rqkbff1v1rbk3gm05w0fbd2p97vdmrmlxaa33d"))))
+ (arguments
+ (list
+ #:test-flags
+ #~(list
+ ;; run tests against the built library
+ "--pyargs" "beancount"
+ ;; disable tests supposed to run from the source repo
+ "-k" "not test_export_basic and not test_example_files")))
+ (build-system pyproject-build-system)
+ (native-inputs (list bison
+ flex
+ gnupg
+ meson
+ ninja
+ python-meson-python
+ python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs (list python-bottle python-click python-dateutil
+ python-regex))
+ (home-page "https://beancount.github.io/")
+ (synopsis "Command-line double-entry accounting tool")
+ (description
+ "Beancount is a double-entry bookkeeping computer language that lets you
+define financial transaction records in a text file, read them in memory,
+generate a variety of reports from them, and provides a web interface.")
+ (license license:gpl2)))
+
(define-public fava
(package
(name "fava")
--
2.49.0
Information forwarded
to
lars <at> 6xq.net, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Mon, 05 May 2025 07:11:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-regex): Update to 2024.11.6.
Change-Id: I7eb407f563b73eb57b523c611ccb8bddc34bf274
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ea4ec6a8d9..63742d8b0c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27716,13 +27716,13 @@ (define-public python-smmap
(define-public python-regex
(package
(name "python-regex")
- (version "2022.1.18")
+ (version "2024.11.6")
(source (origin
(method url-fetch)
(uri (pypi-uri "regex" version))
(sha256
(base32
- "05ir92d0cmv8wkafn3r05j5q47l6shg7cpdblp2a8m407b02vwwp"))))
+ "06amb1sxhbab03cy73q7wcp131bsingngr44r0rh6an5cfq5kcbs"))))
(build-system python-build-system)
(arguments
'(#:phases
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Mon, 05 May 2025 07:11:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (beanquery): New variable.
Change-Id: Ic733750b5b71740992a145b1ee05fa67dbe1f837
---
gnu/packages/finance.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 4650506225..0067768ce1 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2086,6 +2086,29 @@ (define-public beancount-3
generate a variety of reports from them, and provides a web interface.")
(license license:gpl2)))
+(define-public beanquery
+ (package
+ (name "beanquery")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "beanquery" version))
+ (sha256
+ (base32 "0b6dhj9lcf3b347rsjb0k25qgsmqf9jnd0yizv3kad00745bawid"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "pyproject.toml"
+ (("tatsu-lts")
+ "tatsu")))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list beancount-3 python-click python-dateutil
+ python-tatsu))
+ (native-inputs (list python-setuptools python-wheel python-pytest))
+ (home-page "https://github.com/beancount/beanquery")
+ (synopsis "Customizable lightweight SQL query tool")
+ (description "Customizable lightweight SQL query tool.")
+ (license license:gpl2)))
+
(define-public fava
(package
(name "fava")
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Mon, 05 May 2025 07:11:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (python-beangulp): New variable.
Change-Id: Id3fa32decb1ec3fe6d9f697a8647f1b826f022be
---
gnu/packages/finance.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 0067768ce1..a7ac1d4e9a 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2109,6 +2109,33 @@ (define-public beanquery
(description "Customizable lightweight SQL query tool.")
(license license:gpl2)))
+(define-public python-beangulp
+ (package
+ (name "python-beangulp")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch) ;no test data files in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/beancount/beangulp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zlanw88dq7czgsdvqwz2fgxamyrfnx15ymv4d7fnjrj04glpg47"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list beancount-3
+ python-beautifulsoup4
+ python-chardet
+ python-petl
+ python-click
+ python-lxml
+ python-magic))
+ (native-inputs (list python-setuptools python-wheel python-pytest))
+ (home-page "https://github.com/beancount/beangulp")
+ (synopsis "Importers Framework for Beancount")
+ (description "Importers Framework for Beancount.")
+ (license license:gpl2)))
+
(define-public fava
(package
(name "fava")
--
2.49.0
Information forwarded
to
sarg <at> sarg.org.ru, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Thu, 08 May 2025 05:08:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 78252 <at> debbugs.gnu.org (full text, mbox):
I've noticed too many packages depend on python-regex. Seems there is no harm
in loosening the beancount requirement a bit - it still builds and runs correctly.
Sergey Trofimov (5):
gnu: Add python-petl.
gnu: beancount: Update to 3.1.0.
gnu: Add beanquery.
gnu: Add python-beangulp.
gnu: fava: Update to 1.30.2.
gnu/packages/finance.scm | 109 +++++++++++++++++++++++++++++++++++-
gnu/packages/python-xyz.scm | 21 +++++++
2 files changed, 127 insertions(+), 3 deletions(-)
base-commit: 03e5aac72766869e1dcf671d921eff3661a8a489
--
2.49.0
Information forwarded
to
sarg <at> sarg.org.ru, lars <at> 6xq.net, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Thu, 08 May 2025 05:08:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-petl): New variable.
Change-Id: I535b88025a150591269d194210a8f2c49aada974
---
gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 417d27d644..6df2f7a73a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5956,6 +5956,27 @@ (define-public python-parsley
language.")
(license license:expat)))
+(define-public python-petl
+ (package
+ (name "python-petl")
+ (version "1.7.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "petl" version))
+ (sha256
+ (base32 "0ll7xcc9yrvrz9p9im6m8p69cwrqwmqx91px43hlbnjrv1jflbww"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-setuptools python-setuptools-scm python-wheel
+ python-pytest))
+ (home-page "https://github.com/petl-developers/petl")
+ (synopsis
+ "A Python package for extracting, transforming and loading tables of data.")
+ (description
+ "This package provides a Python package for extracting, transforming and loading
+tables of data.")
+ (license license:expat)))
+
(define-public python-polib
(package
(name "python-polib")
--
2.49.0
Information forwarded
to
sarg <at> sarg.org.ru, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Thu, 08 May 2025 05:08:03 GMT)
Full text and
rfc822 format available.
Message #29 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (beancount-3): New variable.
Change-Id: Id3b0c8c77361cc8475b45e211df60988f27f53bb
---
gnu/packages/finance.scm | 49 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 4535c33b0c..bb6ca42af9 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -79,7 +79,9 @@ (define-module (gnu packages finance)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
@@ -92,6 +94,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages emacs)
#:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -118,6 +121,7 @@ (define-module (gnu packages finance)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
+ #:use-module (gnu packages ninja)
#:use-module (gnu packages pdf)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
@@ -2041,6 +2045,51 @@ (define-public beancount
generate a variety of reports from them, and provides a web interface.")
(license license:gpl2)))
+(define-public beancount-3
+ (package
+ (name "beancount")
+ (version "3.1.0")
+ (source
+ (origin
+ (method git-fetch) ;no test data files in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/beancount/beancount")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pzbhlsvch4n48rqkbff1v1rbk3gm05w0fbd2p97vdmrmlxaa33d"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "pyproject.toml"
+ (("regex >=2022.9.13")
+ "regex >=2022.1.18")))))
+ (arguments
+ (list
+ #:test-flags
+ #~(list
+ ;; run tests against the built library
+ "--pyargs" "beancount"
+ ;; disable tests supposed to run from the source repo
+ "-k" "not test_export_basic and not test_example_files")))
+ (build-system pyproject-build-system)
+ (native-inputs (list bison
+ flex
+ gnupg
+ meson
+ ninja
+ python-meson-python
+ python-pytest
+ python-setuptools
+ python-wheel))
+ (propagated-inputs (list python-bottle python-click python-dateutil
+ python-regex))
+ (home-page "https://beancount.github.io/")
+ (synopsis "Command-line double-entry accounting tool")
+ (description
+ "Beancount is a double-entry bookkeeping computer language that lets you
+define financial transaction records in a text file, read them in memory,
+generate a variety of reports from them, and provides a web interface.")
+ (license license:gpl2)))
+
(define-public fava
(package
(name "fava")
--
2.49.0
Information forwarded
to
sarg <at> sarg.org.ru, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Thu, 08 May 2025 05:08:03 GMT)
Full text and
rfc822 format available.
Message #32 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (beanquery): New variable.
Change-Id: Ic733750b5b71740992a145b1ee05fa67dbe1f837
---
gnu/packages/finance.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index bb6ca42af9..040854856e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2090,6 +2090,29 @@ (define-public beancount-3
generate a variety of reports from them, and provides a web interface.")
(license license:gpl2)))
+(define-public beanquery
+ (package
+ (name "beanquery")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "beanquery" version))
+ (sha256
+ (base32 "0b6dhj9lcf3b347rsjb0k25qgsmqf9jnd0yizv3kad00745bawid"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "pyproject.toml"
+ (("tatsu-lts")
+ "tatsu")))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list beancount-3 python-click python-dateutil
+ python-tatsu))
+ (native-inputs (list python-setuptools python-wheel python-pytest))
+ (home-page "https://github.com/beancount/beanquery")
+ (synopsis "Customizable lightweight SQL query tool")
+ (description "Customizable lightweight SQL query tool.")
+ (license license:gpl2)))
+
(define-public fava
(package
(name "fava")
--
2.49.0
Information forwarded
to
sarg <at> sarg.org.ru, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Thu, 08 May 2025 05:08:04 GMT)
Full text and
rfc822 format available.
Message #35 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (python-beangulp): New variable.
Change-Id: Id3fa32decb1ec3fe6d9f697a8647f1b826f022be
---
gnu/packages/finance.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 040854856e..bde8f0519f 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2113,6 +2113,33 @@ (define-public beanquery
(description "Customizable lightweight SQL query tool.")
(license license:gpl2)))
+(define-public python-beangulp
+ (package
+ (name "python-beangulp")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch) ;no test data files in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/beancount/beangulp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zlanw88dq7czgsdvqwz2fgxamyrfnx15ymv4d7fnjrj04glpg47"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list beancount-3
+ python-beautifulsoup4
+ python-chardet
+ python-petl
+ python-click
+ python-lxml
+ python-magic))
+ (native-inputs (list python-setuptools python-wheel python-pytest))
+ (home-page "https://github.com/beancount/beangulp")
+ (synopsis "Importers Framework for Beancount")
+ (description "Importers Framework for Beancount.")
+ (license license:gpl2)))
+
(define-public fava
(package
(name "fava")
--
2.49.0
Information forwarded
to
sarg <at> sarg.org.ru, guix-patches <at> gnu.org
:
bug#78252
; Package
guix-patches
.
(Thu, 08 May 2025 05:08:04 GMT)
Full text and
rfc822 format available.
Message #38 received at 78252 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/finance.scm (fava): Update to 1.30.2.
Change-Id: I95048f2a26ed08ed7747ca80f89a455f38211203
---
gnu/packages/finance.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index bde8f0519f..c1478248dd 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2143,17 +2143,20 @@ (define-public python-beangulp
(define-public fava
(package
(name "fava")
- (version "1.27")
+ (version "1.30.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "fava" version))
(sha256
- (base32 "0cw3pmyrknsw0h4w3v9vyk6wrii68zwkywsyyvjzyl2qz3xq8srk"))))
+ (base32 "110ah1xsapiabjssl6lzp0s7nl5ypszpmqndgfqw4pifpgzp3kdf"))))
(build-system pyproject-build-system)
(propagated-inputs
- (list beancount
+ (list beancount-3
+ beanquery
python-babel
+ python-anyio
+ python-beangulp
python-cheroot
python-click
python-flask
@@ -2162,6 +2165,7 @@ (define-public fava
python-markdown2
python-ply
python-simplejson
+ python-watchfiles
python-werkzeug))
(native-inputs
(list python-babel
--
2.49.0
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.