guix-commits
[Top][All Lists]
Advanced

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

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


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

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

commit 8efcb0fe1b028f77af9e5947d03fb30a1a8b2223
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 504ad7ba98..89c5ac9677 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9551,32 +9551,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]