Archived
1
0
Fork 0

gnu: Replace texlive-latex-amscls with texlive-amscls.

* gnu/packages/tex.scm (texlive-latex-amscls): Deprecate in favor of...
(texlive-amscls): ...this new variable.
This commit is contained in:
Ricardo Wurmus 2020-10-28 22:02:16 +01:00
parent 4c1de416b2
commit 6056dc110f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3256,29 +3256,36 @@ mathematics, and @code{ntheoremntheorem}, for specifying theorem (and similar)
definitions.") definitions.")
(license license:lppl1.3c+))) (license license:lppl1.3c+)))
(define-public texlive-latex-amscls (define-public texlive-amscls
(package (let ((template (simple-texlive-package
(name "texlive-latex-amscls") "texlive-amscls"
(version (number->string %texlive-revision)) (list "/doc/latex/amscls/"
(source (origin "/source/latex/amscls/"
(method svn-fetch) "/bibtex/bst/amscls/")
(uri (texlive-ref "latex" "amscls")) (base32
(file-name (string-append name "-" version "-checkout")) "1mv96i5372257zaciv06n1wwa7v09q0fa9pbq9kck826a0syidvs"))))
(sha256 (package
(base32 (inherit template)
"0c2j9xh4qpi0x1vvcxdjxq6say0zhyr569fryi5cmhp8bclh4kca")))) (arguments
(build-system texlive-build-system) (substitute-keyword-arguments (package-arguments template)
(arguments ((#:tex-directory _ #t)
`(#:tex-directory "latex/amscls")) "latex/amscls")
(home-page "https://www.ctan.org/pkg/amscls") ((#:phases phases)
(synopsis "AMS document classes for LaTeX") `(modify-phases ,phases
(description (add-after 'unpack 'chdir
"This bundle contains three AMS classes: @code{amsartamsart} (for writing (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 articles for the AMS), @code{amsbookamsbook} (for books) and
@code{amsprocamsproc} (for proceedings), together with some supporting @code{amsprocamsproc} (for proceedings), together with some supporting
material. The material is made available as part of the AMS-LaTeX material. The material is made available as part of the AMS-LaTeX
distribution.") 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 (define-public texlive-latex-babel
(package (package