guix-commits
[Top][All Lists]
Advanced

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

85/452: gnu: texlive-latex-parskip -> texlive-parskip.


From: guix-commits
Subject: 85/452: gnu: texlive-latex-parskip -> texlive-parskip.
Date: Fri, 9 Jun 2023 13:43:01 -0400 (EDT)

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

commit c27e104f156d6bc9f8db242fe709ea3431cd4787
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 16:42:51 2023 +0200

    gnu: texlive-latex-parskip -> texlive-parskip.
    
    * gnu/packages/tex.scm (texlive-parskip): New variable.
    (texlive-latex-parskip): Deprecate variable.
    * gnu/packages/maths.scm (hypre):
    * gnu/packages/plotutils.scm (asymptote):
    * gnu/packages/python-xyz.scm (python-nbconvert):
    * gnu/packages/sphinx.scm (python-sphinx): Use new name.
---
 gnu/packages/maths.scm      |  2 +-
 gnu/packages/plotutils.scm  |  2 +-
 gnu/packages/python-xyz.scm |  2 +-
 gnu/packages/sphinx.scm     |  2 +-
 gnu/packages/tex.scm        | 42 +++++++++++++++++-------------------------
 5 files changed, 21 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ae34e6b476..2edcf11dd5 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5817,7 +5817,7 @@ set.")
                                      texlive-natbib
                                      texlive-latex-needspace
                                      texlive-newunicodechar
-                                     texlive-latex-parskip
+                                     texlive-parskip
                                      texlive-stackengine
                                      texlive-latex-tabulary
                                      texlive-tocloft
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 6e4256ea99..6f052d2a04 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -323,7 +323,7 @@ colors, styles, options and details.")
                   texlive-latex-media9
                   texlive-oberdiek      ;for ifluatex
                   texlive-latex-ocgx2
-                  texlive-latex-parskip
+                  texlive-parskip
                   texlive-pdftexcmds
                   texlive-tex-texinfo))))
     (inputs
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3378c30fbd..7df829eb8f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14928,7 +14928,7 @@ time.")
            texlive-geometry
            texlive-jknapltx
            texlive-ms
-           texlive-latex-parskip
+           texlive-parskip
            texlive-trimspaces
            texlive-upquote
            texlive-stringenc
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a69a8b44ed..97c05234ea 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -123,7 +123,7 @@
            texlive-graphics                       ;graphicx, color
            texlive-kvoptions
            texlive-latex-needspace
-           texlive-latex-parskip
+           texlive-parskip
            texlive-latex-preview
            texlive-latex-tabulary
            texlive-titlesec
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 57e510d70a..0e6665c7ae 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7414,40 +7414,32 @@ positions; a grid for orientation is available.")
 
 (define-deprecated-package texlive-latex-overpic texlive-overpic)
 
-(define-public texlive-latex-parskip
+(define-public texlive-parskip
   (package
-    (name "texlive-latex-parskip")
+    (name "texlive-parskip")
     (version (number->string %texlive-revision))
-    (source (origin
-              (method svn-fetch)
-              (uri (svn-reference
-                    (url (string-append "svn://www.tug.org/texlive/tags/"
-                                        %texlive-tag "/Master/texmf-dist/"
-                                        "/tex/latex/parskip"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "1zll8jci8lsd7y44j567akf6y8fp2p7qq23rs527zhr0br9mn3sh"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let ((target (string-append (assoc-ref %outputs "out")
-                                      "/share/texmf-dist/tex/latex/parskip")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/parskip/"
+                   "source/latex/parskip/"
+                   "tex/latex/parskip/")
+             (base32
+              "18yygddxv3kblvf4jhzqa8h1js0n8g1bw723r6ss2hlz4lj64kf0")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-etoolbox
+           texlive-kvoptions))
     (home-page "https://www.ctan.org/pkg/parskip";)
-    (synopsis "Layout with zero \\parindent, non-zero \\parskip")
+    (synopsis "Layout with zero @code{\\parindent}, non-zero @code{\\parskip}")
     (description
      "Simply changing @code{\\parskip} and @code{\\parindent} leaves a layout
 that is untidy; this package (though it is no substitute for a properly
 designed class) helps alleviate this untidiness.")
     (license license:lppl)))
 
+(define-deprecated-package texlive-latex-parskip texlive-parskip)
+
 (define-public texlive-latex-pbox
   (package
     (inherit (simple-texlive-package



reply via email to

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