guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51675] [PATCH 3/5] gnu: Add python-pydoctor.


From: Stephen Paul Weber
Subject: [bug#51675] [PATCH 3/5] gnu: Add python-pydoctor.
Date: Sun, 7 Nov 2021 21:45:18 -0500

* gnu/packages/python-xyz.scm (python-pydoctor): New variable.
---
 gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 96718c7c18..f439ffd91e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27693,3 +27693,41 @@ simple mock/record and a complete capture/replay 
framework.")
      "Ijson is an iterative JSON parser with standard Python iterator
 interfaces.")
     (license license:bsd-3)))
+
+(define-public python-pydoctor
+  (package
+    (name "python-pydoctor")
+    (version "21.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "pydoctor" version))
+        (sha256
+          (base32 "0nknh3k4zv505031ga8ira0d4slvwwm5g5bzjacjidmi2mmjj311"))))
+    (build-system python-build-system)
+    (arguments
+     ; Some tests use network and cache storage
+     '(#:tests? #f))
+    (propagated-inputs
+      `(("python-appdirs" ,python-appdirs)
+        ("python-astor" ,python-astor)
+        ("python-attrs" ,python-attrs)
+        ("python-cachecontrol" ,python-cachecontrol)
+        ("python-docutils" ,python-docutils)
+        ("python-importlib-metadata" ,python-importlib-metadata)
+        ("python-importlib-resources" ,python-importlib-resources)
+        ("python-requests" ,python-requests)
+        ("python-twisted" ,python-twisted)))
+    (native-inputs
+      `(("python-beautifulsoup4" ,python-beautifulsoup4)
+        ("python-hypothesis" ,python-hypothesis)
+        ("python-pytest" ,python-pytest)
+        ("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/twisted/pydoctor";)
+    (synopsis "Python API documentation generator")
+    (description "A documentation generator that works by static analysis.
+It puts a fair bit of effort into resolving imports and computing inheritance
+hierarchies and, as it aims at documenting Twisted, knows about 
zope.interface's
+declaration API and can present information about which classes implement which
+interface, and vice versa.")
+    (license license:expat)))
-- 
2.30.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]