[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/37: gnu: Replace texlive-latex-amscls with texlive-amscls.
From: |
guix-commits |
Subject: |
29/37: gnu: Replace texlive-latex-amscls with texlive-amscls. |
Date: |
Wed, 23 Dec 2020 06:31:46 -0500 (EST) |
rekado pushed a commit to branch core-updates
in repository guix.
commit 6056dc110fdbfc53e4b53c5be6190af93ba950af
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Oct 28 22:02:16 2020 +0100
gnu: Replace texlive-latex-amscls with texlive-amscls.
* gnu/packages/tex.scm (texlive-latex-amscls): Deprecate in favor of...
(texlive-amscls): ...this new variable.
---
gnu/packages/tex.scm | 45 ++++++++++++++++++++++++++-------------------
1 file changed, 26 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7af5073..c46f991 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3256,29 +3256,36 @@ mathematics, and @code{ntheoremntheorem}, for
specifying theorem (and similar)
definitions.")
(license license:lppl1.3c+)))
-(define-public texlive-latex-amscls
- (package
- (name "texlive-latex-amscls")
- (version (number->string %texlive-revision))
- (source (origin
- (method svn-fetch)
- (uri (texlive-ref "latex" "amscls"))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "0c2j9xh4qpi0x1vvcxdjxq6say0zhyr569fryi5cmhp8bclh4kca"))))
- (build-system texlive-build-system)
- (arguments
- `(#:tex-directory "latex/amscls"))
- (home-page "https://www.ctan.org/pkg/amscls")
- (synopsis "AMS document classes for LaTeX")
- (description
- "This bundle contains three AMS classes: @code{amsartamsart} (for writing
+(define-public texlive-amscls
+ (let ((template (simple-texlive-package
+ "texlive-amscls"
+ (list "/doc/latex/amscls/"
+ "/source/latex/amscls/"
+ "/bibtex/bst/amscls/")
+ (base32
+ "1mv96i5372257zaciv06n1wwa7v09q0fa9pbq9kck826a0syidvs"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t)
+ "latex/amscls")
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/amscls/") #t))))))
+ (home-page "https://www.ctan.org/pkg/amscls")
+ (synopsis "AMS document classes for LaTeX")
+ (description
+ "This bundle contains three AMS classes: @code{amsartamsart} (for
writing
articles for the AMS), @code{amsbookamsbook} (for books) and
@code{amsprocamsproc} (for proceedings), together with some supporting
material. The material is made available as part of the AMS-LaTeX
distribution.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-public texlive-latex-amscls
+ (deprecated-package "texlive-latex-amscls" texlive-amscls))
(define-public texlive-latex-babel
(package
- 22/37: gnu: chez-sockets: Use new name of texlive-pdftex., (continued)
- 22/37: gnu: chez-sockets: Use new name of texlive-pdftex., guix-commits, 2020/12/23
- 24/37: gnu: Replace texlive-fonts-knuth-lib with texlive-knuth-lib., guix-commits, 2020/12/23
- 26/37: gnu: python-ipython-documentation: Use new name for texlive-pdftex., guix-commits, 2020/12/23
- 35/37: gnu: Replace texlive-latex-hyperref with texlive-hyperref., guix-commits, 2020/12/23
- 34/37: gnu: Replace texlive-latex-fontspec with texlive-fontspec., guix-commits, 2020/12/23
- 37/37: gnu: Replace texlive-latex-pdfx with texlive-pdfx., guix-commits, 2020/12/23
- 28/37: gnu: Replace texlive-latex-mflogo with texlive-mflogo., guix-commits, 2020/12/23
- 04/37: gnu: Replace texlive-latex-psnfss with texlive-psnfss., guix-commits, 2020/12/23
- 18/37: gnu: lilypond: Use new name of texlive-lh., guix-commits, 2020/12/23
- 23/37: gnu: chez-web: Use new names of TeX Live packages., guix-commits, 2020/12/23
- 29/37: gnu: Replace texlive-latex-amscls with texlive-amscls.,
guix-commits <=
- 30/37: gnu: texlive-base: Update reference to texlive-amscls., guix-commits, 2020/12/23
- 27/37: gnu: python-pypandoc: Do not set HOME., guix-commits, 2020/12/23
- 31/37: gnu: texlive-base: Update reference to texlive-psnfss., guix-commits, 2020/12/23
- 32/37: gnu: Replace texlive-latex-babel with texlive-babel., guix-commits, 2020/12/23
- 33/37: gnu: texlive-base: Update reference to texlive-babel., guix-commits, 2020/12/23
- 36/37: gnu: texlive-latex-pdfx: Use simple-texlive-package., guix-commits, 2020/12/23