GNU bug report logs -
#40270
[PATCH 1/2] gnu: Add python-flask-markdown.
Previous Next
Reported by: pinoaffe <at> airmail.cc
Date: Sat, 28 Mar 2020 09:34:02 UTC
Severity: normal
Tags: patch
Merged with 40165
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
pinoaffe <at> airmail.cc writes:
> * gnu/packages/python-web.scm (python-flask-markdown): New variable.
> ---
> gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
> index b02ffd5f58..baf24d3849 100644
> --- a/gnu/packages/python-web.scm
> +++ b/gnu/packages/python-web.scm
> @@ -470,6 +470,34 @@ 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)) ;tests seem to be incompatible with latest python
> + (propagated-inputs
> + `(("python-markdown" ,python-markdown)
> + ("python-flask" ,python-flask)))
> + (native-inputs
> + `(("python-nose" ,python-nose)))
> + (home-page
> + "http://github.com/dcolish/flask-markdown")
I'm guessing the linter might have spotted this, but I've changed it to
https:// as that's a better default.
> + (synopsis
> + "Small extension to make using Markdown in Flask easy")
> + (description
> + "Small extension to make using Markdown in Flask easy. Supports
> +several extensions for Markdown and integrates into Jinja2 by
> default.")
The description is just repeating the synopsis at the start, I rewrote
this to:
Flask-Markdown supports several extensions for Markdown and integrates
into Jinja2 by default.
> + (license license:bsd-3)))
> +
> (define-public python-html5lib
> (package
> (name "python-html5lib")
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.