unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40165] Subject: [PATCH] gnu: Add python-flask-markdown.
@ 2020-03-21  8:06 pinoaffe
  2020-03-29 20:07 ` Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: pinoaffe @ 2020-03-21  8:06 UTC (permalink / raw)
  To: 40165


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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b02ffd5f58..db66f1ed4d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -470,6 +470,36 @@ both of which are installed automatically if you 
install this library.")
  (define-public python2-flask-babel
    (package-with-python2 python-flask-babel))

+(define-public python-flask-markdown
+  (package
+    (name "python-flask-markdown")
+    (version "0.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "Flask-Markdown" version))
+        (sha256
+          (base32
+            "0l32ikv4f7va926jlq4f7gx0xid247bhlxl6bd9av5dk8ljz1hyq"))))
+    (build-system python-build-system)
+    (arguments
+       `(#:tests? #f))
+    (propagated-inputs
+      `(("python-markdown" ,python-markdown)
+        ("python-flask" ,python-flask)))
+    (native-inputs
+      `(("python-nose" ,python-nose)))
+    (home-page
+      "http://github.com/dcolish/flask-markdown")
+    (synopsis
+      "Small extension to make using markdown in flask easy")
+    (description
+      "Small extension to make using markdown in flask easy")
+    (license license:bsd-3)))
+
+(define-public python2-flask-markdown
+  (package-with-python2 python-flask-markdown))
+
  (define-public python-html5lib
    (package
      (name "python-html5lib")
-- 
2.25.1

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

* [bug#40165] Subject: [PATCH] gnu: Add python-flask-markdown.
  2020-03-21  8:06 [bug#40165] Subject: [PATCH] gnu: Add python-flask-markdown pinoaffe
@ 2020-03-29 20:07 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-03-29 20:07 UTC (permalink / raw)
  To: pinoaffe, 40165

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

pinoaffe@airmail.cc writes:

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

Thanks!

[...]

> +(define-public python-flask-markdown
> +  (package
> +    (name "python-flask-markdown")
> +    (version "0.3")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "Flask-Markdown" version))
> +        (sha256
> +          (base32
> +            "0l32ikv4f7va926jlq4f7gx0xid247bhlxl6bd9av5dk8ljz1hyq"))))
> +    (build-system python-build-system)
> +    (arguments
> +       `(#:tests? #f))

Can you add a comment about why tests are disabled?

> +    (propagated-inputs
> +      `(("python-markdown" ,python-markdown)
> +        ("python-flask" ,python-flask)))
> +    (native-inputs
> +      `(("python-nose" ,python-nose)))
> +    (home-page
> +      "http://github.com/dcolish/flask-markdown")
> +    (synopsis
> +      "Small extension to make using markdown in flask easy")
> +    (description
> +      "Small extension to make using markdown in flask easy")

Can you expand on the description a bit?  Being identical to the
synopsis is not very helpful for interested readers.

Please also adjust the indentation of the whole package.  If you are not
using Emacs you can use the ./etc/indent-code.el script.

Can you send an updated patch?  Thanks in advance!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2020-03-29 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21  8:06 [bug#40165] Subject: [PATCH] gnu: Add python-flask-markdown pinoaffe
2020-03-29 20:07 ` Marius Bakke

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).