From patchwork Wed Jun 22 22:20:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Allan Webber X-Patchwork-Id: 13311 Received: (qmail 22460 invoked by uid 89); 22 Jun 2016 22:21:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 22 Jun 2016 22:21:10 +0000 Received: from localhost ([::1]:32922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFqWB-0000xe-TQ for patchwork@sourceware.org; Wed, 22 Jun 2016 18:21:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFqW6-0000x5-Em for guix-devel@gnu.org; Wed, 22 Jun 2016 18:21:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFqW1-0005sj-HL for guix-devel@gnu.org; Wed, 22 Jun 2016 18:21:01 -0400 Received: from dustycloud.org ([50.116.34.160]:44234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFqW1-0005rI-C9 for guix-devel@gnu.org; Wed, 22 Jun 2016 18:20:57 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 7281B26674; Wed, 22 Jun 2016 18:20:49 -0400 (EDT) References: <87inx1t6l6.fsf@dustycloud.org> <20160622185036.GA13667@jasmine> User-agent: mu4e 0.9.16; emacs 24.5.1 From: Christopher Allan Webber To: Leo Famulari Subject: Re: [PATCH] gnu: python-flask: Update to 0.11.1. In-reply-to: <20160622185036.GA13667@jasmine> Date: Wed, 22 Jun 2016 17:20:49 -0500 Message-ID: <87wplgeugu.fsf@dustycloud.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 50.116.34.160 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" Leo Famulari writes: > 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 I'll try to get to it soon, though I'm very short on time right now. >> (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! Okay. New patch attached! Look good enough? :) From e1413c19106fe75916855f1514de21e5bc75cdb2 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber 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. Add python-click as a dependency. --- 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..dd4adae 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