guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: python-matplotlib-documentation: Add missing input.


From: guix-commits
Subject: 04/04: gnu: python-matplotlib-documentation: Add missing input.
Date: Thu, 12 Sep 2019 19:10:17 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 5ad0a4522116007420aeb288f76da241f43cb6bf
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Sep 12 23:00:39 2019 +0200

    gnu: python-matplotlib-documentation: Add missing input.
    
    * gnu/packages/python-xyz.scm 
(python-matplotlib-documentation)[native-inputs]:
    Add python-sphinx-copybutton.
    (python2-matplotlib-documentation)[native-inputs]: Remove
    python-sphinx-copybutton.
---
 gnu/packages/python-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1a4c804..4541604 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3960,6 +3960,7 @@ toolkits.")
      `(("python-matplotlib" ,python-matplotlib)
        ("python-colorspacious" ,python-colorspacious)
        ("python-sphinx" ,python-sphinx)
+       ("python-sphinx-copybutton" ,python-sphinx-copybutton)
        ("python-sphinx-gallery" ,python-sphinx-gallery)
        ("python-numpydoc" ,python-numpydoc)
        ("python-ipython" ,python-ipython)
@@ -4037,7 +4038,12 @@ toolkits.")
     (license (package-license python-matplotlib))))
 
 (define-public python2-matplotlib-documentation
-  (package-with-python2 python-matplotlib-documentation))
+  (let ((parent (package-with-python2 python-matplotlib-documentation)))
+    (package
+      (inherit parent)
+      (native-inputs
+       (alist-delete "python-sphinx-copybutton"
+                     (package-native-inputs parent))))))
 
 (define-public python-matplotlib-venn
   (package



reply via email to

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