guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: Add python-sphinxcontrib-apidoc.


From: guix-commits
Subject: 01/04: gnu: Add python-sphinxcontrib-apidoc.
Date: Wed, 12 Jan 2022 18:04:52 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 68e10a22334150e2e4e853c111576e668f9e89e4
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Wed Jan 12 23:54:46 2022 +0100

    gnu: Add python-sphinxcontrib-apidoc.
    
    * gnu/packages/sphinx.scm (python-sphinxcontrib-apidoc): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/sphinx.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index bf33f14718..a334c58589 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -156,6 +156,32 @@ sources.")
              python2-six
              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
+     (list python-pbr
+           python-pre-commit
+           python-pytest
+           python-sphinx
+           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")



reply via email to

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