guix-commits
[Top][All Lists]
Advanced

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

109/418: gnu: texlive-latex-examplep -> texlive-examplep.


From: guix-commits
Subject: 109/418: gnu: texlive-latex-examplep -> texlive-examplep.
Date: Mon, 29 May 2023 17:38:59 -0400 (EDT)

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

commit c3ecbf735872d2940fee78743438ac6abff956da
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 14:39:10 2023 +0200

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0cbd8b1bb2..7c00def84b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4292,7 +4292,7 @@ data and settings.")
                   texlive-amsfonts
                   texlive-doi
                   texlive-ec
-                  texlive-latex-examplep
+                  texlive-examplep
                   texlive-hyperref
                   texlive-ms
                   texlive-natbib
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index df967ad17e..bf1b9f32c0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9835,47 +9835,34 @@ in places where the standard @code{verbatim} 
environment (which is based on a
 
 (define-deprecated-package texlive-latex-verbatimbox texlive-verbatimbox)
 
-(define-public texlive-latex-examplep
+(define-public texlive-examplep
   (package
-    (name "texlive-latex-examplep")
+    (name "texlive-examplep")
     (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/examplep"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "0fsvvmz68ij0zwfzrny6x13d92grxr4ap59lxgah4smbkccd6s27"))))
-    (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/examplep")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
-    (home-page "https://www.ctan.org/pkg/examplep";)
+    (source (texlive-origin
+             name version
+             (list "doc/latex/examplep/" "tex/latex/examplep/")
+             (base32
+              "0afbl77i57hxngc3l0czdzmmkhcgh2l4h2dpbg9ax9p9dv8c006n")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/examplep";)
     (synopsis "Verbatim phrases and listings in LaTeX")
     (description
-     "Examplep provides sophisticated features for typesetting verbatim source
-code listings, including the display of the source code and its compiled LaTeX
-or METAPOST output side-by-side, with automatic width detection and enabled
-page breaks (in the source), without the need for specifying the source twice.
-Special care is taken that section, page and footnote numbers do not interfere
-with the main document.  For typesetting short verbatim phrases, a replacement
-for the @code{\\verb} command is also provided in the package, which can be
-used inside tables and moving arguments such as footnotes and section
-titles.")
+     "The @code{examplep} package provides sophisticated features for
+typesetting verbatim source code listings, including the display of the source
+code and its compiled LaTeX or METAPOST output side-by-side, with automatic
+width detection and enabled page breaks (in the source), without the need for
+specifying the source twice.  Special care is taken that section, page and
+footnote numbers do not interfere with the main document.  For typesetting
+short verbatim phrases, a replacement for the @code{\\verb} command is also
+provided in the package, which can be used inside tables and moving arguments
+such as footnotes and section titles.")
     ;; No version of the GPL is specified.
     (license license:gpl3+)))
 
+(define-deprecated-package texlive-latex-examplep texlive-examplep)
+
 (define-public texlive-xunicode
   (package
     (inherit



reply via email to

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