guix-commits
[Top][All Lists]
Advanced

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

171/418: gnu: texlive-apa6: Refresh package definition.


From: guix-commits
Subject: 171/418: gnu: texlive-apa6: Refresh package definition.
Date: Fri, 2 Jun 2023 17:24:28 -0400 (EDT)

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

commit 3b7d9b179f1dddf50e30a3f2aac3b4a3c7a25a03
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 13:09:35 2023 +0200

    gnu: texlive-apa6: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-apa6): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-BIBLATEX, TEXLIVE-GEOMETRY, 
TEXLIVE-THREEPARTTABLE.
---
 gnu/packages/tex.scm | 76 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 44 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 01fea1beaa..c5eaf3a740 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12111,39 +12111,51 @@ and selecting references used in a publication.")
 
 (define-public texlive-apa6
   (package
-    (inherit (simple-texlive-package
-              "texlive-apa6"
-              (list "doc/latex/apa6/"
-                    "source/latex/apa6/"
-                    "tex/latex/apa6/")
-              (base32
-               "08jn8piyaad4zln33c0gikyhdkcsk2s3ms9l992riq2hbpbm9lcf")
-              #:trivial? #t))
-    (propagated-inputs (list texlive-apacite
-                             texlive-babel
-                             texlive-booktabs
-                             texlive-draftwatermark
-                             texlive-endnotes
-                             texlive-etoolbox
-                             texlive-fancyhdr
-                             texlive-xstring
-                             texlive-graphics
-                             texlive-float
-                             texlive-lm
-                             texlive-substr
-                             texlive-times
-                             texlive-tools))
-    (home-page "https://www.ctan.org/pkg/apa6";)
+    (name "texlive-apa6")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/apa6/" "source/latex/apa6/"
+                   "tex/latex/apa6/")
+             (base32
+              "08jn8piyaad4zln33c0gikyhdkcsk2s3ms9l992riq2hbpbm9lcf")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-build
+            ;; Build process wants to generate files in the wrong directory.
+            (lambda _
+              (substitute* "source/latex/apa6/apa6.ins"
+                (("file\\{\\./.*?/") "file{")))))))
+    (propagated-inputs
+     (list texlive-apacite
+           texlive-babel
+           texlive-biblatex
+           texlive-booktabs
+           texlive-caption
+           texlive-draftwatermark
+           texlive-endnotes
+           texlive-etoolbox
+           texlive-fancyhdr
+           texlive-float
+           texlive-geometry
+           texlive-graphics
+           texlive-lm
+           texlive-substr
+           texlive-threeparttable
+           texlive-times
+           texlive-tools
+           texlive-xstring))
+    (home-page "https://ctan.org/pkg/apa6";)
     (synopsis "Format documents in APA style (6th edition)")
-    (description "The class formats documents in APA style (6th
-Edition).  It provides a full set of facilities in three different
-output modes (journal-like appearance, double-spaced manuscript,
-LaTeX-like document), in contrast to the earlier apa6e, which only formats
-double-spaced manuscripts in APA style.  The class can mask author identity
-for copies for use in masked peer review.
-
-The class is a development of the apa class (which is no longer
-maintained).")
+    (description
+     "The class formats documents in APA style (6th Edition).  It provides
+a full set of facilities in three different output modes (journal-like
+appearance, double-spaced manuscript, LaTeX-like document).  The class can
+mask author identity for copies for use in masked peer review.")
     (license license:lppl1.3c+)))
 
 (define-public texlive-apacite



reply via email to

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