gnu: texlive-alphalph: Refresh package definition.

* gnu/packages/tex.scm (texlive-alphalph): Remove SIMPLE-TEXLIVE-PACKAGE
call.
This commit is contained in:
Nicolas Goaziou 2023-05-16 00:08:37 +02:00
parent ddaeb4b09f
commit 13c3ec8ba7
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -692,32 +692,29 @@ (define-deprecated/public old-name name
(deprecated-package (symbol->string 'old-name) name))) (deprecated-package (symbol->string 'old-name) name)))
(define-public texlive-alphalph (define-public texlive-alphalph
(let ((template (simple-texlive-package (package
"texlive-alphalph" (name "texlive-alphalph")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/alphalph/" (list "doc/latex/alphalph/"
"source/latex/alphalph/" "source/latex/alphalph/"
"tex/generic/alphalph/") "tex/generic/alphalph/")
(base32 (base32
"0ap59hmg0brg2wlh3bl77jxfxrk7hphhdal8cr05mby9bw35gffy")))) "0ap59hmg0brg2wlh3bl77jxfxrk7hphhdal8cr05mby9bw35gffy")))
(package
(inherit template)
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (build-system texlive-build-system)
(substitute-keyword-arguments (package-arguments template)
((#:build-targets _ '())
#~(list "alphalph.dtx"))))
(propagated-inputs (propagated-inputs
(list texlive-intcalc texlive-infwarerr)) (list texlive-intcalc texlive-infwarerr))
(home-page "https://ctan.org/pkg/alphalph") (home-page "https://ctan.org/pkg/alphalph")
(synopsis "Convert numbers to letters") (synopsis "Convert numbers to letters")
(description (description
"This package provides commands @code{\\alphalph} and "This package provides commands @code{\\alphalph} and @code{\\AlphAlph}.
@code{\\AlphAlph}. They are like @code{\\number} but the expansion They are like @code{\\number} but the expansion consists of lowercase and
consists of lowercase and uppercase letters respectively (1 to a, 26 to uppercase letters respectively (1 to a, 26 to z, 27 to aa, 52 to zz, 53 to ba,
z, 27 to aa, 52 to zz, 53 to ba, 702 to zz, 703 to aaa, etc.). 702 to zz, 703 to aaa, etc.). Alphalph's commands can be used as
Alphalph's commands can be used as a replacement for LaTeX's a replacement for LaTeX's @code{\\@@alph} and @code{\\@@Alph} macros.")
@code{\\@@alph} and @code{\\@@Alph} macros.") (license license:lppl1.3c+)))
(license license:lppl1.3c+))))
(define texlive-docstrip (define texlive-docstrip
(package (package