guix-patches
[Top][All Lists]
Advanced

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

[bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc.


From: phodina
Subject: [bug#50949] [PATCH 2/5] gnu: Add python-sphinxcontrib-apidoc.
Date: Fri, 01 Oct 2021 19:25:14 +0000

* gnu/packages/sphinx.scm (python-sphinxcontrib-doc): New variable.

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a7a3443707..48c2f6d32a 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -154,6 +154,31 @@ sources.")
          ("python2-six" ,python2-six)
          ("python2-sphinxcontrib-websupport" 
,python2-sphinxcontrib-websupport))))))

+(define-public python-sphinxcontrib-apidoc
+  (package
+    (name "python-sphinxcontrib-apidoc")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "sphinxcontrib-apidoc" version))
+        (sha256
+          (base32
+            "1f9zfzggs8a596jw51fpfmr149n05mrlyy859iydazbvry9gb6vj"))))
+    (build-system python-build-system)
+    (arguments
+      `(#:tests? #f)) ; Requires python-pytest<4.0
+    (native-inputs `(("python-pytest" ,python-pytest)
+                     ("python-sphinx" ,python-sphinx)
+                     ("python-pbr" ,python-pbr-5)
+                     ("python-pre-commit" ,python-pre-commit)
+                     ("python-testrepository" ,python-testrepository)))
+    (home-page "https://github.com/sphinx-contrib/apidoc";)
+    (synopsis "Sphinx extension for running @code{sphinx-apidoc}")
+    (description "This package provides Sphinx extension for running
+@code{sphinx-apidoc} on each build.")
+    (license license:bsd-2)))
+
 (define-public python-sphinxcontrib-applehelp
   (package
     (name "python-sphinxcontrib-applehelp")
--
2.32.0





reply via email to

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