guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 108/452: gnu: texlive-latex-verbatimbox -> texlive-verbatimbox.
Date: Fri, 9 Jun 2023 13:43:05 -0400 (EDT)

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

commit b26037b0ee20d2a19f0fa94d8c693d1d5e855472
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 586a13ad56..633db70f18 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4557,7 +4557,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 a41dbbaf1f..320174daed 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9800,34 +9800,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
@@ -9839,6 +9825,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]