[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: Add python-sphinx-gallery.
From: |
Marius Bakke |
Subject: |
04/07: gnu: Add python-sphinx-gallery. |
Date: |
Sat, 5 May 2018 07:20:51 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 02dc4b8095750889f2e9c854d94fa2485bed2537
Author: Marius Bakke <address@hidden>
Date: Wed May 2 20:03:09 2018 +0200
gnu: Add python-sphinx-gallery.
* gnu/packages/python.scm (python-sphinx-gallery, python2-sphinx-gallery):
New
public variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f63460b..7a4eee3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2501,6 +2501,36 @@ sources.")
(propagated-inputs `(("python2-pytz" ,python2-pytz)
,@(package-propagated-inputs base))))))
+(define-public python-sphinx-gallery
+ (package
+ (name "python-sphinx-gallery")
+ (version "0.1.13")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/sphinx-gallery/sphinx-gallery"
+ "/archive/v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03fs99mcb1r7qp0xixqv07vcz98sk21yq19ffdysi0infdcpzfkd"))))
+ (build-system python-build-system)
+ (arguments
+ ;; FIXME: Tests attempt to download
<https://docs.python.org/3/objects.inv>,
+ ;; <https://docs.scipy.org/doc/numpy/objects.inv>, and
+ ;; <https://matplotlib.org/objects.inv>.
+ `(#:tests? #f))
+ (native-inputs
+ `(("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://sphinx-gallery.github.io/")
+ (synopsis "Generate an examples gallery automatically")
+ (description
+ "@code{sphinx_gallery} is a Sphinx extension that builds an HTML version
+from any set of Python scripts and puts it into an examples gallery.")
+ (license license:bsd-3)))
+
+(define-public python2-sphinx-gallery
+ (package-with-python2 python-sphinx-gallery))
+
(define-public python-sphinx-rtd-theme
(package
(name "python-sphinx-rtd-theme")
- branch master updated (76b7d8f -> b057425), Marius Bakke, 2018/05/05
- 02/07: gnu: mbedtls-apache: Update to 2.7.3., Marius Bakke, 2018/05/05
- 07/07: gnu: python-numpy: Update to 1.14.3., Marius Bakke, 2018/05/05
- 05/07: gnu: python-matplotlib: Update to 2.2.2., Marius Bakke, 2018/05/05
- 01/07: gnu: freeipmi: Update to 1.6.2., Marius Bakke, 2018/05/05
- 06/07: gnu: python-scipy: Update to 1.0.1., Marius Bakke, 2018/05/05
- 03/07: gnu: Add python-kiwisolver., Marius Bakke, 2018/05/05
- 04/07: gnu: Add python-sphinx-gallery.,
Marius Bakke <=