guix-commits
[Top][All Lists]
Advanced

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

278/416: gnu: texlive-epstopdf-pkg: Refresh package definition.


From: guix-commits
Subject: 278/416: gnu: texlive-epstopdf-pkg: Refresh package definition.
Date: Sun, 28 May 2023 02:33:02 -0400 (EDT)

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

commit aaf001488555be69380aa5de9d0d04927ac17c16
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 16 00:19:22 2023 +0200

    gnu: texlive-epstopdf-pkg: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-epstopdf-pkg): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 47 ++++++++++++++++++++++-------------------------
 1 file changed, 22 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7470422062..bdb89809e5 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3430,33 +3430,30 @@ the @file{.aux} file.")
 (define-deprecated-package texlive-latex-auxhook texlive-auxhook)
 
 (define-public texlive-epstopdf-pkg
-  (let ((template (simple-texlive-package
-                   "texlive-epstopdf-pkg"
-                   (list "doc/latex/epstopdf-pkg/"
-                         "source/latex/epstopdf-pkg/"
-                         "tex/latex/epstopdf-pkg/")
-                   (base32
-                    "1ajyc5pkn1niifz5asyf09vbdqvmy05xwl0vxcdl7ik0ll0jcaxp"))))
-    (package
-     (inherit template)
-     (arguments
-      (substitute-keyword-arguments (package-arguments template)
-        ((#:tex-directory _ '())
-         "latex/epstopdf-pkg")
-        ((#:build-targets _ '())
-         #~(list "epstopdf.ins"))))
-     (propagated-inputs
-      (list texlive-grfext
-            texlive-infwarerr
-            texlive-kvoptions
-            texlive-pdftexcmds))
-     (home-page "https://www.ctan.org/pkg/epstopdf-pkg";)
-     (synopsis "Call @command{epstopdf} on the fly")
-     (description
-      "The package adds support for EPS files in the @code{graphicx} package
+  (package
+    (name "texlive-epstopdf-pkg")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/epstopdf-pkg/"
+                   "source/latex/epstopdf-pkg/"
+                   "tex/latex/epstopdf-pkg/")
+             (base32
+              "1ajyc5pkn1niifz5asyf09vbdqvmy05xwl0vxcdl7ik0ll0jcaxp")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-grfext
+           texlive-infwarerr
+           texlive-kvoptions
+           texlive-pdftexcmds))
+    (home-page "https://www.ctan.org/pkg/epstopdf-pkg";)
+    (synopsis "Call @command{epstopdf} on the fly")
+    (description
+     "The package adds support for EPS files in the @code{graphicx} package
 when running under pdfTeX.  If an EPS graphic is detected, the package spawns
 a process to convert the EPS to PDF, using the script @command{epstopdf}.")
-     (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-latex-epstopdf-pkg texlive-epstopdf-pkg)
 



reply via email to

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