gnu: texlive-latex-kvoptions: Rename to texlive-kvoptions.

* gnu/packages/tex.scm (texlive-kvoptions): New variable.
(texlive-latex-kvoptions): Deprecated alias.
(texlive-hyperref):
* gnu/packages/plotutils.scm (asymptote): Use new name.
This commit is contained in:
Nicolas Goaziou 2022-03-06 11:55:53 +01:00
parent c63566c5cf
commit 38ec52136f
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
2 changed files with 43 additions and 19 deletions

View File

@ -302,7 +302,7 @@ colors, styles, options and details.")
texlive-latex-base texlive-latex-base
texlive-latex-geometry texlive-latex-geometry
texlive-graphics texlive-graphics
texlive-latex-kvoptions texlive-kvoptions
texlive-latex-media9 texlive-latex-media9
texlive-oberdiek ;for ifluatex texlive-oberdiek ;for ifluatex
texlive-latex-ocgx2 texlive-latex-ocgx2

View File

@ -3517,7 +3517,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-pdfescape texlive-pdfescape
texlive-auxhook texlive-auxhook
texlive-hycolor texlive-hycolor
texlive-latex-kvoptions texlive-kvoptions
texlive-letltxmacro texlive-letltxmacro
texlive-pdftexcmds texlive-pdftexcmds
texlive-refcount texlive-refcount
@ -3584,7 +3584,7 @@ arrows; record information about document class(es) used; and many more.")
#:trivial? #t)) #:trivial? #t))
(propagated-inputs (propagated-inputs
(list texlive-atveryend texlive-infwarerr (list texlive-atveryend texlive-infwarerr
texlive-uniquecounter texlive-latex-kvoptions texlive-uniquecounter texlive-kvoptions
texlive-pdftexcmds)) texlive-pdftexcmds))
(home-page "https://www.ctan.org/pkg/rerunfilecheck") (home-page "https://www.ctan.org/pkg/rerunfilecheck")
(synopsis "Checksum based rerun checks on auxiliary files") (synopsis "Checksum based rerun checks on auxiliary files")
@ -5939,23 +5939,47 @@ transliterate semitic languages; patches to make (La)TeX formulae embeddable
in SGML; use maths minus in text as appropriate; simple Young tableaux.") in SGML; use maths minus in text as appropriate; simple Young tableaux.")
(license license:gpl2))) (license license:gpl2)))
(define-public texlive-latex-kvoptions (define-public texlive-kvoptions
(package (let ((template (simple-texlive-package
(inherit (simple-texlive-package "texlive-kvoptions"
"texlive-latex-kvoptions" (list "doc/latex/kvoptions/"
(list "/doc/latex/kvoptions/" "source/latex/kvoptions/"
"/tex/latex/kvoptions/") "tex/latex/kvoptions/")
(base32 (base32
"02i4n2n3j4lg68d3nam08m63kb4irc99wfhyc2z51r02lm1wwmvw") "1b8q93l54160b8gn3fq484n15n6cylrhmf2xk7p42czg2rqw7w3l"))))
#:trivial? #t)) (package
(propagated-inputs (inherit template)
(list texlive-kvsetkeys texlive-ltxcmds)) (outputs '("out" "doc"))
(home-page "https://www.ctan.org/pkg/kvoptions") (arguments
(synopsis "Key/value format for package options") (substitute-keyword-arguments (package-arguments template)
(description ((#:tex-directory _ '())
"This package provides facilities for using key-value format in "latex/kvoptions")
((#:build-targets _ '())
#~(list "kvoptions.dtx"))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'chdir
(lambda _
(chdir "source/latex/kvoptions")))
(replace 'copy-files
(lambda* (#:key inputs #:allow-other-keys)
(let ((origin (assoc-ref inputs "source"))
(source (string-append #$output
"/share/texmf-dist/source"))
(doc (string-append #$output:doc
"/share/texmf-dist/doc")))
(copy-recursively (string-append origin "/source") source)
(copy-recursively (string-append origin "/doc") doc))))))))
(propagated-inputs
(list texlive-kvsetkeys texlive-ltxcmds))
(home-page "https://www.ctan.org/pkg/kvoptions")
(synopsis "Key/value format for package options")
(description
"This package provides facilities for using key-value format in
package options.") package options.")
(license license:lppl1.3c+))) (license license:lppl1.3c+))))
(define-deprecated-package texlive-latex-kvoptions texlive-kvoptions)
(define-public texlive-fonts-ec (define-public texlive-fonts-ec
(package (package