GNU bug report logs -
#39572
[PATCH] gnu: Add python-sphinx-autodoc-typehints.
Previous Next
Reported by: sirgazil <sirgazil <at> zoho.com>
Date: Wed, 12 Feb 2020 00:16:01 UTC
Severity: normal
Tags: patch
Done: Jelle Licht <jlicht <at> fsfe.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#39572: [PATCH] gnu: Add python-sphinx-autodoc-typehints.
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 39572 <at> debbugs.gnu.org.
--
39572: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39572
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
We now have python-sphinx-autodoc-typehints <at> 1.18.3 available in guix
master. Closing!
- Jelle
[Message part 3 (message/rfc822, inline)]
* gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): New variable.
---
gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 4e4abccb04..41bde173c3 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2019 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
;;; Copyright © 2019 Alexandros Theodotou <alex <at> zrythm.org>
;;; Copyright © 2019 Brett Gilio <brettg <at> gnu.org>
+;;; Copyright © 2020 sirgazil <sirgazil <at> zoho.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -597,3 +598,27 @@ to be able to read and render the Doxygen xml output.")
"A utility tool that provides several features that make it easy to
translate and to apply translation to Sphinx generated document.")
(license license:bsd-2)))
+
+(define-public python-sphinx-autodoc-typehints
+ (package
+ (name "python-sphinx-autodoc-typehints")
+ (version "1.10.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sphinx-autodoc-typehints" version))
+ (sha256
+ (base32
+ "1w6zy3cyp24jsdi8dcynrinafw2a0k5vblqy9lncm6j7cw0iicx6"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)))
+ (propagated-inputs
+ `(("python-sphinx" ,python-sphinx)))
+ (home-page "https://github.com/agronholm/sphinx-autodoc-typehints")
+ (synopsis "Type hints support for the Sphinx autodoc extension")
+ (description
+ "This extension allows you to use Python 3 annotations for
+documenting acceptable argument types and return value types of
+functions.")
+ (license license:expat)))
--
2.25.0
This bug report was last modified 1 year and 335 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.