From patchwork Wed Feb 28 10:15:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 61203 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C9F4227BBE9; Wed, 28 Feb 2024 10:18:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E20DE27BBE2 for ; Wed, 28 Feb 2024 10:18:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfH0N-0007SQ-8p; Wed, 28 Feb 2024 05:17:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfH0M-0007Rt-3e for guix-patches@gnu.org; Wed, 28 Feb 2024 05:17:38 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rfH0L-0006Eu-RR; Wed, 28 Feb 2024 05:17:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfH0m-0003Kd-5a; Wed, 28 Feb 2024 05:18:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69449] [PATCH python-team 9/9] gnu: Add python-flask-3. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 10:18:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69449 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69449@debbugs.gnu.org Cc: Tanguy Le Carrour , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69449-submit@debbugs.gnu.org id=B69449.170911545712705 (code B ref 69449); Wed, 28 Feb 2024 10:18:04 +0000 Received: (at 69449) by debbugs.gnu.org; 28 Feb 2024 10:17:37 +0000 Received: from localhost ([127.0.0.1]:55731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfH0K-0003Il-DL for submit@debbugs.gnu.org; Wed, 28 Feb 2024 05:17:36 -0500 Received: from smtp-1908.mail.infomaniak.ch ([185.125.25.8]:38061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfH0D-0003Hp-MD for 69449@debbugs.gnu.org; Wed, 28 Feb 2024 05:17:30 -0500 Received: from smtp-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4Tl9HZ1bsNzMq49x; Wed, 28 Feb 2024 11:16:26 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4Tl9HY67ctz1Pw; Wed, 28 Feb 2024 11:16:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1709115386; bh=7+apM052ptjNOg0vNcHhWRw3EEq7B5ZEBrry1oM3lxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i5PhBGkOYDbkc67oRo+huZaRiS5GWZsXuxUFFfwlimBWDNJFECeP6vbNeSK1etv33 n08xnU1cgflY4DUn/w0Ycp2TasISCNsh6JyfcoCUz19ur+DGYmhqzXycyu2RkA6Ubi EdemXHX1CirstHbY+s1BsG9UKW/fGIglWZIfhF9YXGAQe3q8cvYOVmcw/RVHk1Np6N 48cvaO2nEwl1q1+3lvGKnuPfAu4iU8rkAbMI76hAZfokNt3LZ8kKzZCoHxiKUUPYoi yRPS6ZRRkGa+EwDcEC4Riz5k9E8e3hV57dVPdPnaIqWDCDQ8oTejF6LWRejHFJpnS3 4V8w4bcALi2bQ== From: Tanguy Le Carrour Date: Wed, 28 Feb 2024 11:15:39 +0100 Message-ID: <03a03ed64a62e23b9d3da8758dbf7754b186982f.1709112912.git.tanguy@bioneland.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-flask-3): New variable. Change-Id: I8556a3e2fed74368c6d4db99cd859ecb33a3d573 --- gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3bdabc311a..215cdd2335 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3957,6 +3957,39 @@ (define-public python-flask-2 presume or force a developer to use a particular tool or library.") (license license:bsd-3))) +(define-public python-flask-3 + (package + (name "python-flask") + (version "3.0.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "flask" version)) + (sha256 + (base32 + "0zfbxxgl5zpbvswxywrr6fam6rj0vknv317flx84484rnzs06b42")))) + (build-system pyproject-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-vv" "tests"))))))) + (native-inputs + (list python-flit-core python-pytest)) + (propagated-inputs + (list python-blinker + python-click + python-itsdangerous + python-jinja2 + python-werkzeug-3)) + (home-page "https://flask.palletsprojects.com") + (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions") + (description "Flask is a micro web framework based on the Werkzeug toolkit +and Jinja2 template engine. It is called a micro framework because it does not +presume or force a developer to use a particular tool or library.") + (license license:bsd-3))) + (define-public python-flask python-flask-2) (define-public python-flask-compress