guix-commits
[Top][All Lists]
Advanced

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

108/435: gnu: texlive-latex-verbatimbox -> texlive-verbatimbox.


From: guix-commits
Subject: 108/435: gnu: texlive-latex-verbatimbox -> texlive-verbatimbox.
Date: Tue, 6 Jun 2023 11:39:26 -0400 (EDT)

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

commit 562c909990ab37220f8a2386051625518b982a1a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 14:35:51 2023 +0200

    gnu: texlive-latex-verbatimbox -> texlive-verbatimbox.
    
    * gnu/packages/tex.scm (texlive-verbatimbox): New variable.
    (texlive-latex-verbatimbox): Deprecate variable.
    * gnu/packages/bioinformatics.scm (discrover)[native-inputs]: Use new name.
---
 gnu/packages/bioinformatics.scm |  2 +-
 gnu/packages/tex.scm            | 38 +++++++++++++-------------------------
 2 files changed, 14 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0e26b650f6..e6de2d2cc6 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4298,7 +4298,7 @@ data and settings.")
                   texlive-natbib
                   texlive-bibtex        ;style files used by natbib
                   texlive-pgf           ;tikz
-                  texlive-latex-verbatimbox))
+                  texlive-verbatimbox))
            imagemagick))
     (home-page "https://dorina.mdc-berlin.de/public/rajewsky/discrover/";)
     (synopsis "Discover discriminative nucleotide sequence motifs")
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ddcf2147c4..df967ad17e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9808,34 +9808,20 @@ formatted text.")
 
 (define-deprecated-package texlive-latex-readarray texlive-readarray)
 
-(define-public texlive-latex-verbatimbox
+(define-public texlive-verbatimbox
   (package
-    (name "texlive-latex-verbatimbox")
+    (name "texlive-verbatimbox")
     (version (number->string %texlive-revision))
-    (source (origin
-              (method svn-fetch)
-              (uri (svn-reference
-                    (url (string-append "svn://www.tug.org/texlive/tags/"
-                                        %texlive-tag "/Master/texmf-dist/"
-                                        "/tex/latex/verbatimbox"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "0qh1cgvfs463zsi2pjg490gj0mkjfdpfc381j10cbb5la304psna"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let ((target (string-append (assoc-ref %outputs "out")
-                                      
"/share/texmf-dist/tex/latex/verbatimbox")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/verbatimbox/"
+                   "tex/latex/verbatimbox/")
+             (base32
+              "00n3x075ya3s2qwmcz2vvn8x70pbbgj2cbwz0ifw89jrc4ljisgi")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
     (propagated-inputs
-     (list texlive-readarray))
+     (list texlive-tools))
     (home-page "https://www.ctan.org/pkg/verbatimbox";)
     (synopsis "Deposit verbatim text in a box")
     (description
@@ -9847,6 +9833,8 @@ in places where the standard @code{verbatim} environment 
(which is based on a
 @code{trivlist}) may not appear.")
     (license license:lppl1.3+)))
 
+(define-deprecated-package texlive-latex-verbatimbox texlive-verbatimbox)
+
 (define-public texlive-latex-examplep
   (package
     (name "texlive-latex-examplep")



reply via email to

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