[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/19: gnu: texlive-generic-kvdefinekeys: Rename to texlive-kvdefinekeys
From: |
guix-commits |
Subject: |
08/19: gnu: texlive-generic-kvdefinekeys: Rename to texlive-kvdefinekeys. |
Date: |
Sun, 6 Mar 2022 06:23:00 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit 11302036f7b990bdf41ce5128ccbad3edad76b84
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 10:33:47 2022 +0100
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.
---
gnu/packages/plotutils.scm | 2 +-
gnu/packages/tex.scm | 53 ++++++++++++++++++++++++++++++++++------------
2 files changed, 40 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 78fbc3c9b4..26623bc487 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -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
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 861ffcc4f7..69d7cc82ab 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -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/")
- (base32
- "12nn74skhwiszbdhawqds31caz6d59a5pjmwar0r8lmk4f1jr3xh")
- #:trivial? #t))
- (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
+(define-public texlive-kvdefinekeys
+ (let ((template (simple-texlive-package
+ "texlive-kvdefinekeys"
+ (list "doc/latex/kvdefinekeys/"
+ "source/latex/kvdefinekeys/"
+ "tex/generic/kvdefinekeys/")
+ (base32
+ "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
keyval’s @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
- branch core-updates updated (c2777bb64f -> 280097b71f), guix-commits, 2022/03/06
- 04/19: gnu: texlive-generic-etexcmds: Rename to texlive-etexcmds., guix-commits, 2022/03/06
- 05/19: gnu: texlive-generic-gettitlestring: Rename to texlive-gettitlestring., guix-commits, 2022/03/06
- 02/19: gnu: texlive-generic-bigintcalc: Rename to texlive-bigintcalc., guix-commits, 2022/03/06
- 03/19: gnu: texlive-generic-bitset: Rename to texlive-bitset., guix-commits, 2022/03/06
- 06/19: gnu: texlive-generic-infwarerr: Rename to texlive-infwarerr., guix-commits, 2022/03/06
- 08/19: gnu: texlive-generic-kvdefinekeys: Rename to texlive-kvdefinekeys.,
guix-commits <=
- 14/19: gnu: texlive-latex-hycolor: Rename to texlive-hycolor., guix-commits, 2022/03/06
- 18/19: gnu: texlive-latex-rerunfilecheck: Rename to texlive-rerunfilecheck., guix-commits, 2022/03/06
- 17/19: gnu: texlive-latex-kvoptions: Rename to texlive-kvoptions., guix-commits, 2022/03/06
- 16/19: gnu: texlive-latex-refcount: Rename to texlive-refcount., guix-commits, 2022/03/06
- 01/19: gnu: texlive-generic-atbegshi: Rename to texlive-atbegshi., guix-commits, 2022/03/06
- 07/19: gnu: texlive-generic-intcalc: Rename to texlive-intcalc., guix-commits, 2022/03/06
- 09/19: gnu: texlive-generic-kvsetkeys: Rename to texlive-kvsetkeys., guix-commits, 2022/03/06
- 12/19: gnu: texlive-generic-uniquecounter: Rename to texlive-uniquecounter., guix-commits, 2022/03/06
- 11/19: gnu: texlive-generic-pdfescape: Rename to texlive-pdfescape., guix-commits, 2022/03/06
- 10/19: gnu: texlive-generic-ltxcmds: Rename to texlive-ltxcmds., guix-commits, 2022/03/06