guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 102/458: gnu: texlive-latex-needspace -> texlive-needspace.
Date: Wed, 14 Jun 2023 05:22:15 -0400 (EDT)

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

commit 3492a6a02a12950b8d42ab498cc886154b39f365
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 4132c80467..942a19674c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5811,7 +5811,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 3c8d431797..30bc3dd0b3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9240,31 +9240,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")
@@ -12271,7 +12272,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]