me
/
guix
Archived
1
0
Fork 0

gnu: texlive-generic-kvdefinekeys: Rename to texlive-kvdefinekeys.

* gnu/packages/tex.scm (texlive-kvdefinekeys): New variable.
(texlive-generic-kvdefinekeys): Deprecated alias.
(texlive-hyperref):
* gnu/packages/plotutils.scm (asymptote): Use new name.
master
Nicolas Goaziou 2022-03-06 10:33:47 +01:00
parent b2907f5b25
commit 11302036f7
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
2 changed files with 40 additions and 15 deletions

View File

@ -296,7 +296,7 @@ colors, styles, options and details.")
texlive-etoolbox
texlive-fonts-ec
texlive-infwarerr
texlive-generic-kvdefinekeys
texlive-kvdefinekeys
texlive-grfext
texlive-hyperref
texlive-latex-base

View File

@ -3463,7 +3463,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-iftex
texlive-infwarerr
texlive-intcalc
texlive-generic-kvdefinekeys
texlive-kvdefinekeys
texlive-generic-kvsetkeys
texlive-generic-ltxcmds
texlive-generic-pdfescape
@ -8333,20 +8333,45 @@ using the e-TeX extension @code{\\numexpr} if it is available.")
(define-deprecated-package texlive-generic-intcalc texlive-intcalc)
(define-public texlive-generic-kvdefinekeys
(package
(inherit (simple-texlive-package
"texlive-generic-kvdefinekeys"
'("/tex/generic/kvdefinekeys/")
(define-public texlive-kvdefinekeys
(let ((template (simple-texlive-package
"texlive-kvdefinekeys"
(list "doc/latex/kvdefinekeys/"
"source/latex/kvdefinekeys/"
"tex/generic/kvdefinekeys/")
(base32
"12nn74skhwiszbdhawqds31caz6d59a5pjmwar0r8lmk4f1jr3xh")
#:trivial? #t))
"1026h223ph3nzhs6jqbasa0bzsrdg3zgllfcwwcavfzb5i6p9jdf"))))
(package
(inherit template)
(outputs '("out" "doc"))
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ '())
"generic/kvdefinekeys")
((#:build-targets _ '())
#~(list "kvdefinekeys.dtx"))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'chdir
(lambda _
(chdir "source/latex/kvdefinekeys")))
(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))))))))
(home-page "https://www.ctan.org/pkg/kvdefinekeys")
(synopsis "Define keys for use in the @code{kvsetkeys} package")
(description
"This package provides the @code{\\kv@@define@@key} (analogous to
keyvals @code{\\define@@key}, to define keys for use by @code{kvsetkeys}.")
(license license:lppl1.3c+)))
(license license:lppl1.3c+))))
(define-deprecated-package texlive-generic-kvdefinekeys texlive-kvdefinekeys)
(define-public texlive-generic-kvsetkeys
(package