all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#49429] [PATCH]  gnu: Add python-flask-misaka.
@ 2021-07-06  5:27 jgart via Guix-patches via
  2021-07-06  5:32 ` jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-07-06  5:27 UTC (permalink / raw)
  To: 49429

Hi Guix,

This is a patch for python-flask-misaka. Tests are enabled and passing.

Thank you!

jgart




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#49429] [PATCH]  gnu: Add python-flask-misaka.
  2021-07-06  5:27 [bug#49429] [PATCH] gnu: Add python-flask-misaka jgart via Guix-patches via
@ 2021-07-06  5:32 ` jgart via Guix-patches via
  2021-07-26 17:40   ` bug#49429: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-07-06  5:32 UTC (permalink / raw)
  To: 49429; +Cc: jgart

* gnu/packages/python-web.scm (python-flask-misaka): New variable.
---
 gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 656f310dc1..e0027ce9dc 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1063,6 +1063,32 @@ Origin Resource Sharing}, making cross-origin AJAX possible.")
 into Jinja2 by default.")
     (license license:bsd-3)))
 
+(define-public python-flask-misaka
+  (package
+    (name "python-flask-misaka")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Flask-Misaka" version))
+        (sha256
+          (base32
+            "12gm6hq3lvlj0ddw8p6lk5pky8jk3pw758ihffjl49shnnzc68zl"))))
+    (build-system python-build-system)
+    (native-inputs
+      `(("python-coverage" ,python-coverage)
+        ("python-mock" ,python-mock)))
+    (propagated-inputs
+      `(("python-flask" ,python-flask)
+        ("python-misaka" ,python-misaka)))
+    (home-page
+      "https://github.com/singingwolfboy/flask-misaka/")
+    (synopsis
+      "Flask interface to Misaka, a markdown parsing library")
+    (description
+      "A pleasant interface between the Flask web framework and the Misaka Markdown parser.")
+    (license license:expat)))
+
 (define-public python-flask-session
   (package
     (name "python-flask-session")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#49429: [PATCH]  gnu: Add python-flask-misaka.
  2021-07-06  5:32 ` jgart via Guix-patches via
@ 2021-07-26 17:40   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2021-07-26 17:40 UTC (permalink / raw)
  To: jgart; +Cc: 49429-done

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

Hi,

jgart <jgart@dismail.de> skribis:

> * gnu/packages/python-web.scm (python-flask-misaka): New variable.

Applied with the minor tweak below, as per:

  https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 918 bytes --]

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 83ea50d913..b75cb5ddfd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1086,12 +1086,11 @@ into Jinja2 by default.")
     (propagated-inputs
       `(("python-flask" ,python-flask)
         ("python-misaka" ,python-misaka)))
-    (home-page
-      "https://github.com/singingwolfboy/flask-misaka/")
-    (synopsis
-      "Flask interface to Misaka, a markdown parsing library")
+    (home-page "https://github.com/singingwolfboy/flask-misaka/")
+    (synopsis "Flask interface to Misaka, a Markdown parsing library")
     (description
-      "A pleasant interface between the Flask web framework and the Misaka Markdown parser.")
+      "This package provides an interface between the Flask web framework and
+the Misaka Markdown parser.")
     (license license:expat)))
 
 (define-public python-flask-session

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-26 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-06  5:27 [bug#49429] [PATCH] gnu: Add python-flask-misaka jgart via Guix-patches via
2021-07-06  5:32 ` jgart via Guix-patches via
2021-07-26 17:40   ` bug#49429: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.