diff mbox

gnu: python-flask: Update to 0.11.1.

Message ID 87inx1t6l6.fsf@dustycloud.org
State New
Headers show

Commit Message

Christopher Allan Webber June 22, 2016, 6:35 p.m. UTC
Note that the old URL scheme no longer seemed to work.

I'm not thrilled by the new URL "scheme".  It seems like more work to
update with each version bump.  I'm not sure what the solution is?

 - Chris

Comments

Leo Famulari June 22, 2016, 6:50 p.m. UTC | #1
On Wed, Jun 22, 2016 at 01:35:17PM -0500, Christopher Allan Webber wrote:
> Note that the old URL scheme no longer seemed to work.
> 
> I'm not thrilled by the new URL "scheme".  It seems like more work to
> update with each version bump.  I'm not sure what the solution is?

Please review Ben's 'pypi-origin' patch :)

http://lists.gnu.org/archive/html/guix-devel/2016-06/msg00724.html

>      (source (origin
>                (method url-fetch)
> -              (uri (pypi-uri "Flask" version))
> +              (uri
> +               (string-append
> +                "https://pypi.python.org/packages/55/8a/"
> +                "78e165d30f0c8bb5d57c429a30ee5749825ed461ad6c959688872643ffb3/"
> +                "Flask-0.11.1.tar.gz"))

In the meantime, I think it's best to keep the hash on its own line, to
reduce noise in the commit log if we do more updates in this format.

"55/8a/78e1..."

> -       ("python-werkzeug" ,python-werkzeug)))
> +       ("python-werkzeug" ,python-werkzeug)
> +       ("python-click" ,python-click)))

Remember to mention the new dependency in the commit message!
diff mbox

Patch

From 33afef246e909d58253f120b0e2e41c4cc37483b Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Wed, 22 Jun 2016 13:31:54 -0500
Subject: [PATCH] gnu: python-flask: Update to 0.11.1.

* gnu/packages/python.scm (python-flask): Update to 0.11.1.
---
 gnu/packages/python.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4567a91..18b619e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8424,18 +8424,23 @@  useful for solving the Assignment Problem.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "0.10.1")
+    (version "0.11.1")
     (source (origin
               (method url-fetch)
-              (uri (pypi-uri "Flask" version))
+              (uri
+               (string-append
+                "https://pypi.python.org/packages/55/8a/"
+                "78e165d30f0c8bb5d57c429a30ee5749825ed461ad6c959688872643ffb3/"
+                "Flask-0.11.1.tar.gz"))
               (sha256
                (base32
-                "0wrkavjdjndknhp8ya8j850jq7a1cli4g5a93mg8nh1xz2gq50sc"))))
+                "03kbfll4sj3v5z7r31c7bhfpi11r1np076d4p1k2kg4yzcmkywdl"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-itsdangerous" ,python-itsdangerous)
        ("python-jinja2" ,python-jinja2)
-       ("python-werkzeug" ,python-werkzeug)))
+       ("python-werkzeug" ,python-werkzeug)
+       ("python-click" ,python-click)))
     (home-page "https://github.com/mitsuhiko/flask/")
     (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions")
     (description "Flask is a micro web framework based on the Werkzeug toolkit
-- 
2.8.4