Patchwork [02/11] gnu: Add python-flask-multistatic.

login
register
mail settings
Submitter ng0
Date Dec. 11, 2016, 6:12 p.m.
Message ID <20161211181237.24485-3-ng0@libertad.pw>
Download mbox | patch
Permalink /patch/18367/
State New
Headers show

Comments

ng0 - Dec. 11, 2016, 6:12 p.m.
* gnu/packages/python.scm (python-flask-multistatic): New variable.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Leo Famulari - Dec. 11, 2016, 10:40 p.m.
On Sun, Dec 11, 2016 at 06:12:28PM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-flask-multistatic): New variable.

> +    (license license:gpl3)))

It should be gpl3+:

https://pagure.io/flask-multistatic/blob/master/f/flask_multistatic.py

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d9796b8e5..f3e0142f5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9216,6 +9216,30 @@  file upload, and reCAPTCHA.")
 (define-public python2-flask-wtf
   (package-with-python2 python-flask-wtf))
 
+(define-public python-flask-multistatic
+  (package
+    (name "python-flask-multistatic")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "flask-multistatic" version))
+       (sha256
+        (base32
+         "0p4v50rwv64wcd0zlq7rzl4waprwr4hj19s3cgf1isywa7jcisgm"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-flask" ,python-flask)))
+    (home-page "https://pagure.io/flask-multistatic")
+    (synopsis "Flask plugin to allow overriding static files")
+    (description
+     "@code{flask-multistatic} is a simple plugin to add
+support for overriding static files to flask.")
+    (license license:gpl3)))
+
+(define-public python2-flask-multistatic
+  (package-with-python2 python-flask-multistatic))
+
 (define-public python-cookies
   (package
     (name "python-cookies")