guix-commits
[Top][All Lists]
Advanced

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

260/458: gnu: texlive-etexcmds: Refresh package definition.


From: guix-commits
Subject: 260/458: gnu: texlive-etexcmds: Refresh package definition.
Date: Wed, 14 Jun 2023 05:22:48 -0400 (EDT)

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

commit f92dd2f12ac3833fca3f893dbce202a4f342cd43
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:45:37 2023 +0200

    gnu: texlive-etexcmds: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-etexcmds): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 47 +++++++++++++++++++++--------------------------
 1 file changed, 21 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c1941ff5f1..392cf10ec5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9543,32 +9543,27 @@ manipulated.")
 (define-deprecated-package texlive-generic-bitset texlive-bitset)
 
 (define-public texlive-etexcmds
-  (let ((template (simple-texlive-package
-                   "texlive-etexcmds"
-                   (list "doc/latex/etexcmds/"
-                         "source/latex/etexcmds/"
-                         "tex/generic/etexcmds/")
-                   (base32
-                    "13cf1fs5x9d8749b2jgxmgnkrx0r4hwpl389r15kq3ldz9jfl627"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/etexcmds")
-         ((#:build-targets _ '())
-          #~(list "etexcmds.dtx"))))
-      (propagated-inputs
-       (list texlive-iftex texlive-infwarerr))
-      (home-page "https://www.ctan.org/pkg/etexcmds";)
-      (synopsis "Avoid name clashes with e-TeX commands")
-      (description
-       "New primitive commands are introduced in e-TeX; sometimes the names
-collide with existing macros.  This package solves the name clashes by
-adding a prefix to e-TeX’s commands.  For example, ε-TeX’s
-@code{\\unexpanded} is provided as @code{\\etex@@unexpanded}.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-etexcmds")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/etexcmds/" "source/latex/etexcmds/"
+                   "tex/generic/etexcmds/")
+             (base32
+              "13cf1fs5x9d8749b2jgxmgnkrx0r4hwpl389r15kq3ldz9jfl627")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-iftex texlive-infwarerr))
+    (home-page "https://ctan.org/pkg/etexcmds";)
+    (synopsis "Avoid name clashes with e-TeX commands")
+    (description
+     "New primitive commands are introduced in e-TeX; sometimes the names
+collide with existing macros.  This package solves the name clashes by adding
+a prefix to e-TeX’s commands.  For example, ε-TeX’s @code{\\unexpanded} is
+provided as @code{\\etex@@unexpanded}.")
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-etexcmds texlive-etexcmds)
 



reply via email to

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