guix-commits
[Top][All Lists]
Advanced

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

262/435: gnu: texlive-infwarerr: Refresh package definition.


From: guix-commits
Subject: 262/435: gnu: texlive-infwarerr: 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 a6e3ab7e293d4273341b772d1b4aa9957d6c4bfa
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:46:54 2023 +0200

    gnu: texlive-infwarerr: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-infwarerr): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 44 ++++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bdd6387b34..1675f58e4b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9626,30 +9626,26 @@ strings.")
 (define-deprecated-package texlive-generic-gettitlestring 
texlive-gettitlestring)
 
 (define-public texlive-infwarerr
-  (let ((template (simple-texlive-package
-                   "texlive-infwarerr"
-                   (list "doc/latex/infwarerr/"
-                         "source/latex/infwarerr/"
-                         "tex/generic/infwarerr/")
-                   (base32
-                    "0lpcrpf3d6xfdp68ri22126x57mvmq5dpj9np68ph8p8lhvhqdjd"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/infwarerr")
-         ((#:build-targets _ '())
-          #~(list "infwarerr.dtx"))))
-      (home-page "https://www.ctan.org/pkg/infwarerr";)
-      (synopsis "Information/warning/error macros")
-      (description
-       "This package provides a complete set of macros for information,
-warning and error messages.  Under LaTeX, the commands are wrappers for
-the corresponding LaTeX commands; under Plain TeX they are available as
-complete implementations.")
-      (license license:lppl1.3c+))))
+  (package
+    (name "texlive-infwarerr")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/infwarerr/"
+                   "source/latex/infwarerr/"
+                   "tex/generic/infwarerr/")
+             (base32
+              "0lpcrpf3d6xfdp68ri22126x57mvmq5dpj9np68ph8p8lhvhqdjd")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/infwarerr";)
+    (synopsis "Complete set of information/warning/error message macros")
+    (description
+     "This package provides a complete set of macros for information, warning
+and error messages.  Under LaTeX, the commands are wrappers for the
+corresponding LaTeX commands; under Plain TeX they are available as complete
+implementations.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-generic-infwarerr texlive-infwarerr)
 



reply via email to

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