From c81b4d6002d6942ffb24dc824eb47f9b3fe6d79e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 14 May 2023 10:25:12 +0200 Subject: [PATCH] gnu: texlive-latex-tabulary -> texlive-tabulary. * gnu/packages/tex.scm (texlive-tabulary): New variable. (texlive-latex-tabulary): Deprecate variable. * gnu/packages/maths.scm (hypre): * gnu/packages/sphinx.scm (python-sphinx): Use new name. --- gnu/packages/maths.scm | 2 +- gnu/packages/sphinx.scm | 2 +- gnu/packages/tex.scm | 25 ++++++++++++++----------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 38d99ab2e5..a61d790de0 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5812,7 +5812,7 @@ (define-public hypre texlive-newunicodechar texlive-parskip texlive-stackengine - texlive-latex-tabulary + texlive-tabulary texlive-tocloft texlive-upquote texlive-latex-varwidth diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 97c05234ea..69054efb50 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -125,7 +125,7 @@ (define-public python-sphinx texlive-latex-needspace texlive-parskip texlive-latex-preview - texlive-latex-tabulary + texlive-tabulary texlive-titlesec texlive-tools ;multicol, longtable texlive-upquote diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index eb9b3b6914..65bbd125da 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -7655,20 +7655,21 @@ (define-public texlive-subfigure (define-deprecated-package texlive-latex-subfigure texlive-subfigure) -(define-public texlive-latex-tabulary +(define-public texlive-tabulary (package - (name "texlive-latex-tabulary") + (name "texlive-tabulary") (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "latex" "tabulary")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "1adkdx2zkk42g82nqf57lv1nc1z7kwl13jmy8vpcsizsa0xdnx9n")))) + (source (texlive-origin + name version + (list "doc/latex/tabulary/" "source/latex/tabulary/" + "tex/latex/tabulary/") + (base32 + "00afi9r5264rhfy5kg73fk763i7wm6bvzkmrlg7n17fwl6hx0sa1"))) + (outputs '("out" "doc")) (build-system texlive-build-system) - (arguments '(#:tex-directory "latex/tabulary")) - (home-page "https://www.ctan.org/pkg/tabulary") + (propagated-inputs + (list texlive-tools)) + (home-page "https://ctan.org/pkg/tabulary") (synopsis "Tabular with variable width columns balanced") (description "The package defines a @code{tabular*}-like environment, @code{tabulary}, @@ -7680,6 +7681,8 @@ (define-public texlive-latex-tabulary according to the natural width of the widest cell in the column.") (license license:lppl))) +(define-deprecated-package texlive-latex-tabulary texlive-tabulary) + (define-public texlive-latex-threeparttable (package (name "texlive-latex-threeparttable")