From patchwork Thu Jun 15 22:09:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 50954 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 3F72A27BBE9; Thu, 15 Jun 2023 23:10: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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 2651D27BBE2 for ; Thu, 15 Jun 2023 23:10:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9vAK-0002Zx-Kc; Thu, 15 Jun 2023 18:10:04 -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 1q9vAI-0002Zh-VL for guix-patches@gnu.org; Thu, 15 Jun 2023 18:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9vAI-0006YV-L9 for guix-patches@gnu.org; Thu, 15 Jun 2023 18:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9vAI-0003Ys-F4 for guix-patches@gnu.org; Thu, 15 Jun 2023 18:10:02 -0400 Subject: bug#62373: [PATCH] gnu: Add python-pdoc. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 15 Jun 2023 22:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Cc: 62373-done@debbugs.gnu.org Mail-Followup-To: 62373@debbugs.gnu.org, ludo@gnu.org, Ontje.Luensdorf@dlr.de Received: via spool by 62373-done@debbugs.gnu.org id=D62373.168686697813649 (code D ref 62373); Thu, 15 Jun 2023 22:10:02 +0000 Received: (at 62373-done) by debbugs.gnu.org; 15 Jun 2023 22:09:38 +0000 Received: from localhost ([127.0.0.1]:48148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9v9u-0003Y5-6Y for submit@debbugs.gnu.org; Thu, 15 Jun 2023 18:09:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9v9r-0003Xr-R5 for 62373-done@debbugs.gnu.org; Thu, 15 Jun 2023 18:09:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9v9l-0006O5-MS; Thu, 15 Jun 2023 18:09:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=YScyR+YsIsRaQco5/rDxeApTx8Z2W7nn6lXwJZT1kCY=; b=ix0pHIYAoZycH20iOo17 fucSCHEMDG7En0wRlRY3SCVgC7l6aiXW2ZbhKimlUrR9kqCS/4EarB+FVXL6IDcg78QQiVIW7Dk74 ioKtQz78raCat/99EgTVObrO/heHtLhwV7TqoEC3TbWkpQwlsqA26218C6k/Dq34msR9j9MPaumPG iP7oMDHSpyuHIXgs30H0ekIS8zflhZN8d0CwTzSufUkPeH/0r+uUFVqHD3cZ0nQXUypZYT24wdtG6 /EGDmMAKBAnOt0IGu5Gmy5ld2rak50zziV12CfEW327pYBj+EssnHNmZvRDYynmS9FgytKjUbDwUd fm5/E9LtJMsLMw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9v9l-0000Ec-9h; Thu, 15 Jun 2023 18:09:29 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: Date: Fri, 16 Jun 2023 00:09:27 +0200 In-Reply-To: (Ontje Luensdorf's message of "Wed, 22 Mar 2023 09:50:21 +0000") Message-ID: <87ilbotm20.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 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 Hi Ontje, skribis: > From 8a6adf3add637fd3d04fa2dee3b413f5dd65fd06 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Ontje=20L=C3=BCnsdorf?= > Date: Wed, 22 Mar 2023 09:42:09 +0100 > Subject: [PATCH] gnu: Add python-pdoc. > > * gnu/packages/python-xyz.scm (python-pdoc): New variable. Sorry for the long delay. Applied with the minor changes below. Thanks! Ludo’. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0c98701146..cdffc3ad67 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1070,16 +1070,15 @@ (define-public python-pdoc (package (name "python-pdoc") (version "13.0.1") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/mitmproxy/pdoc") - (commit (string-append "v" version)))) - (sha256 - (base32 - "0gxkw607nrd67ck4w8jri9vfrm5g60qvp8b134m8zkiphbxjnx0l")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mitmproxy/pdoc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gxkw607nrd67ck4w8jri9vfrm5g60qvp8b134m8zkiphbxjnx0l")))) (build-system pyproject-build-system) (native-inputs (list python-pytest python-jinja2 python-pygments)) (arguments @@ -1091,13 +1090,12 @@ (define-public python-pdoc "not test_smoke[mock] and " "not test_snapshots[html")))) (home-page "https://pdoc.dev/") - (synopsis "API Documentation for Python Projects") + (synopsis "API documentation for Python projects") (description "pdoc auto-generates API documentation that follows your project's Python module hierarchy. It requires no configuration, has first-class support for type annotations, cross-links between identifiers, comes with an integrated live-reloading web server, uses customizable HTML -templates, understands numpydoc and Google-style docstrings, and is -permissively licensed.") +templates, understands numpydoc and Google-style docstrings.") (license license:unlicense))) (define-public python-py4j