guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: python-scipy-documentation: Add a file name for 'scipy-sphin


From: guix-commits
Subject: 07/08: gnu: python-scipy-documentation: Add a file name for 'scipy-sphinx-theme'.
Date: Sat, 19 Dec 2020 16:56:03 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit ae7033ff5ff1d0d2571d808d40add0dd8e97bf8a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Dec 18 00:02:50 2020 +0100

    gnu: python-scipy-documentation: Add a file name for 'scipy-sphinx-theme'.
    
    * gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]:
    Add a file name for the "scipy-sphinx-time" input.
---
 gnu/packages/python-xyz.scm | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0f8fd4d..956bac1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4756,14 +4756,17 @@ color scales, and color space conversion easy.  It has 
support for:
        ("texinfo" ,texinfo)
        ("perl" ,perl)
        ("scipy-sphinx-theme"
-        ,(origin ; The build script expects scipy-sphinx-theme as a git 
submodule
-           (method git-fetch)
-           (uri (git-reference
-                 (url "https://github.com/scipy/scipy-sphinx-theme";)
-                 (commit "c466764e2231ba132c09826b5b138fffa1cfcec3")))
-           (sha256
-            (base32
-             "0q2y87clwlsgc7wvlsn9pzyssybcq10plwhq2w1ydykfsyyqbmkl"))))
+        ,(let ((commit "c466764e2231ba132c09826b5b138fffa1cfcec3"))
+           (origin ;the build script expects scipy-sphinx-theme as a git 
submodule
+             (method git-fetch)
+             (uri (git-reference
+                   (url "https://github.com/scipy/scipy-sphinx-theme";)
+                   (commit commit)))
+             (file-name (git-file-name "python-scipy-sphinx-theme"
+                                       (string-take commit 7)))
+             (sha256
+              (base32
+               "0q2y87clwlsgc7wvlsn9pzyssybcq10plwhq2w1ydykfsyyqbmkl")))))
        ,@(package-native-inputs python-numpy)))
     (arguments
      `(#:tests? #f ; we're only generating the documentation



reply via email to

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