[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/19: gnu: texlive-generic-bitset: Rename to texlive-bitset.
From: |
guix-commits |
Subject: |
03/19: gnu: texlive-generic-bitset: Rename to texlive-bitset. |
Date: |
Sun, 6 Mar 2022 06:22:51 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit 54182753982186d49d6ed8d7118ce3cee47166e3
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 10:21:30 2022 +0100
gnu: texlive-generic-bitset: Rename to texlive-bitset.
* gnu/packages/tex.scm (texlive-bitset): Renamed from
texlive-generic-bitset.
(texlive-generic-bitset): Define deprecated alias.
(texlive-hyperref): Use new name.
---
gnu/packages/tex.scm | 59 ++++++++++++++++++++++++++++++++++++----------------
1 file changed, 41 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d3b8c2eec8..3ae2b6f102 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3457,7 +3457,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
(propagated-inputs
(list texlive-atveryend
texlive-atbegshi
- texlive-generic-bitset
+ texlive-bitset
texlive-generic-etexcmds
texlive-generic-gettitlestring
texlive-iftex
@@ -8124,25 +8124,48 @@ integers that can exceed TeX's number limits.")
(define-deprecated-package texlive-generic-bigintcalc texlive-bigintcalc)
-(define-public texlive-generic-bitset
- (package
- (inherit (simple-texlive-package
- "texlive-generic-bitset"
- '("/doc/latex/bitset/README.md"
- "/tex/generic/bitset/")
- (base32
- "0inj6qpzizvsbxdfsaijnl4iq976kyrnchnm3gc1kc2w389zrn1l")
- #:trivial? #t))
- (propagated-inputs
- (list texlive-bigintcalc texlive-generic-infwarerr
- texlive-generic-intcalc))
- (home-page "https://www.ctan.org/pkg/bitset")
- (synopsis "Handle bit-vector datatype")
- (description
- "This package defines and implements the data type bit set, a vector
+(define-public texlive-bitset
+ (let ((template (simple-texlive-package
+ "texlive-bitset"
+ (list "doc/latex/bitset/"
+ "source/latex/bitset/"
+ "tex/generic/bitset/")
+ (base32
+ "1q7vk5gr5a4vaa3l20j178cg2q7a99rxdiyxhzpx9a6lfqfkjddz"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "generic/bitset")
+ ((#:build-targets _ '())
+ #~(list "bitset.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/bitset")))
+ (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-bigintcalc texlive-generic-infwarerr
texlive-generic-intcalc))
+ (home-page "https://www.ctan.org/pkg/bitset")
+ (synopsis "Handle bit-vector datatype")
+ (description
+ "This package defines and implements the data type bit set, a vector
of bits. The size of the vector may grow dynamically. Individual bits
can be manipulated.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-generic-bitset texlive-bitset)
(define-public texlive-generic-etexcmds
(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 <=
- 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, 2022/03/06
- 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