From patchwork Mon Jul 29 17:58:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 66553 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 47D8427BBE9; Mon, 29 Jul 2024 19:00:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 62BE827BBE2 for ; Mon, 29 Jul 2024 19:00:07 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYUf9-0000bt-Lw; Mon, 29 Jul 2024 13:59:59 -0400 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 1sYUf4-0000Ho-Me for guix-patches@gnu.org; Mon, 29 Jul 2024 13:59:54 -0400 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 1sYUf4-0001oH-6d; Mon, 29 Jul 2024 13:59:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=whkNHtJfOrgoqvLBz8eNcKRep43WVZ7VfmA+CZ0NpY8=; b=qlphMO6MZwMirzo4WfIhJ5mbmdQHjT1pnhmAEiGMP3pIN6gRLLDXrKGIa4++OgyqSiQrN4CLPHJOucY7rDiyRvs9Vy6+70aS+VifsgQBkOz5nR+l+X7sbpFqXH1C2cF1J2npyqP4PsOOerg9qJ4mP1I3x3dmZy2JV5JUxZaGyUX8jEEgYoGCm8GNg+pcylGzEJikMsazztNY/VsWjvjHa/TEKK3RwYRZYEOM9Q08wUBA46/CB3jjyeI3jMUIZnwQZ2QThdZBZb63lxqjPDcRHQ68pPpejreTNMB1aD51ETYRQyM2f6IEX+V3Q/AAyWUMGCCa+TNu+rgvhuPumTUPwQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYUfC-0002WW-0f; Mon, 29 Jul 2024 14:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72355] [PATCH 1/2] gnu: Add python-httpauth. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 29 Jul 2024 18:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72355@debbugs.gnu.org Cc: Arun Isaac , jgart , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.17222759889653 (code B ref -1); Mon, 29 Jul 2024 18:00:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jul 2024 17:59:48 +0000 Received: from localhost ([127.0.0.1]:46294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYUex-0002Vc-I0 for submit@debbugs.gnu.org; Mon, 29 Jul 2024 13:59:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:58104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYUeu-0002VT-Lj for submit@debbugs.gnu.org; Mon, 29 Jul 2024 13:59:46 -0400 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 1sYUeh-000784-1T for guix-patches@gnu.org; Mon, 29 Jul 2024 13:59:31 -0400 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYUee-0001h9-Q4 for guix-patches@gnu.org; Mon, 29 Jul 2024 13:59:30 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 3510a346; Mon, 29 Jul 2024 19:59:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=kuMbLlMvyW5iD2DaNdeLH ELbrBFbWYPuxX9S0cFN7OM=; b=No5H4TmK6PBhSZzVgfa9J+E6EZrI/o1R3SMVw +pilXlS5V/JxrRji/PF9fFHjnYGj9V66IDJEJNIsD5T0Q5XkHq0J49dz27Vh6ovG 2cqrB9kzuR8URhOzEWovx99GdN+FzZ+TIoscNc3B7vyXRT2KaiW1pF6oC7s0INmg 65AvHij1XPpgA076vy2yL/wChJM3vykeR0CUmVFE+XT1m5JdtZnvuiFH6B12tR06 Z2RK8nm6u4u3cmvSwONTd+zI4R709CMGulNrQ188pmXr8jy0a4mDvZx+3SJqFSbl S5OuVxExAAj6x7vQgQxUTL3Zmi7kAocWJkbOUXiY/L4+vtMqQ== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 55c39d3e; Mon, 29 Jul 2024 19:59:24 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id e18fdbec; Mon, 29 Jul 2024 19:59:23 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 8625ed40 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 29 Jul 2024 19:59:22 +0200 (CEST) Date: Mon, 29 Jul 2024 12:58:13 -0500 Message-ID: <735b406e5a290ef59c02282a46d64805c63bd666.1722275874.git.jgart@dismail.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart 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-httpauth): New variable. Change-Id: I02ece90600961a634d30f34c301bd387e5aa23b7 --- gnu/packages/python-web.scm | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) base-commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 94a0406ea7..5bc57fe0e5 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -45,7 +45,7 @@ ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Pradana Aumars ;;; Copyright © 2021, 2022, 2024 Arun Isaac -;;; Copyright © 2021, 2022 jgart +;;; Copyright © 2021, 2022, 2024 jgart ;;; Copyright © 2021 Alice Brenon ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Denis 'GNUtoo' Carikli @@ -831,6 +831,24 @@ (define-public python-a2wsgi way around. It depends only on the Python standard library.") (license license:asl2.0))) +(define-public python-httpauth + (package + (name "python-httpauth") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "httpauth" version)) + (sha256 + (base32 + "1m6rwvivg61l3h34hf6p6gkqmr69sb1c4k5ha379nxq0p8bfgahb")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest)) + (home-page "https://github.com/jonashaag/httpauth") + (synopsis "WSGI HTTP Digest Authentication middleware") + (description "@code{python-httpauth} is WSGI middleware that secures some/all +routes using HTTP Digest Authentication.") + (license license:bsd-2))) + (define-public python-css-html-js-minify (package (name "python-css-html-js-minify")