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.
This commit is contained in:
Nicolas Goaziou 2023-05-14 14:39:10 +02:00
parent 8cfcce5194
commit 95e4d69805
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D
2 changed files with 22 additions and 35 deletions

View file

@ -4769,7 +4769,7 @@ data and settings.")
texlive-amsfonts texlive-amsfonts
texlive-doi texlive-doi
texlive-ec texlive-ec
texlive-latex-examplep texlive-examplep
texlive-hyperref texlive-hyperref
texlive-ms texlive-ms
texlive-natbib texlive-natbib

View file

@ -9827,47 +9827,34 @@ in places where the standard @code{verbatim} environment (which is based on a
(define-deprecated-package texlive-latex-verbatimbox texlive-verbatimbox) (define-deprecated-package texlive-latex-verbatimbox texlive-verbatimbox)
(define-public texlive-latex-examplep (define-public texlive-examplep
(package (package
(name "texlive-latex-examplep") (name "texlive-examplep")
(version (number->string %texlive-revision)) (version (number->string %texlive-revision))
(source (origin (source (texlive-origin
(method svn-fetch) name version
(uri (svn-reference (list "doc/latex/examplep/" "tex/latex/examplep/")
(url (string-append "svn://www.tug.org/texlive/tags/" (base32
%texlive-tag "/Master/texmf-dist/" "0afbl77i57hxngc3l0czdzmmkhcgh2l4h2dpbg9ax9p9dv8c006n")))
"/tex/latex/examplep")) (outputs '("out" "doc"))
(revision %texlive-revision))) (build-system texlive-build-system)
(file-name (string-append name "-" version "-checkout")) (home-page "https://ctan.org/pkg/examplep")
(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")
(synopsis "Verbatim phrases and listings in LaTeX") (synopsis "Verbatim phrases and listings in LaTeX")
(description (description
"Examplep provides sophisticated features for typesetting verbatim source "The @code{examplep} package provides sophisticated features for
code listings, including the display of the source code and its compiled LaTeX typesetting verbatim source code listings, including the display of the source
or METAPOST output side-by-side, with automatic width detection and enabled code and its compiled LaTeX or METAPOST output side-by-side, with automatic
page breaks (in the source), without the need for specifying the source twice. width detection and enabled page breaks (in the source), without the need for
Special care is taken that section, page and footnote numbers do not interfere specifying the source twice. Special care is taken that section, page and
with the main document. For typesetting short verbatim phrases, a replacement footnote numbers do not interfere with the main document. For typesetting
for the @code{\\verb} command is also provided in the package, which can be short verbatim phrases, a replacement for the @code{\\verb} command is also
used inside tables and moving arguments such as footnotes and section provided in the package, which can be used inside tables and moving arguments
titles.") such as footnotes and section titles.")
;; No version of the GPL is specified. ;; No version of the GPL is specified.
(license license:gpl3+))) (license license:gpl3+)))
(define-deprecated-package texlive-latex-examplep texlive-examplep)
(define-public texlive-xunicode (define-public texlive-xunicode
(package (package
(inherit (inherit