GNU bug report logs - #50033
[PATCH 0/4] Add Isso.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Thu, 12 Aug 2021 23:58:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 50033 AT debbugs.gnu.org.

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#50033; Package guix-patches. (Thu, 12 Aug 2021 23:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vinicius Monego <monego <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 12 Aug 2021 23:58:02 GMT) Full text and rfc822 format available.

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

From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 0/4] Add Isso.
Date: Thu, 12 Aug 2021 23:55:30 +0000
Vinicius Monego (4):
  gnu: python-bleach: Add dependency on python-packaging.
  gnu: python-bleach: Enable tests.
  gnu: Add python-flask-caching.
  gnu: Add isso.

 gnu/packages/python-web.scm | 31 +++++++++++++++++++++++++++++++
 gnu/packages/python-xyz.scm | 13 +++++++++++--
 gnu/packages/web.scm        | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 2 deletions(-)

-- 
2.30.2





Information forwarded to guix-patches <at> gnu.org:
bug#50033; Package guix-patches. (Fri, 13 Aug 2021 00:00:01 GMT) Full text and rfc822 format available.

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

From: Vinicius Monego <monego <at> posteo.net>
To: 50033 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 1/4] gnu: python-bleach: Add dependency on python-packaging.
Date: Thu, 12 Aug 2021 23:58:04 +0000
* gnu/packages/python-xyz.scm (python-bleach)[propagated-inputs]: Add
python-packaging.
---
 gnu/packages/python-xyz.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 295d158bd3..26fee98644 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11054,8 +11054,9 @@ Jupyter Notebook format and Python APIs for working with notebooks.")
         (base32 "0jqa8f1ni10cyf4h7sjpf8mbqlcbkyvmsnli77qrxdcxvc7m4k1w"))))
     (build-system python-build-system)
     (propagated-inputs
-     `(("python-webencodings" ,python-webencodings)
-       ("python-six" ,python-six)))
+     `(("python-packaging" ,python-packaging)
+       ("python-six" ,python-six)
+       ("python-webencodings" ,python-webencodings)))
     (native-inputs
      `(("python-datrie" ,python-datrie)
        ("python-genshi" ,python-genshi)
-- 
2.30.2





Information forwarded to guix-patches <at> gnu.org:
bug#50033; Package guix-patches. (Fri, 13 Aug 2021 00:00:02 GMT) Full text and rfc822 format available.

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

From: Vinicius Monego <monego <at> posteo.net>
To: 50033 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 2/4] gnu: python-bleach: Enable tests.
Date: Thu, 12 Aug 2021 23:58:05 +0000
* gnu/packages/python-xyz.scm (python-bleach)[arguments]: Override 'check
phase.
---
 gnu/packages/python-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 26fee98644..edfc945369 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11053,6 +11053,14 @@ Jupyter Notebook format and Python APIs for working with notebooks.")
        (sha256
         (base32 "0jqa8f1ni10cyf4h7sjpf8mbqlcbkyvmsnli77qrxdcxvc7m4k1w"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (propagated-inputs
      `(("python-packaging" ,python-packaging)
        ("python-six" ,python-six)
-- 
2.30.2





Information forwarded to guix-patches <at> gnu.org:
bug#50033; Package guix-patches. (Fri, 13 Aug 2021 00:00:02 GMT) Full text and rfc822 format available.

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

From: Vinicius Monego <monego <at> posteo.net>
To: 50033 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 3/4] gnu: Add python-flask-caching.
Date: Thu, 12 Aug 2021 23:58:06 +0000
* gnu/packages/python-web.scm (python-flask-caching): New variable.
---
 gnu/packages/python-web.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5df134ddff..36e1bf7541 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1018,6 +1018,37 @@ support for Flask.  This is based on the Python babel module as well as pytz -
 both of which are installed automatically if you install this library.")
     (license license:bsd-3)))
 
+(define-public python-flask-caching
+  (package
+    (name "python-flask-caching")
+    (version "1.10.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Caching" version))
+       (sha256
+        (base32 "000wl24ig22yzvx3dkl3yv5z0lzd6asmaz5fwh1vmhpbzhibf6fg"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       "not test_init_nullcache")))))))
+    (native-inputs
+     `(("python-flask" ,python-flask)
+       ("python-memcached" ,python-memcached)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)))
+    (home-page "https://github.com/sh4nks/flask-caching")
+    (synopsis "Caching extension for Flask")
+    (description "This package adds caching support to Flask.  It is a fork of
+the Flask-Cache extension.")
+    (license license:bsd-3)))
+
 (define-public python-flask-cors
   (package
     (name "python-flask-cors")
-- 
2.30.2





Information forwarded to guix-patches <at> gnu.org:
bug#50033; Package guix-patches. (Fri, 13 Aug 2021 00:01:01 GMT) Full text and rfc822 format available.

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

From: Vinicius Monego <monego <at> posteo.net>
To: 50033 <at> debbugs.gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 4/4] gnu: Add isso.
Date: Thu, 12 Aug 2021 23:58:07 +0000
* gnu/packages/web.scm (isso): New variable.
---
 gnu/packages/web.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 432ed3c445..cab0fa248e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2021 Matthew James Kraai <kraai <at> ftbfs.org>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian <at> mgsn.dev>
 ;;; Copyright © 2021 Jack Hill <jackhill <at> jackhill.us>
+;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5071,6 +5072,37 @@ using CSS selectors.  Inspired by @command{jq}, @command{pup} aims to be a
 fast and flexible way of exploring HTML from the terminal.")
       (license license:expat))))
 
+(define-public isso
+  (package
+    (name "isso")
+    (version "0.12.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "isso" version))
+       (sha256
+        (base32 "148n8w1v5p26dbx4d3zij9qjj8bp59zsaf07r6cxmfxrpic6b9px"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:test-target "nosetests"))
+    (native-inputs
+     `(("python-flask" ,python-flask)
+       ("python-nose" ,python-nose)))
+    (inputs
+     `(("python-bleach" ,python-bleach)
+       ("python-flask-caching" ,python-flask-caching)
+       ("python-html5lib" ,python-html5lib)
+       ("python-itsdangerous" ,python-itsdangerous)
+       ("python-jinja2" ,python-jinja2)
+       ("python-misaka" ,python-misaka)
+       ("python-werkzeug" ,python-werkzeug)))
+    (home-page "https://github.com/posativ/isso/")
+    (synopsis "Lightweight commenting server")
+    (description "Isso – Ich schrei sonst – is a lightweight commenting server
+written in Python and JavaScript.  It aims to be a drop-in replacement for
+Disqus.")
+    (license license:expat)))
+
 (define-public uhttpmock
   (package
     (name "uhttpmock")
-- 
2.30.2





This bug report was last modified 2 years and 257 days ago.

Previous Next


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