guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

46/421: gnu: texlive-latex-amsrefs -> texlive-amsrefs.


From: guix-commits
Subject: 46/421: gnu: texlive-latex-amsrefs -> texlive-amsrefs.
Date: Sun, 28 May 2023 01:29:27 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit ac9913233768d2dc528f6abb11e6427a3a067510
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 00:02:19 2023 +0200

    gnu: texlive-latex-amsrefs -> texlive-amsrefs.
    
    * gnu/packages/tex.scm (texlive-amsrefs): New variable.
    (texlive-latex-amsrefs): Deprecate variable.
---
 gnu/packages/tex.scm | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 159b8d5c6d..1fb0c5f331 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4922,28 +4922,32 @@ TS3. \"Times-like\" Adobe Type 1 versions are provided 
for both the T3 and the
 TS3 fonts.")
     (license license:lppl)))
 
-(define-public texlive-latex-amsrefs
+(define-public texlive-amsrefs
   (package
-    (name "texlive-latex-amsrefs")
+    (name "texlive-amsrefs")
     (version (number->string %texlive-revision))
-    (source (origin
-              (method svn-fetch)
-              (uri (texlive-ref "latex" "amsrefs"))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "15i4k479dwrpr0kspmm70g1yn4p3dkh0whyzmr93hph9bggnh1i1"))))
+    (source (texlive-origin
+             name version
+             (list "bibtex/bib/amsrefs/" "bibtex/bst/amsrefs/"
+                   "doc/latex/amsrefs/" "source/latex/amsrefs/"
+                   "tex/latex/amsrefs/")
+             (base32
+              "12la66vz5ic6jc1cy96b2zh2fxsbaii9kbs4wrz1ii8v508wdkhv")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (arguments '(#:tex-directory "latex/amsrefs"))
-    (home-page "https://www.ctan.org/pkg/amsrefs";)
+    (propagated-inputs
+     (list texlive-hyperref texlive-url))
+    (home-page "https://ctan.org/pkg/amsrefs";)
     (synopsis "LaTeX-based replacement for BibTeX")
     (description
-     "Amsrefs is a LaTeX package for bibliographies that provides an archival
-data format similar to the format of BibTeX database files, but adapted to
-make direct processing by LaTeX easier.  The package can be used either in
-conjunction with BibTeX or as a replacement for BibTeX.")
+     "Amsrefs is a LaTeX package for bibliographies that provides an
+archival data format similar to the format of BibTeX database files, but
+adapted to make direct processing by LaTeX easier.  The package can be used
+either in conjunction with BibTeX or as a replacement for BibTeX.")
     (license license:lppl1.3+)))
 
+(define-deprecated-package texlive-latex-amsrefs texlive-amsrefs)
+
 (define-public texlive-bigfoot
   (let ((template (simple-texlive-package
                    "texlive-bigfoot"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]