guix-commits
[Top][All Lists]
Advanced

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

238/458: gnu: texlive-refcount: Refresh package definition.


From: guix-commits
Subject: 238/458: gnu: texlive-refcount: Refresh package definition.
Date: Wed, 14 Jun 2023 05:22:40 -0400 (EDT)

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

commit 15b0f3a8e2dac6280d7074600a03358415a51e62
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 22:49:12 2023 +0200

    gnu: texlive-refcount: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-refcount): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-INFWARERR, TEXLIVE-LTXCMDS.
---
 gnu/packages/tex.scm | 39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4d3c0f5c1f..08befe88f6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5718,31 +5718,28 @@ re-processing.")
 (define-deprecated-package texlive-latex-pstool texlive-pstool)
 
 (define-public texlive-refcount
-  (let ((template (simple-texlive-package
-                   "texlive-refcount"
-                   (list "doc/latex/refcount/"
-                         "source/latex/refcount/"
-                         "tex/latex/refcount/")
-                   (base32
-                    "128cvwdl4wcdshvs59yn5iljdxxdrc5jircbxav77y7kc3l33z7z"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/refcount")
-         ((#:build-targets _ '())
-          #~(list "refcount.dtx"))))
-      (home-page "https://www.ctan.org/pkg/refcount";)
-      (synopsis "Counter operations with label references")
-      (description
-       "This package provides the @code{\\setcounterref} and
+  (package
+    (name "texlive-refcount")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/refcount/" "source/latex/refcount/"
+                   "tex/latex/refcount/")
+             (base32
+              "128cvwdl4wcdshvs59yn5iljdxxdrc5jircbxav77y7kc3l33z7z")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-infwarerr texlive-ltxcmds))
+    (home-page "https://www.ctan.org/pkg/refcount";)
+    (synopsis "Counter operations with label references")
+    (description
+     "This package provides the @code{\\setcounterref} and
 @code{\\addtocounterref} commands which use the section (or other) number
 from the reference as the value to put into the counter.  It also provides
 @code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the
 corresponding thing with the page reference of the label.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-latex-refcount texlive-refcount)
 



reply via email to

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