guix-commits
[Top][All Lists]
Advanced

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

237/416: gnu: texlive-pdftexcmds: Refresh package definition.


From: guix-commits
Subject: 237/416: gnu: texlive-pdftexcmds: Refresh package definition.
Date: Sun, 28 May 2023 02:32:55 -0400 (EDT)

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

commit f9a8a8a96cb756c9edebd28dce35956a1659d228
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 22:47:31 2023 +0200

    gnu: texlive-pdftexcmds: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-pdftexcmds): 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 25116e95b2..bb45a2976c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5641,30 +5641,26 @@ used to write the verbatim text to a file.")
     (license license:lppl1.3+)))
 
 (define-public texlive-pdftexcmds
-  (let ((template (simple-texlive-package
-                   "texlive-pdftexcmds"
-                   (list "doc/generic/pdftexcmds/"
-                         "source/generic/pdftexcmds/"
-                         "tex/generic/pdftexcmds/")
-                   (base32
-                    "0gad1vi0r5xw7gyj1cb2cp58j4dqrw4awcfxmfrna9xbz91g4sn9"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/pdftexcmds")
-         ((#:build-targets _ '())
-          #~(list "pdftexcmds.dtx"))))
-      (propagated-inputs
-       (list texlive-iftex texlive-infwarerr texlive-ltxcmds))
-      (home-page "https://www.ctan.org/pkg/pdftexcmds";)
-      (synopsis "LuaTeX support for pdfTeX utility functions")
-      (description
-       "This package makes a number of utility functions from pdfTeX
+  (package
+    (name "texlive-pdftexcmds")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/pdftexcmds/"
+                   "source/generic/pdftexcmds/"
+                   "tex/generic/pdftexcmds/")
+             (base32
+              "0gad1vi0r5xw7gyj1cb2cp58j4dqrw4awcfxmfrna9xbz91g4sn9")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-iftex texlive-infwarerr texlive-ltxcmds))
+    (home-page "https://www.ctan.org/pkg/pdftexcmds";)
+    (synopsis "LuaTeX support for pdfTeX utility functions")
+    (description
+     "This package makes a number of utility functions from pdfTeX
 available for LuaTeX by reimplementing them using Lua.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-latex-pdftexcmds texlive-pdftexcmds)
 



reply via email to

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