GNU bug report logs - #62373
[PATCH] gnu: Add python-pdoc.

Previous Next

Package: guix-patches;

Reported by: <Ontje.Luensdorf <at> dlr.de>

Date: Wed, 22 Mar 2023 09:51:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: <Ontje.Luensdorf <at> dlr.de>
Subject: bug#62373: closed (Re: bug#62373: [PATCH] gnu: Add python-pdoc.)
Date: Thu, 15 Jun 2023 22:10:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#62373: [PATCH] gnu: Add python-pdoc.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 62373 <at> debbugs.gnu.org.

-- 
62373: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62373
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: <Ontje.Luensdorf <at> dlr.de>
Cc: 62373-done <at> debbugs.gnu.org
Subject: Re: bug#62373: [PATCH] gnu: Add python-pdoc.
Date: Fri, 16 Jun 2023 00:09:27 +0200
[Message part 3 (text/plain, inline)]
Hi Ontje,

<Ontje.Luensdorf <at> dlr.de> skribis:

> From 8a6adf3add637fd3d04fa2dee3b413f5dd65fd06 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ontje=20L=C3=BCnsdorf?= <ontje.luensdorf <at> dlr.de>
> 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’.

[Message part 4 (text/x-patch, inline)]
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
[Message part 5 (message/rfc822, inline)]
From: <Ontje.Luensdorf <at> dlr.de>
To: <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add python-pdoc.
Date: Wed, 22 Mar 2023 09:50:21 +0000
[Message part 6 (text/plain, inline)]
Hi there,


I've packaged pdoc, a documentation system for python.

Thanks & best regards,
Ontje
[0001-gnu-Add-python-pdoc.patch (text/x-diff, attachment)]

This bug report was last modified 1 year and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.