guix-commits
[Top][All Lists]
Advanced

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

86/416: gnu: texlive-latex-pbox -> texlive-pbox.


From: guix-commits
Subject: 86/416: gnu: texlive-latex-pbox -> texlive-pbox.
Date: Sun, 28 May 2023 02:32:18 -0400 (EDT)

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

commit e149af22a4775e45169ac9d1cea0d20bd6e5f57a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 16:47:54 2023 +0200

    gnu: texlive-latex-pbox -> texlive-pbox.
    
    * gnu/packages/tex.scm (texlive-pbox): New variable.
    (texlive-latex-pbox): Deprecate variable.
---
 gnu/packages/tex.scm | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bd17c8f89f..b2714e11e4 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7448,23 +7448,31 @@ designed class) helps alleviate this untidiness.")
 
 (define-deprecated-package texlive-latex-parskip texlive-parskip)
 
-(define-public texlive-latex-pbox
+(define-public texlive-pbox
   (package
-    (inherit (simple-texlive-package
-              "texlive-latex-pbox"
-              (list "doc/latex/pbox/"
-                    "tex/latex/pbox/")
-              (base32 "0902snjidmhjml01zcppcpp4j6pidin1sdvfi7gnbb5v86zd5f0n")
-              #:trivial? #t))
+    (name "texlive-pbox")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/pbox/"
+                   "source/latex/pbox/"
+                   "tex/latex/pbox/")
+             (base32
+              "104x4y22msgxhnlz2x331zq7rw28v129s5ym1jqhsk685izb3hcl")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-tools))
     (home-page "https://ctan.org/pkg/pbox";)
-    (synopsis "\\parbox with a variable width")
+    (synopsis "@code{\\parbox} with a variable width")
     (description
-     "@code{pbox} defines a \\pbox{<max width>}{<text>} command which adjusts
-the box width to that of the enclosed text, up to the maximum width given.  The
-package also defines some associated length commands.")
+     "@code{pbox} defines a @code{\\pbox} command which adjusts the box width
+to that of the enclosed text, up to the maximum width given.  The package also
+defines some associated length commands.")
     (license license:gpl3+)))
 
+(define-deprecated-package texlive-latex-pbox texlive-pbox)
+
 (define-public texlive-pdfpages
   (let ((template (simple-texlive-package
                    "texlive-pdfpages"



reply via email to

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