From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KMZwD8Hfp2b2oAAAqHPOHw:P1 (envelope-from ) for ; Mon, 29 Jul 2024 18:30:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KMZwD8Hfp2b2oAAAqHPOHw (envelope-from ) for ; Mon, 29 Jul 2024 20:30:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QOJlHDMC; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=krppG4vG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722277825; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bA1NHYmd5WoqmMNDuLNls16n/n7AkXEmXtuJ48VrQy8=; b=rV4+XApG++xG/w8Q12HhrK2ns+5FUFAlLI7tidK7yai6urS/oJSdXc3XtKuXrrkozF7+Ke 08aIptdCw2S+Vt6Ar9Hlw03gn/Ze3QVx71cD89s6FgSOCRhpzXJl01+p/T/hUCh9CryPis gw8ffrbOubLwAWuSfJ4VuPgVdrdwVVwDRndG6HGxpjxWqkcvEiK7qaQMt2O2oBzunGeCYD APH7uJ2XJ6OI9tHWb6jwHb4IJgaMUDrl/3zf1GNfrN6BnbmXxuT5nObvnmiQ7qGiaYyZ3H Npx0E+ysijtxjAqXDQZUBgkf/7HtdShgCQWd6BdF93/i8eXIs9GlqV1Ao/c68A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QOJlHDMC; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=krppG4vG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722277825; a=rsa-sha256; cv=none; b=k5piqi/Db8/iWlEBzJxYfWVnX+nKrNSG7F7az6jJlmr4nchwYwyoqc26Ct7iFaA1ZlURMz Byh2U/B5C7l1s6YDGvT3EW5kwilBEy2rT9aCyGfHYj/yiyrzvrBi9oxXCo3xKx8R8pYuyv oheaeSS8p//Yvy8kxfENomA/hdkUBtiKCNW+6IDmnoy/KjAcW21zaYlVaOy9lRLqa698b/ HxinAgcxSrcOPFeHFdHGj9lU19X+FK1qpmehNVymzIK4uZWEmAjtTeuTuTXn4aWIEB3n2B eDon31PxK4XqmaxvpSUQSU8ZsM9Obueada0PKfx4yxTRWNhmpObXWMpTthnyKA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 971607537D for ; Mon, 29 Jul 2024 20:30:24 +0200 (CEST) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 From: jgart via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.33 X-Migadu-Queue-Id: 971607537D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.33 X-TUID: LQFFyquCbaUZ * 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 -- 2.45.2