[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/19: gnu: texlive-generic-intcalc: Rename to texlive-intcalc.
From: |
guix-commits |
Subject: |
07/19: gnu: texlive-generic-intcalc: Rename to texlive-intcalc. |
Date: |
Sun, 6 Mar 2022 06:23:00 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit b2907f5b25d7fc177bf54701de4e3067ff94f9c5
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 11:14:36 2022 +0100
gnu: texlive-generic-intcalc: Rename to texlive-intcalc.
* gnu/packages/tex.scm (texlive-intcalc): New variable.
(texlive-generic-intcalc): Deprecated alias.
(texlive-hyperref):
(texlive-bitset): Use new name.
---
gnu/packages/tex.scm | 55 ++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 40 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 080077ed2c..861ffcc4f7 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3462,7 +3462,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-gettitlestring
texlive-iftex
texlive-infwarerr
- texlive-generic-intcalc
+ texlive-intcalc
texlive-generic-kvdefinekeys
texlive-generic-kvsetkeys
texlive-generic-ltxcmds
@@ -8155,7 +8155,7 @@ integers that can exceed TeX's number limits.")
(copy-recursively (string-append origin "/source") source)
(copy-recursively (string-append origin "/doc") doc))))))))
(propagated-inputs
- (list texlive-bigintcalc texlive-infwarerr texlive-generic-intcalc))
+ (list texlive-bigintcalc texlive-infwarerr texlive-intcalc))
(home-page "https://www.ctan.org/pkg/bitset")
(synopsis "Handle bit-vector datatype")
(description
@@ -8293,20 +8293,45 @@ complete implementations.")
(define-deprecated-package texlive-generic-infwarerr texlive-infwarerr)
-(define-public texlive-generic-intcalc
- (package
- (inherit (simple-texlive-package
- "texlive-generic-intcalc"
- '("/tex/generic/intcalc/")
- (base32
- "0llrnayqwdqxi91yh7panbbiljina3bynv2hxhi6sssaw3pyd92l")
- #:trivial? #t))
- (home-page "https://www.ctan.org/pkg/intcalc")
- (synopsis "Expandable arithmetic operations with integers")
- (description
- "This package provides expandable arithmetic operations with integers,
+(define-public texlive-intcalc
+ (let ((template (simple-texlive-package
+ "texlive-intcalc"
+ (list "doc/latex/intcalc/"
+ "source/latex/intcalc/"
+ "tex/generic/intcalc/")
+ (base32
+ "15alwp9cr8wasfajs3p201p7nqml37vly9mpg1j5l6xv95javk7x"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "generic/intcalc")
+ ((#:build-targets _ '())
+ #~(list "intcalc.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/intcalc")))
+ (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/intcalc")
+ (synopsis "Expandable arithmetic operations with integers")
+ (description
+ "This package provides expandable arithmetic operations with integers,
using the e-TeX extension @code{\\numexpr} if it is available.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-generic-intcalc texlive-intcalc)
(define-public texlive-generic-kvdefinekeys
(package
- 05/19: gnu: texlive-generic-gettitlestring: Rename to texlive-gettitlestring., (continued)
- 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, 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 <=
- 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
- 13/19: gnu: texlive-latex-auxhook: Rename to texlive-auxhook., guix-commits, 2022/03/06
- 19/19: gnu: texlive-hyperref: Add missing files., guix-commits, 2022/03/06
- 15/19: gnu: texlive-latex-letltxmacro: Rename to texlive-letltxmacro., guix-commits, 2022/03/06