guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 278/418: gnu: texlive-epstopdf-pkg: Refresh package definition.
Date: Fri, 2 Jun 2023 17:25:35 -0400 (EDT)

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

commit f809ed940f428e8aa3106f7d4760cc6d0e9e85a2
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 cf247227b2..a30246bf79 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3426,33 +3426,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]