GNU bug report logs - #40511
Add fava, a beancount web UI

Previous Next

Package: guix-patches;

Reported by: Christopher Lemmer Webber <cwebber <at> dustycloud.org>

Date: Wed, 8 Apr 2020 17:29:02 UTC

Severity: normal

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40511 in the body.
You can then email your comments to 40511 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Wed, 08 Apr 2020 17:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 08 Apr 2020 17:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: guix-patches <at> gnu.org
Subject: Add fava, a beancount web UI
Date: Wed, 08 Apr 2020 13:27:55 -0400
[Message part 1 (text/plain, inline)]
So it turns out fava, a web UI for beancount, is amazing, just amazing.
I recommend everyone use it and switch to it and hug it and tell it how
much they love and appreciate it.  You can see an example version
running here:

  https://fava.pythonanywhere.com/example-beancount-file/income_statement/

I got it "packaged" in the sense that the package works and runs.
However it isn't good enough for Guix yet.

 - Needs to be separated out into separate commits
 - I lost patience with several dependencies' test requirments and
   disabled tests
 - At least one dependency's tests requires a newer pytest.  That's not
   in master yet afaict because, based on this email:
     https://lists.gnu.org/archive/html/guix-devel/2019-10/msg00598.html
   It was waiting for Python 3.8.0 to hit core-updates.  I haven't
   looked yet whether that's happening or not.

I need to get back to other work right now, but figured that it was more
helpful than nothing to leave a "it works, but isn't quite right" patch
on the mailing list before I forgot.

It's really quite close, but I'm drowning in tasks ATM.  Maybe I can
come back to this, though if someone else beat me to it, I wouldn't
complain.

 - Chris

[0001-fava-and-deps-wip.patch (text/x-patch, inline)]
From 220ab3414adb136d09d603ea96e5b321fe06af2e Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 7 Apr 2020 16:10:21 -0400
Subject: [PATCH] fava and deps wip

---
 gnu/packages/finance.scm    |  33 ++++
 gnu/packages/python-xyz.scm | 317 ++++++++++++++++++++++++++++++++++++
 2 files changed, 350 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index e666860392..5de5f168b0 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1440,3 +1440,36 @@ a Qt GUI.")
 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")
+    (version "1.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "fava" version))
+       (sha256
+        (base32
+         "181ypq2p7aaq2b76s55hxxbm1hykzf45mjjgm500h4dsaa167dqy"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("beancount" ,beancount)
+       ("python-babel" ,python-babel)
+       ("python-cheroot" ,python-cheroot)
+       ("python-click" ,python-click)
+       ("python-flask" ,python-flask)
+       ("python-flask-babel" ,python-flask-babel)
+       ("python-jinja2" ,python-jinja2)
+       ("python-markdown2" ,python-markdown2)
+       ("python-ply" ,python-ply)
+       ("python-simplejson" ,python-simplejson)
+       ("python-werkzeug" ,python-werkzeug)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page "https://beancount.github.io/fava/")
+    (synopsis
+     "Web interface for the accounting tool Beancount.")
+    (description
+     "Web interface for the accounting tool Beancount.")
+    (license license:expat)))
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d98b38411f..1191f4e780 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19344,3 +19344,320 @@ an identity provider.  The distribution contains examples of both.
 This package was originally written to work in a WSGI environment, but
 there are extensions that allow you to use it with other frameworks.")
     (license license:asl2.0)))
+
+(define-public python-jaraco-classes
+  (package
+    (name "python-jaraco.classes")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.classes" version))
+       (sha256
+        (base32
+         "1avsxzm5mwylmy2zbxq3xvn48z5djb0qy3hwv4ryncprivzri1n3"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'pytest-black-multipy',") ""))
+             #t)))))
+    (propagated-inputs
+     `(("python-more-itertools" ,python-more-itertools)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs" ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/jaraco/jaraco.classes")
+    (synopsis
+     "Utility functions for Python class constructs")
+    (description
+     "Utility functions for Python class constructs")
+    (license #f)))
+
+(define-public python-jaraco-functools
+  (package
+    (name "python-jaraco-functools")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.functools" version))
+       (sha256
+        (base32
+         "15vd7x4jillggb8xcg3cm00j1v6llhl16r0rqm0l4n2lyahfxc2w"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'pytest-black-multipy',") ""))
+             #t)))))
+    (propagated-inputs
+     `(("python-more-itertools" ,python-more-itertools)))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-jaraco-classes" ,python-jaraco-classes)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs"
+        ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-six" ,python-six)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/jaraco/jaraco.functools")
+    (synopsis "Functools like those found in stdlib")
+    (description
+     "Functools like those found in stdlib")
+    (license #f)))
+
+(define-public python-jaraco-text
+  (package
+    (name "python-jaraco-text")
+    (version "3.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.text" version))
+       (sha256
+        (base32
+         "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-jaraco-functools" ,python-jaraco-functools)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs"
+        ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)))
+    (home-page
+     "https://github.com/jaraco/jaraco.text")
+    (synopsis "Module for text manipulation")
+    (description "Module for text manipulation")
+    (license #f)))
+
+(define-public python-pytest-testmon
+  (package
+    (name "python-pytest-testmon")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-testmon" version))
+       (sha256
+        (base32
+         "1iasz23zrzjgbak8jiq12i4zmkk8f6dmcdhfxz8m2q03agcidc7x"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-coverage" ,python-coverage)
+       ("python-pytest" ,python-pytest)))
+    (home-page "https://testmon.org")
+    (synopsis
+     "selects tests affected by changed files and methods")
+    (description
+     "selects tests affected by changed files and methods")
+    (license #f)))
+
+(define-public python-pytest-watch
+  (package
+    (name "python-pytest-watch")
+    (version "4.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-watch" version))
+       (sha256
+        (base32
+         "1fflnd3varpqy8yzcs451n8h7wmjyx1408qdin5p2qdksl1ny4q6"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-docopt" ,python-docopt)
+       ("python-pytest" ,python-pytest)
+       ("python-watchdog" ,python-watchdog)))
+    (home-page
+     "http://github.com/joeyespo/pytest-watch")
+    (synopsis
+     "Local continuous test runner with pytest and watchdog.")
+    (description
+     "Local continuous test runner with pytest and watchdog.")
+    (license license:expat)))
+
+(define-public python-requests-unixsocket
+  (package
+    (name "python-requests-unixsocket")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "requests-unixsocket" version))
+       (sha256
+        (base32
+         "1sn12y4fw1qki5gxy9wg45gmdrxhrndwfndfjxhpiky3mwh1lp4y"))))
+    ;; why tied to waitress==0.9.0 I have no idea
+    (arguments
+     ;; We don't have all the test deps yet... missing pyttest-cache
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (delete-file "test-requirements.txt")
+             #t)))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)
+       ("python-urllib3" ,python-urllib3)))
+    (native-inputs
+     `(("python-pbr-minimal" ,python-pbr-minimal)
+
+       ;; ("python-waitress" ,python-waitress)
+       ;; ("python-pep8" ,python-pep8)
+       ;; ("python-apipkg" ,python-apipkg)
+       ;; ("python-appdirs" ,python-appdirs)
+       ;; ("python-execnet" ,python-execnet)
+       ;; ("python-packaging" ,python-packaging)
+       ;; ("python-py" ,python-py)
+       ;; ("python-pyparsing" ,python-pyparsing))
+     ))
+    (home-page
+     "https://github.com/msabramo/requests-unixsocket")
+    (synopsis
+     "Use requests to talk HTTP via a UNIX domain socket")
+    (description
+     "Use requests to talk HTTP via a UNIX domain socket")
+    (license #f)))
+
+(define-public python-trustme
+  (package
+    (name "python-trustme")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trustme" version))
+       (sha256
+        (base32
+         "0v3vr5z6apnfmklf07m45kv5kaqvm6hxrkaqywch57bjd2siiywx"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-idna" ,python-idna)))
+    (home-page
+     "https://github.com/python-trio/trustme")
+    (synopsis
+     "#1 quality TLS certs while you wait, for the discerning tester")
+    (description
+     "#1 quality TLS certs while you wait, for the discerning tester")
+    (license #f)))
+
+#;(define-public python-pytest-black-multipy
+  (package
+    (name "python-pytest-black-multipy")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-black-multipy" version))
+       (sha256
+        (base32
+         "1ciwa99fnz3ngbsvcjvxqz4k1vwfmvpxaj7qf5vxkx0awvczhsyd"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs"
+        ,python-pytest-checkdocs)
+       ("python-pytest-flake8" ,python-pytest-flake8)))
+    (home-page "https://github.com/jaraco/skeleton")
+    (synopsis "Allow '--black' on older Pythons")
+    (description "Allow '--black' on older Pythons")
+    (license #f)))
+
+(define-public python-cheroot
+  (package
+    (name "python-cheroot")
+    (version "8.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cheroot" version))
+       (sha256
+        (base32
+         "0cc9cb5via001zkna0i2qp5s0bn1w327q6k7fba2f5v650gpwmx0"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-jaraco-functools" ,python-jaraco-functools)
+       ("python-more-itertools" ,python-more-itertools)
+       ("python-six" ,python-six)))
+    (arguments
+     ;; needs a newer pytest :\
+     `(#:tests? #f
+       ;; So we're also kicking out the dependency giving us
+       ;; trouble...
+       #:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'python-pytest-testmon',") ""))
+             #t)))))
+    (native-inputs
+     `(("python-codecov" ,python-codecov)
+       ("python-colorama" ,python-colorama)
+       ("python-coverage" ,python-coverage)
+       ("python-jaraco-text" ,python-jaraco-text)
+       ("python-pyopenssl" ,python-pyopenssl)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-mock" ,python-pytest-mock)
+       ("python-pytest-sugar" ,python-pytest-sugar)
+       ; ("python-pytest-testmon" ,python-pytest-testmon)
+       ("python-pytest-watch" ,python-pytest-watch)
+       ("python-pytest-xdist" ,python-pytest-xdist)
+       ("python-requests-unixsocket"
+        ,python-requests-unixsocket)
+       ("python-trustme" ,python-trustme)
+       ("python-urllib3" ,python-urllib3)
+       ("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive)))
+    (home-page "https://cheroot.cherrypy.org")
+    (synopsis
+     "Highly-optimized, pure-python HTTP server")
+    (description
+     "Highly-optimized, pure-python HTTP server")
+    (license #f)))
+
+(define-public python-markdown2
+  (package
+    (name "python-markdown2")
+    (version "2.3.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "markdown2" version))
+       (sha256
+        (base32
+         "1gjxy3j7qgl0fzmdqd0jx0gv13s1z9n1g3fd3s72rh4nnc08xy3z"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/trentm/python-markdown2")
+    (synopsis
+     "A fast and complete Python implementation of Markdown")
+    (description
+     "A fast and complete Python implementation of Markdown")
+    (license license:expat)))
-- 
2.26.0


Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:46:01 GMT) Full text and rfc822 format available.

Message #8 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 1/10] gnu: Add python-jarco-classes.
Date: Tue, 28 Apr 2020 15:45:42 -0400
[Message part 1 (text/plain, inline)]
Ok, new patch series!  Broke up all the dependencies!

This might need a little work still but it's closer...

[0001-gnu-Add-python-jarco-classes.patch (text/x-patch, inline)]
From 2891b384b0c18764d8f36b81c542ce45c4adb919 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:18:20 -0400
Subject: [PATCH 01/10] gnu: Add python-jarco-classes.

* gnu/packages/python-xyz.scm (python-jarco-classes): New variable.
---
 gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 31cafd47d1..5f333af9e3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19588,3 +19588,41 @@ workspace...")
 dependencies.  It implements the @uref{http://opensoundcontrol.org/spec-1_0,
 Open Sound Control 1.0} specification.")
     (license license:unlicense)))
+
+(define-public python-jaraco-classes
+  (package
+    (name "python-jaraco.classes")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.classes" version))
+       (sha256
+        (base32
+         "1avsxzm5mwylmy2zbxq3xvn48z5djb0qy3hwv4ryncprivzri1n3"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'pytest-black-multipy',") ""))
+             #t)))))
+    (propagated-inputs
+     `(("python-more-itertools" ,python-more-itertools)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs" ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/jaraco/jaraco.classes")
+    (synopsis
+     "Utility functions for Python class constructs")
+    (description
+     "This package provides utility functions for Python class constructs.")
+    (license #f)))
+
-- 
2.26.0


Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:48:01 GMT) Full text and rfc822 format available.

Message #11 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 2/10] gnu: Add python-jaraco-functools.
Date: Tue, 28 Apr 2020 15:47:30 -0400
[0002-gnu-Add-python-jaraco-functools.patch (text/x-patch, inline)]
From d2099fba3733f8e8bb457f422095409b53c17d4a Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:19:04 -0400
Subject: [PATCH 02/10] gnu: Add python-jaraco-functools.

* gnu/packages/python-xyz.scm (python-jaraco-functools): New variable.
---
 gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f333af9e3..54a0ac36bd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19626,3 +19626,43 @@ Open Sound Control 1.0} specification.")
      "This package provides utility functions for Python class constructs.")
     (license #f)))
 
+(define-public python-jaraco-functools
+  (package
+    (name "python-jaraco-functools")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.functools" version))
+       (sha256
+        (base32
+         "15vd7x4jillggb8xcg3cm00j1v6llhl16r0rqm0l4n2lyahfxc2w"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'pytest-black-multipy',") ""))
+             #t)))))
+    (propagated-inputs
+     `(("python-more-itertools" ,python-more-itertools)))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-jaraco-classes" ,python-jaraco-classes)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs"
+        ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-six" ,python-six)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/jaraco/jaraco.functools")
+    (synopsis "Functools like those found in stdlib")
+    (description
+     "This package provides functools like those found in stdlib.")
+    (license #f)))
+
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:48:02 GMT) Full text and rfc822 format available.

Message #14 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 3/10] gnu: Add python-jarco-text.
Date: Tue, 28 Apr 2020 15:47:58 -0400
[0003-gnu-Add-python-jarco-text.patch (text/x-patch, inline)]
From 5b45a4cd2f10241ddd95e1d761dd9636a4c3cbc1 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:20:54 -0400
Subject: [PATCH 03/10] gnu: Add python-jarco-text.

* gnu/packages/python-xyz.scm (python-jarco-text): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 54a0ac36bd..0a031baac2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19666,3 +19666,31 @@ Open Sound Control 1.0} specification.")
      "This package provides functools like those found in stdlib.")
     (license #f)))
 
+(define-public python-jaraco-text
+  (package
+    (name "python-jaraco-text")
+    (version "3.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.text" version))
+       (sha256
+        (base32
+         "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-jaraco-functools" ,python-jaraco-functools)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs"
+        ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)))
+    (home-page
+     "https://github.com/jaraco/jaraco.text")
+    (synopsis "Module for text manipulation")
+    (description "Python modules for text manipulation.")
+    (license #f)))
+
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:49:01 GMT) Full text and rfc822 format available.

Message #17 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 4/10] gnu: Add python-pytest-testmon.
Date: Tue, 28 Apr 2020 15:48:17 -0400
[0004-gnu-Add-python-pytest-testmon.patch (text/x-patch, inline)]
From 640ee423f25e1479ae8aa174acd6f1f0530a6325 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:21:16 -0400
Subject: [PATCH 04/10] gnu: Add python-pytest-testmon.

* gnu/packages/python-xyz.scm (python-pytest-testmon): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0a031baac2..062dfe1d2b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19694,3 +19694,25 @@ Open Sound Control 1.0} specification.")
     (description "Python modules for text manipulation.")
     (license #f)))
 
+(define-public python-pytest-testmon
+  (package
+    (name "python-pytest-testmon")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-testmon" version))
+       (sha256
+        (base32
+         "1iasz23zrzjgbak8jiq12i4zmkk8f6dmcdhfxz8m2q03agcidc7x"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-coverage" ,python-coverage)
+       ("python-pytest" ,python-pytest)))
+    (home-page "https://testmon.org")
+    (synopsis
+     "Selects tests affected by changed files and methods")
+    (description
+     "Pytest module for selecting tests affected by changed files and
+methods.")
+    (license #f)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:49:02 GMT) Full text and rfc822 format available.

Message #20 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 5/10] gnu: Add python-pytest-watch.
Date: Tue, 28 Apr 2020 15:48:37 -0400
[0005-gnu-Add-python-pytest-watch.patch (text/x-patch, inline)]
From 517253fdc76d5e96ab631e08d6a230c5734f141a Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:21:36 -0400
Subject: [PATCH 05/10] gnu: Add python-pytest-watch.

* gnu/packages/python-xyz.scm (python-pytest-watch): New variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 062dfe1d2b..d9a972c456 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19716,3 +19716,29 @@ Open Sound Control 1.0} specification.")
      "Pytest module for selecting tests affected by changed files and
 methods.")
     (license #f)))
+
+(define-public python-pytest-watch
+  (package
+    (name "python-pytest-watch")
+    (version "4.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-watch" version))
+       (sha256
+        (base32
+         "1fflnd3varpqy8yzcs451n8h7wmjyx1408qdin5p2qdksl1ny4q6"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-docopt" ,python-docopt)
+       ("python-pytest" ,python-pytest)
+       ("python-watchdog" ,python-watchdog)))
+    (home-page
+     "http://github.com/joeyespo/pytest-watch")
+    (synopsis
+     "Local continuous test runner for pytest and watchdog")
+    (description
+     "This package provides a local continuous test runner for pytest
+and watchdog.")
+    (license license:expat)))
-- 
2.26.0





Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:50:01 GMT) Full text and rfc822 format available.

Message #23 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 6/10] gnu: Add python-requests-unixsocket.
Date: Tue, 28 Apr 2020 15:48:59 -0400
[0006-gnu-Add-python-requests-unixsocket.patch (text/x-patch, inline)]
From 873652e761e8d59f8f2d80da1f9ad3d469013988 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:01 -0400
Subject: [PATCH 06/10] gnu: Add python-requests-unixsocket.

* gnu/packages/python-xyz.scm (python-requests-unixsocket): New variable.
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d9a972c456..2c354c8d71 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19742,3 +19742,39 @@ methods.")
      "This package provides a local continuous test runner for pytest
 and watchdog.")
     (license license:expat)))
+
+(define-public python-requests-unixsocket
+  (package
+    (name "python-requests-unixsocket")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "requests-unixsocket" version))
+       (sha256
+        (base32
+         "1sn12y4fw1qki5gxy9wg45gmdrxhrndwfndfjxhpiky3mwh1lp4y"))))
+    ;; why tied to waitress==0.9.0 I have no idea
+    (arguments
+     ;; We don't have all the test deps yet... missing pyttest-cache
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (delete-file "test-requirements.txt")
+             #t)))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)
+       ("python-urllib3" ,python-urllib3)))
+    (native-inputs
+     `(("python-pbr-minimal" ,python-pbr-minimal)))
+    (home-page
+     "https://github.com/msabramo/requests-unixsocket")
+    (synopsis
+     "Use requests to talk HTTP via a UNIX domain socket")
+    (description
+     "Use the Python requests library to talk HTTP via a UNIX domain socket.")
+    (license #f)))
-- 
2.26.0





Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:50:02 GMT) Full text and rfc822 format available.

Message #26 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 7/10] gnu: Add python-trustme.
Date: Tue, 28 Apr 2020 15:49:24 -0400
[0007-gnu-Add-python-trustme.patch (text/x-patch, inline)]
From bd5d7d55de0653cbde7776056c37d20999c94890 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:18 -0400
Subject: [PATCH 07/10] gnu: Add python-trustme.

* gnu/packages/python-xyz.scm (python-trustme): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2c354c8d71..153463f7bd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19778,3 +19778,26 @@ and watchdog.")
     (description
      "Use the Python requests library to talk HTTP via a UNIX domain socket.")
     (license #f)))
+
+(define-public python-trustme
+  (package
+    (name "python-trustme")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trustme" version))
+       (sha256
+        (base32
+         "0v3vr5z6apnfmklf07m45kv5kaqvm6hxrkaqywch57bjd2siiywx"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-idna" ,python-idna)))
+    (home-page
+     "https://github.com/python-trio/trustme")
+    (synopsis
+     "Fake certificate authority for unit tests")
+    (description
+     "Provides fake a fake TLS certificate authority for Python unit tests.")
+    (license #f)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:50:02 GMT) Full text and rfc822 format available.

Message #29 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 8/10] gnu: Add python-cheroot.
Date: Tue, 28 Apr 2020 15:49:44 -0400
[0008-gnu-Add-python-cheroot.patch (text/x-patch, inline)]
From 3621878476cbfd083a39921bf1e090cb22b08d43 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:40 -0400
Subject: [PATCH 08/10] gnu: Add python-cheroot.

* gnu/packages/python-xyz.scm (python-cheroot): New variable.
---
 gnu/packages/python-xyz.scm | 53 +++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 153463f7bd..60839d646c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19801,3 +19801,56 @@ and watchdog.")
     (description
      "Provides fake a fake TLS certificate authority for Python unit tests.")
     (license #f)))
+
+(define-public python-cheroot
+  (package
+    (name "python-cheroot")
+    (version "8.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cheroot" version))
+       (sha256
+        (base32
+         "0cc9cb5via001zkna0i2qp5s0bn1w327q6k7fba2f5v650gpwmx0"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-jaraco-functools" ,python-jaraco-functools)
+       ("python-more-itertools" ,python-more-itertools)
+       ("python-six" ,python-six)))
+    (arguments
+     ;; needs a newer pytest :\
+     `(#:tests? #f
+       ;; So we're also kicking out the dependency giving us
+       ;; trouble...
+       #:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'python-pytest-testmon',") ""))
+             #t)))))
+    (native-inputs
+     `(("python-codecov" ,python-codecov)
+       ("python-colorama" ,python-colorama)
+       ("python-coverage" ,python-coverage)
+       ("python-jaraco-text" ,python-jaraco-text)
+       ("python-pyopenssl" ,python-pyopenssl)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-mock" ,python-pytest-mock)
+       ("python-pytest-sugar" ,python-pytest-sugar)
+       ("python-pytest-watch" ,python-pytest-watch)
+       ("python-pytest-xdist" ,python-pytest-xdist)
+       ("python-requests-unixsocket"
+        ,python-requests-unixsocket)
+       ("python-trustme" ,python-trustme)
+       ("python-urllib3" ,python-urllib3)
+       ("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive)))
+    (home-page "https://cheroot.cherrypy.org")
+    (synopsis
+     "Pure-python HTTP server with an emphasis on performance")
+    (description
+     "Cheroot is the pure-Python HTTP server used by CherryPy.")
+    (license #f)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:51:02 GMT) Full text and rfc822 format available.

Message #32 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 9/10] gnu: Add python-markdown2.
Date: Tue, 28 Apr 2020 15:50:31 -0400
[0009-gnu-Add-python-markdown2.patch (text/x-patch, inline)]
From 0f1d8bbc93e0da5d8b5f94771dd52233a34db105 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:54 -0400
Subject: [PATCH 09/10] gnu: Add python-markdown2.

* gnu/packages/python-xyz.scm (python-markdown2): New variable.
---
 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 60839d646c..3af73e62c4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19854,3 +19854,24 @@ and watchdog.")
     (description
      "Cheroot is the pure-Python HTTP server used by CherryPy.")
     (license #f)))
+
+(define-public python-markdown2
+  (package
+    (name "python-markdown2")
+    (version "2.3.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "markdown2" version))
+       (sha256
+        (base32
+         "1gjxy3j7qgl0fzmdqd0jx0gv13s1z9n1g3fd3s72rh4nnc08xy3z"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/trentm/python-markdown2")
+    (synopsis
+     "A fast and complete Python implementation of Markdown")
+    (description
+     "A Python implementation of Markdown which aims to closely match
+the behavior of the original perl-implemented Markdown.pl.")
+    (license license:expat)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 19:52:01 GMT) Full text and rfc822 format available.

Message #35 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [PATCH 10/10] gnu: Add fava.
Date: Tue, 28 Apr 2020 15:51:32 -0400
[0010-gnu-Add-fava.patch (text/x-patch, inline)]
From 9614e1daf0ca1c43595bf6f1522121874f65b66a Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:39:25 -0400
Subject: [PATCH 10/10] gnu: Add fava.

* gnu/packages/finance.scm (fava): New variable.
---
 gnu/packages/finance.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c31b87ec19..2553980aaa 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1594,3 +1594,42 @@ generate a variety of reports from them, and provides a web interface.")
     (synopsis "Emacs mode for beancount")
     (description
       "Emacs-beancount is an Emacs mode for the Beancount accounting tool.")))
+
+(define-public fava
+  (package
+    (name "fava")
+    (version "1.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "fava" version))
+       (sha256
+        (base32
+         "181ypq2p7aaq2b76s55hxxbm1hykzf45mjjgm500h4dsaa167dqy"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("beancount" ,beancount)
+       ("python-babel" ,python-babel)
+       ("python-bottle" ,python-bottle)
+       ("python-cheroot" ,python-cheroot)
+       ("python-dateutil" ,python-dateutil)
+       ("python-click" ,python-click)
+       ("python-flask" ,python-flask)
+       ("python-flask-babel" ,python-flask-babel)
+       ("python-jinja2" ,python-jinja2)
+       ("python-lxml" ,python-lxml)
+       ("python-markdown2" ,python-markdown2)
+       ("python-magic" ,python-magic)
+       ("python-ply" ,python-ply)
+       ("python-simplejson" ,python-simplejson)
+       ("python-beautifulsoup4" ,python-beautifulsoup4)
+       ("python-werkzeug" ,python-werkzeug)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-pytest" ,python-pytest)))
+    (home-page "https://beancount.github.io/fava/")
+    (synopsis
+     "Web interface for the accounting tool Beancount")
+    (description
+     "Fava is a web interface for the accounting tool Beancount.")
+    (license license:expat)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:18:02 GMT) Full text and rfc822 format available.

Message #38 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 1/10] gnu: Add python-jarco-classes.
Date: Tue, 28 Apr 2020 16:17:50 -0400
[Message part 1 (text/plain, inline)]
grumble grumble forgot a bunch of license fields grumble grumble

[0001-gnu-Add-python-jarco-classes.patch (text/x-patch, inline)]
From 9949ba38f867846d231965864a133d13a791f343 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:18:20 -0400
Subject: [PATCH 01/10] gnu: Add python-jarco-classes.

* gnu/packages/python-xyz.scm (python-jarco-classes): New variable.
---
 gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 31cafd47d1..3998475c3d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19588,3 +19588,41 @@ workspace...")
 dependencies.  It implements the @uref{http://opensoundcontrol.org/spec-1_0,
 Open Sound Control 1.0} specification.")
     (license license:unlicense)))
+
+(define-public python-jaraco-classes
+  (package
+    (name "python-jaraco.classes")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.classes" version))
+       (sha256
+        (base32
+         "1avsxzm5mwylmy2zbxq3xvn48z5djb0qy3hwv4ryncprivzri1n3"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'pytest-black-multipy',") ""))
+             #t)))))
+    (propagated-inputs
+     `(("python-more-itertools" ,python-more-itertools)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs" ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/jaraco/jaraco.classes")
+    (synopsis
+     "Utility functions for Python class constructs")
+    (description
+     "This package provides utility functions for Python class constructs.")
+    (license license:expat)))
+
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:19:01 GMT) Full text and rfc822 format available.

Message #41 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 2/10] gnu: Add python-jaraco-functools.
Date: Tue, 28 Apr 2020 16:18:15 -0400
[0002-gnu-Add-python-jaraco-functools.patch (text/x-patch, inline)]
From 7b6c006f28eb431df85967881e2d7309591c5afa Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:19:04 -0400
Subject: [PATCH 02/10] gnu: Add python-jaraco-functools.

* gnu/packages/python-xyz.scm (python-jaraco-functools): New variable.
---
 gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3998475c3d..8e0112883d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19626,3 +19626,43 @@ Open Sound Control 1.0} specification.")
      "This package provides utility functions for Python class constructs.")
     (license license:expat)))
 
+(define-public python-jaraco-functools
+  (package
+    (name "python-jaraco-functools")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.functools" version))
+       (sha256
+        (base32
+         "15vd7x4jillggb8xcg3cm00j1v6llhl16r0rqm0l4n2lyahfxc2w"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'pytest-black-multipy',") ""))
+             #t)))))
+    (propagated-inputs
+     `(("python-more-itertools" ,python-more-itertools)))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-jaraco-classes" ,python-jaraco-classes)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs"
+        ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-six" ,python-six)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/jaraco/jaraco.functools")
+    (synopsis "Functools like those found in stdlib")
+    (description
+     "This package provides functools like those found in stdlib.")
+    (license license:expat)))
+
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:19:02 GMT) Full text and rfc822 format available.

Message #44 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 3/10] gnu: Add python-jarco-text.
Date: Tue, 28 Apr 2020 16:18:35 -0400
[0003-gnu-Add-python-jarco-text.patch (text/x-patch, inline)]
From cdd7cb93fb9000639377911c3bacaace664bf47d Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:20:54 -0400
Subject: [PATCH 03/10] gnu: Add python-jarco-text.

* gnu/packages/python-xyz.scm (python-jarco-text): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8e0112883d..b00c8cf284 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19666,3 +19666,31 @@ Open Sound Control 1.0} specification.")
      "This package provides functools like those found in stdlib.")
     (license license:expat)))
 
+(define-public python-jaraco-text
+  (package
+    (name "python-jaraco-text")
+    (version "3.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.text" version))
+       (sha256
+        (base32
+         "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-jaraco-functools" ,python-jaraco-functools)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs"
+        ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)))
+    (home-page
+     "https://github.com/jaraco/jaraco.text")
+    (synopsis "Module for text manipulation")
+    (description "Python modules for text manipulation.")
+    (license license:expat)))
+
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:20:02 GMT) Full text and rfc822 format available.

Message #47 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 4/10] gnu: Add python-pytest-testmon.
Date: Tue, 28 Apr 2020 16:19:23 -0400
[0004-gnu-Add-python-pytest-testmon.patch (text/x-patch, inline)]
From 96433376d8c698acc263bd34abd485f0b81bc4f9 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:21:16 -0400
Subject: [PATCH 04/10] gnu: Add python-pytest-testmon.

* gnu/packages/python-xyz.scm (python-pytest-testmon): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b00c8cf284..bcebf05813 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19694,3 +19694,25 @@ Open Sound Control 1.0} specification.")
     (description "Python modules for text manipulation.")
     (license license:expat)))
 
+(define-public python-pytest-testmon
+  (package
+    (name "python-pytest-testmon")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-testmon" version))
+       (sha256
+        (base32
+         "1iasz23zrzjgbak8jiq12i4zmkk8f6dmcdhfxz8m2q03agcidc7x"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-coverage" ,python-coverage)
+       ("python-pytest" ,python-pytest)))
+    (home-page "https://testmon.org")
+    (synopsis
+     "Selects tests affected by changed files and methods")
+    (description
+     "Pytest module for selecting tests affected by changed files and
+methods.")
+    (license license:agpl3+)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:20:02 GMT) Full text and rfc822 format available.

Message #50 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 5/10] gnu: Add python-pytest-watch.
Date: Tue, 28 Apr 2020 16:19:52 -0400
[0005-gnu-Add-python-pytest-watch.patch (text/x-patch, inline)]
From 31fc8e533ba048ef407e5058b79fe0a3cfc65db4 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:21:36 -0400
Subject: [PATCH 05/10] gnu: Add python-pytest-watch.

* gnu/packages/python-xyz.scm (python-pytest-watch): New variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bcebf05813..bfbe7ef1e7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19716,3 +19716,29 @@ Open Sound Control 1.0} specification.")
      "Pytest module for selecting tests affected by changed files and
 methods.")
     (license license:agpl3+)))
+
+(define-public python-pytest-watch
+  (package
+    (name "python-pytest-watch")
+    (version "4.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-watch" version))
+       (sha256
+        (base32
+         "1fflnd3varpqy8yzcs451n8h7wmjyx1408qdin5p2qdksl1ny4q6"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-docopt" ,python-docopt)
+       ("python-pytest" ,python-pytest)
+       ("python-watchdog" ,python-watchdog)))
+    (home-page
+     "http://github.com/joeyespo/pytest-watch")
+    (synopsis
+     "Local continuous test runner for pytest and watchdog")
+    (description
+     "This package provides a local continuous test runner for pytest
+and watchdog.")
+    (license license:expat)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:21:01 GMT) Full text and rfc822 format available.

Message #53 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 6/10] gnu: Add python-requests-unixsocket.
Date: Tue, 28 Apr 2020 16:20:12 -0400
[0006-gnu-Add-python-requests-unixsocket.patch (text/x-patch, inline)]
From 9ca089c5abb29c054bb51f67c3d68090b839e262 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:01 -0400
Subject: [PATCH 06/10] gnu: Add python-requests-unixsocket.

* gnu/packages/python-xyz.scm (python-requests-unixsocket): New variable.
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bfbe7ef1e7..70ff012fb6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19742,3 +19742,39 @@ methods.")
      "This package provides a local continuous test runner for pytest
 and watchdog.")
     (license license:expat)))
+
+(define-public python-requests-unixsocket
+  (package
+    (name "python-requests-unixsocket")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "requests-unixsocket" version))
+       (sha256
+        (base32
+         "1sn12y4fw1qki5gxy9wg45gmdrxhrndwfndfjxhpiky3mwh1lp4y"))))
+    ;; why tied to waitress==0.9.0 I have no idea
+    (arguments
+     ;; We don't have all the test deps yet... missing pyttest-cache
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (delete-file "test-requirements.txt")
+             #t)))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)
+       ("python-urllib3" ,python-urllib3)))
+    (native-inputs
+     `(("python-pbr-minimal" ,python-pbr-minimal)))
+    (home-page
+     "https://github.com/msabramo/requests-unixsocket")
+    (synopsis
+     "Use requests to talk HTTP via a UNIX domain socket")
+    (description
+     "Use the Python requests library to talk HTTP via a UNIX domain socket.")
+    (license license:asl2.0)))
-- 
2.26.0





Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:21:02 GMT) Full text and rfc822 format available.

Message #56 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 7/10] gnu: Add python-trustme.
Date: Tue, 28 Apr 2020 16:20:37 -0400
[0007-gnu-Add-python-trustme.patch (text/x-patch, inline)]
From 7ee9609dbe202a7fa2199c659ef8469415b283b2 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:18 -0400
Subject: [PATCH 07/10] gnu: Add python-trustme.

* gnu/packages/python-xyz.scm (python-trustme): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 70ff012fb6..a6d86cbc50 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19778,3 +19778,26 @@ and watchdog.")
     (description
      "Use the Python requests library to talk HTTP via a UNIX domain socket.")
     (license license:asl2.0)))
+
+(define-public python-trustme
+  (package
+    (name "python-trustme")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trustme" version))
+       (sha256
+        (base32
+         "0v3vr5z6apnfmklf07m45kv5kaqvm6hxrkaqywch57bjd2siiywx"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-idna" ,python-idna)))
+    (home-page
+     "https://github.com/python-trio/trustme")
+    (synopsis
+     "Fake certificate authority for unit tests")
+    (description
+     "Provides fake a fake TLS certificate authority for Python unit tests.")
+    (license license:asl2.0)))
-- 
2.26.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:22:01 GMT) Full text and rfc822 format available.

Message #59 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 8/10] gnu: Add python-cheroot.
Date: Tue, 28 Apr 2020 16:21:16 -0400
[0008-gnu-Add-python-cheroot.patch (text/x-patch, inline)]
From fd6a8ecaf8d6ee39fbd01188950fd8235de72842 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:40 -0400
Subject: [PATCH 08/10] gnu: Add python-cheroot.

* gnu/packages/python-xyz.scm (python-cheroot): New variable.
---
 gnu/packages/python-xyz.scm | 53 +++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a6d86cbc50..d3b0b61441 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19801,3 +19801,56 @@ and watchdog.")
     (description
      "Provides fake a fake TLS certificate authority for Python unit tests.")
     (license license:asl2.0)))
+
+(define-public python-cheroot
+  (package
+    (name "python-cheroot")
+    (version "8.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cheroot" version))
+       (sha256
+        (base32
+         "0cc9cb5via001zkna0i2qp5s0bn1w327q6k7fba2f5v650gpwmx0"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-jaraco-functools" ,python-jaraco-functools)
+       ("python-more-itertools" ,python-more-itertools)
+       ("python-six" ,python-six)))
+    (arguments
+     ;; needs a newer pytest :\
+     `(#:tests? #f
+       ;; So we're also kicking out the dependency giving us
+       ;; trouble...
+       #:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'python-pytest-testmon',") ""))
+             #t)))))
+    (native-inputs
+     `(("python-codecov" ,python-codecov)
+       ("python-colorama" ,python-colorama)
+       ("python-coverage" ,python-coverage)
+       ("python-jaraco-text" ,python-jaraco-text)
+       ("python-pyopenssl" ,python-pyopenssl)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-mock" ,python-pytest-mock)
+       ("python-pytest-sugar" ,python-pytest-sugar)
+       ("python-pytest-watch" ,python-pytest-watch)
+       ("python-pytest-xdist" ,python-pytest-xdist)
+       ("python-requests-unixsocket"
+        ,python-requests-unixsocket)
+       ("python-trustme" ,python-trustme)
+       ("python-urllib3" ,python-urllib3)
+       ("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive)))
+    (home-page "https://cheroot.cherrypy.org")
+    (synopsis
+     "Pure-python HTTP server with an emphasis on performance")
+    (description
+     "Cheroot is the pure-Python HTTP server used by CherryPy.")
+    (license license:bsd-3)))
-- 
2.26.0





Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:22:02 GMT) Full text and rfc822 format available.

Message #62 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: [REDO 1] [PATCH 9/10] gnu: Add python-markdown2.
Date: Tue, 28 Apr 2020 16:21:33 -0400
[0009-gnu-Add-python-markdown2.patch (text/x-patch, inline)]
From 6846e2fd1411d24a85d83a339e57218e9f190de4 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Tue, 28 Apr 2020 15:22:54 -0400
Subject: [PATCH 09/10] gnu: Add python-markdown2.

* gnu/packages/python-xyz.scm (python-markdown2): New variable.
---
 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 d3b0b61441..799d54c19c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19854,3 +19854,24 @@ and watchdog.")
     (description
      "Cheroot is the pure-Python HTTP server used by CherryPy.")
     (license license:bsd-3)))
+
+(define-public python-markdown2
+  (package
+    (name "python-markdown2")
+    (version "2.3.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "markdown2" version))
+       (sha256
+        (base32
+         "1gjxy3j7qgl0fzmdqd0jx0gv13s1z9n1g3fd3s72rh4nnc08xy3z"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/trentm/python-markdown2")
+    (synopsis
+     "A fast and complete Python implementation of Markdown")
+    (description
+     "A Python implementation of Markdown which aims to closely match
+the behavior of the original perl-implemented Markdown.pl.")
+    (license license:expat)))
-- 
2.26.0





Information forwarded to guix-patches <at> gnu.org:
bug#40511; Package guix-patches. (Tue, 28 Apr 2020 20:23:02 GMT) Full text and rfc822 format available.

Message #65 received at 40511 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: 40511 <at> debbugs.gnu.org
Subject: Re: [bug#40511] [PATCH 10/10] gnu: Add fava.
Date: Tue, 28 Apr 2020 16:22:09 -0400
And finally, patch 10 doesn't need any fixes to it, so it's the same as
last time.

That sure was annoying, but at least I learned how to use Magit's "edit"
rebase tool.




Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Tue, 19 Mar 2024 09:58:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
bug acknowledged by developer. (Tue, 19 Mar 2024 09:58:02 GMT) Full text and rfc822 format available.

Message #70 received at 40511-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 40511-done <at> debbugs.gnu.org
Subject: Add fava, a beancount web UI
Date: Tue, 19 Mar 2024 09:55:29 +0000
[Message part 1 (text/plain, inline)]
Hi,

Fava was added by applying some of the patches from
<https://issues.guix.gnu.org/60238> and pushed as 228c55cbf0..044d3f4bef
to master.

Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Apr 2024 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.