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") From patchwork Mon Jul 29 18:28:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 66554 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 C7D6E27BBEA; Mon, 29 Jul 2024 19:30:26 +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=ham 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 01B4927BBE9 for ; Mon, 29 Jul 2024 19:30:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYV84-0003ln-67; Mon, 29 Jul 2024 14:29:52 -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 1sYV81-0003hz-Ca for guix-patches@gnu.org; Mon, 29 Jul 2024 14:29:49 -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 1sYV81-00081I-3z for guix-patches@gnu.org; Mon, 29 Jul 2024 14:29:49 -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:References:In-Reply-To:Date:From:To:Subject; bh=bA1NHYmd5WoqmMNDuLNls16n/n7AkXEmXtuJ48VrQy8=; b=QOJlHDMC+6NntQLVffDByDC3iIHH7s5Ps/umyqPt8SEt54iKRVQs04E73sFMt4koMSo1SZWtwkFMRd3/as9Va494zj/iPoxkHbGtyTf0P9Gp5xQG6w4XJt2scWszocKoEAXqaNQpBUqD3nah8AE/YbsfGcGQKXJy7T445Dm8e7nv9jOXGMKD8Es/rk6VVw56BRJINs2pwTUvd21+u7Od3jv5Q8T1Qf4UdYDx+vncC5C+RFjfHWygDKPuKwCrzjo5AHNp9ukLgLAjjBA1hTDtmCiekHZ+SvjA4VLinWt9pIUnQRoqPBjILNedj9bNOdljz++qGBKEy/gO9DqGil0/QA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYV8D-0003II-Uw for guix-patches@gnu.org; Mon, 29 Jul 2024 14:30:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72355] [PATCH 2/2] gnu: Add python-klaus. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Jul 2024 18:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72355@debbugs.gnu.org Cc: Arun Isaac , jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172227776412570 (code B ref -1); Mon, 29 Jul 2024 18:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jul 2024 18:29:24 +0000 Received: from localhost ([127.0.0.1]:46325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYV7b-0003Gg-Mc for submit@debbugs.gnu.org; Mon, 29 Jul 2024 14:29:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:35718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYV7X-0003GW-Rz for submit@debbugs.gnu.org; Mon, 29 Jul 2024 14:29:22 -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 1sYV7K-0003Eq-8R for guix-patches@gnu.org; Mon, 29 Jul 2024 14:29:06 -0400 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYV7I-0007yO-3B for guix-patches@gnu.org; Mon, 29 Jul 2024 14:29:06 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 862132b5; Mon, 29 Jul 2024 20:29:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20190914; bh=ox+wWsy1 ES7BJ3FRV6O7y0LTWnpq/ghQAIETOmixzdE=; b=krppG4vGWtqf3sX11D9J5Kzk 94S0RE5YYSG+K2cxd+xgXTehBvtvgcXydo96KpB2WKnZTNFL3qztmHsH3dFuTUtG TsIGnL35AQNst5U7iiX8LkV3WeMqgZlWyABIzlQzVjy29J51pwZSJEI3jpHuYQVX S0YMyE7AYimo/p02uTDV6C1V8ld0g9ZZG51KbTFpW/3zgZPWzMrrq1iQxKLB3zKn zuJbVN0aEU08d3A+SDz8Z7aR18qIMzJygGCLDgCDbpvyQ8zp0pKDMneXzYmrfTYP DeK1ETjtU9RAEXu5ykHnG+VkS/sNlV12fhBfZtNSHpOiTbgy5/SgIn+qco7IPA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 7d43f1de; Mon, 29 Jul 2024 20:29:00 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 5c6021ff; Mon, 29 Jul 2024 20:28:59 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id f839e937 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 29 Jul 2024 20:28:58 +0200 (CEST) Date: Mon, 29 Jul 2024 13:28:27 -0500 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <735b406e5a290ef59c02282a46d64805c63bd666.1722275874.git.jgart@dismail.de> References: <735b406e5a290ef59c02282a46d64805c63bd666.1722275874.git.jgart@dismail.de> MIME-Version: 1.0 Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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/version-control.scm (python-klaus): New variable. Change-Id: I1b7c31deb799e0ea5195eda109740fdb90e5fabd --- gnu/packages/version-control.scm | 47 +++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index cf7f7b0ad8..d8692ef803 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -41,7 +41,7 @@ ;;; Copyright © 2021 François J. ;;; Copyright © 2021 Julien Lepiller ;;; Copyright © 2021 Guillaume Le Vaillant -;;; Copyright © 2021 jgart +;;; Copyright © 2021, 2024 jgart ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Maxime Devos @@ -716,6 +716,51 @@ (define-public git-minimal/pinned (base32 "0bqz401dyp8wnjj3k5ahrniwk4dalndysqazzwdvv25hqbkacm70")))))) +(define-public python-klaus + (package + (name "python-klaus") + (version "3.0.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "klaus" version)) + (sha256 + (base32 + "1w6sl15llnkcg7kmnpn64awdiis061q2gijnhdx0ng7z4p1glapl")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ; TODO: https://github.com/jonashaag/klaus/issues/322 + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'configure-git + (lambda* (#:key inputs #:allow-other-keys) + (for-each (lambda (file) + (substitute* file + (("\"git\"") + (string-append "\"" (search-input-file inputs "/bin/git") "\"")))) + (list "klaus/ctagsutils.py" + "klaus/repo.py" + "klaus/utils.py" + "tests/test_contrib.py" + "tests/test_make_app.py"))))))) + (inputs (list git-minimal)) + (native-inputs + (list python-pytest)) + (propagated-inputs + (list python-dulwich python-flask python-httpauth + python-humanize python-pygments python-werkzeug)) + (home-page "https://github.com/jonashaag/klaus") + (synopsis "Simple git web viewer") + (description "klaus is a simple, easy-to-set-up git web viewer. It features +@itemize +@item Super easy to set up -- no configuration required +@item Syntax highlighting +@item Markdown + RestructuredText rendering support +@item Pull + push support (Git Smart HTTP) +@item Code navigation using Exuberant ctags +@end itemize") + (license license:isc))) + (define-public git2cl (let ((commit "1d74d4c0d933fc69ed5cec838c73502584dead05")) (package