guix-commits
[Top][All Lists]
Advanced

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

206/435: gnu: texlive-iftex: Refresh package definition.


From: guix-commits
Subject: 206/435: gnu: texlive-iftex: Refresh package definition.
Date: Tue, 6 Jun 2023 11:39:44 -0400 (EDT)

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

commit 0ec1e2e73df28db42835017d529c5cb9eb825ae1
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 20:53:11 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1825442d6b..1847263998 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10543,24 +10543,27 @@ frames made with the @code{framed} package.")
       (license license:lppl1.3c+))))
 
 (define-public texlive-iftex
-  (let ((template (simple-texlive-package
-                   "texlive-iftex"
-                   (list "/doc/generic/iftex/"
-                         "/tex/generic/iftex/")
-                   (base32
-                    "147xa5kl4kjs05nj8v3kd7dpr5xkz3xp3gdvjih32ccd7527f5vp")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (home-page "http://www.ctan.org/pkg/iftex";)
-      (synopsis "Determine the currently used TeX engine")
-      (description "This package, which works both for Plain TeX and for
-LaTeX, defines the @code{\\ifPDFTeX}, @code{\\ifXeTeX}, and @code{\\ifLuaTeX}
-conditionals for testing which engine is being used for typesetting.  The
-package also provides the @code{\\RequirePDFTeX}, @code{\\RequireXeTeX}, and
-@code{\\RequireLuaTeX} commands which throw an error if pdfTeX, XeTeX or
-LuaTeX (respectively) is not the engine in use.")
-      (license license:lppl1.3+))))
+  (package
+    (name "texlive-iftex")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "/doc/generic/iftex/"
+                   "/tex/generic/iftex/")
+             (base32
+              "147xa5kl4kjs05nj8v3kd7dpr5xkz3xp3gdvjih32ccd7527f5vp")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "http://www.ctan.org/pkg/iftex";)
+    (synopsis "Determine the currently used TeX engine")
+    (description
+     "This package, which works both for Plain TeX and for LaTeX, defines the
+@code{\\ifPDFTeX}, @code{\\ifXeTeX}, and @code{\\ifLuaTeX} conditionals for
+testing which engine is being used for typesetting.  The package also provides
+the @code{\\RequirePDFTeX}, @code{\\RequireXeTeX}, and @code{\\RequireLuaTeX}
+commands which throw an error if pdfTeX, XeTeX or LuaTeX (respectively) is not
+the engine in use.")
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-generic-iftex texlive-iftex)
 



reply via email to

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