guix-commits
[Top][All Lists]
Advanced

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

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


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

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

commit 72655b148e5b99c810b092a3f44502b9a37e8c10
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 eaef1604df..ce62ee9e3d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9648,30 +9648,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]