guix-commits
[Top][All Lists]
Advanced

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

266/435: gnu: texlive-ltxcmds: Refresh package definition.


From: guix-commits
Subject: 266/435: gnu: texlive-ltxcmds: Refresh package definition.
Date: Tue, 6 Jun 2023 11:40:02 -0400 (EDT)

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

commit cb9efee046aa31f044f19ec53d684df9166b993a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:50:28 2023 +0200

    gnu: texlive-ltxcmds: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-ltxcmds): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 42 +++++++++++++++++++-----------------------
 1 file changed, 19 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f0125d1e06..67091cf77c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9743,29 +9743,25 @@ interface.")
 (define-deprecated-package texlive-generic-listofitems texlive-listofitems)
 
 (define-public texlive-ltxcmds
-  (let ((template (simple-texlive-package
-                   "texlive-ltxcmds"
-                   (list "doc/generic/ltxcmds/"
-                         "source/generic/ltxcmds/"
-                         "tex/generic/ltxcmds/")
-                   (base32
-                    "1izcw9jl64iij541183hc156sjwamvxm7q9fkpfnz8sppyg31fkb"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/ltxcmds")
-         ((#:build-targets _ '())
-          #~(list "ltxcmds.dtx"))))
-      (home-page "https://www.ctan.org/pkg/ltxcmds";)
-      (synopsis "LaTeX kernel commands extracted for general use")
-      (description
-       "This package exports some utility macros from the LaTeX kernel into
-a separate namespace and also makes them available for other formats such
-as plain TeX.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-ltxcmds")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/ltxcmds/"
+                   "source/generic/ltxcmds/"
+                   "tex/generic/ltxcmds/")
+             (base32
+              "1izcw9jl64iij541183hc156sjwamvxm7q9fkpfnz8sppyg31fkb")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/ltxcmds";)
+    (synopsis "Some LaTeX kernel commands for general use")
+    (description
+     "This package exports some utility macros from the LaTeX kernel into
+a separate namespace and also makes them available for other formats such as
+plain TeX.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-generic-ltxcmds texlive-ltxcmds)
 



reply via email to

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