guix-commits
[Top][All Lists]
Advanced

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

102/418: gnu: texlive-latex-needspace -> texlive-needspace.


From: guix-commits
Subject: 102/418: gnu: texlive-latex-needspace -> texlive-needspace.
Date: Fri, 2 Jun 2023 17:24:17 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 996472982f61487d09236bf37b352358a2bb5d4f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 11:36:20 2023 +0200

    gnu: texlive-latex-needspace -> texlive-needspace.
    
    * gnu/packages/tex.scm (texlive-needspace): New variable.
    (texlive-latex-needspace): Deprecate variable.
    * gnu/packages/maths.scm (hypre)[native-inputs]:
    * gnu/packages/sphinx.scm (python-sphinx)[propagated-inputs]: Use new name.
---
 gnu/packages/maths.scm  |  2 +-
 gnu/packages/sphinx.scm |  2 +-
 gnu/packages/tex.scm    | 35 ++++++++++++++++++-----------------
 3 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index b7acb5d7f8..a135cce97d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5774,7 +5774,7 @@ set.")
                                      texlive-listofitems
                                      texlive-multirow
                                      texlive-natbib
-                                     texlive-latex-needspace
+                                     texlive-needspace
                                      texlive-newunicodechar
                                      texlive-parskip
                                      texlive-sectsty
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 4c6d7263dd..b2ad5d99e8 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -122,7 +122,7 @@
            texlive-kvoptions
            texlive-latex-base           ;alltt, atbegshi, makeidx, textcomp
            texlive-ltxcmds
-           texlive-latex-needspace
+           texlive-needspace
            texlive-oberdiek             ;hypcap
            texlive-parskip
            texlive-preview
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0c5609966d..98d687a1a9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9248,31 +9248,32 @@ and after the formatted number.")
 
 (define-deprecated-package texlive-latex-numprint texlive-numprint)
 
-(define-public texlive-latex-needspace
+(define-public texlive-needspace
   (package
-    (name "texlive-latex-needspace")
+    (name "texlive-needspace")
     (version (number->string %texlive-revision))
-    (source (origin
-              (method svn-fetch)
-              (uri (texlive-ref "latex" "needspace"))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "0kw80f5jh4gdpa2ka815abza3gr5z8b929w0745vrlc59pl0017y"))))
+    (source (texlive-origin name version
+                            (list "doc/latex/needspace/"
+                                  "source/latex/needspace/"
+                                  "tex/latex/needspace/")
+                            (base32
+                             
"12hbvv1w6b1k29qjvp72bkpnzsxpvrimzshllwinrxh9rx1mn550")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
     (arguments
-     '(#:tex-directory "latex/needspace"
-       #:tex-format "latex"))
-    (inputs
+     (list #:tex-format "latex"))
+    (native-inputs
      (list texlive-filecontents))
-    (home-page "https://www.ctan.org/pkg/needspace";)
+    (home-page "https://ctan.org/pkg/needspace";)
     (synopsis "Insert pagebreak if not enough space")
     (description
-     "Provides commands to disable pagebreaking within a given vertical
-space.  If there is not enough space between the command and the bottom of the
-page, a new page will be started.")
+     "This package provides commands to disable pagebreaking within a given
+vertical space.  If there is not enough space between the command and the
+bottom of the page, a new page will be started.")
     (license license:lppl)))
 
+(define-deprecated-package texlive-latex-needspace texlive-needspace)
+
 (define-public texlive-latex-changepage
   (package
     (name "texlive-latex-changepage")
@@ -12279,7 +12280,7 @@ Polish of standard ``LaTeX names''.")
        "tex/latex/mdframed/")
       (base32 "1i5rm946wg43rjckxlfhx79zfx5cgd3bxk71206hd1dqkrgpdpa8")
       #:trivial? #t))
-    (propagated-inputs (list texlive-latex-needspace
+    (propagated-inputs (list texlive-needspace
                              texlive-zref))
     (home-page "https://ctan.org/pkg/mdframed";)
     (synopsis "Framed environments that can split at page boundaries")



reply via email to

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