Archived
1
0
Fork 0

gnu: texlive-ydoc: Refresh package definition.

* gnu/packages/tex.scm (texlive-ydoc): Remove `simple-texlive-package' call.
[propagated-inputs]: Add TEXLIVE-ETOOLBOX, TEXLIVE-FLOAT, TEXLIVE-HYPERREF,
TEXLIVE-LISTINGS, TEXLIVE-NEEDSPACE, TEXLIVE-SVN-PROV, TEXLIVE-TOOLS,
TEXLIVE-URL, TEXLIVE-XCOLOR.
This commit is contained in:
Nicolas Goaziou 2023-05-14 22:15:17 +02:00
parent e9af8651ed
commit 3a9c2bd782
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10241,33 +10241,38 @@ standards-compliant PDF documents with pdfTeX, LuaTeX and XeTeX.")
(define-deprecated-package texlive-latex-pdfx texlive-pdfx) (define-deprecated-package texlive-latex-pdfx texlive-pdfx)
(define-public texlive-ydoc (define-public texlive-ydoc
(let ((template (simple-texlive-package
"texlive-ydoc"
(list "/doc/latex/ydoc/"
"/source/latex/ydoc/")
(base32
"0ckcpy1b8v1fk3qc8qkxgiag2wc0qzxm6bgksv000m4m1hsi2g8b")
#:trivial? #f)))
(package (package
(inherit template) (name "texlive-ydoc")
(version (number->string %texlive-revision))
(source (texlive-origin
name version
(list "doc/latex/ydoc/" "source/latex/ydoc/"
"tex/generic/ydoc/" "tex/latex/ydoc/")
(base32
"1z7690vin47mw47gjg7k4h49b4ckg6g96l1zlziyjmjbkyzmyhdn")))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (arguments
(substitute-keyword-arguments (package-arguments template) (list
((#:tex-directory _ #t) #:phases
"latex/ydoc") #~(modify-phases %standard-phases
((#:build-targets _ #t) (add-after 'unpack 'create-missing-directories
''("ydoc.dtx")) ;; XXX: These directories are not created even though they belong
((#:phases phases) ;; to locations in TEXLIVE-ORIGIN. Create them manually.
`(modify-phases ,phases (lambda _
(add-after 'unpack 'chdir (mkdir-p "tex/generic/ydoc/")
(lambda _ (chdir "source/latex/ydoc") #t)) (mkdir-p "tex/latex/ydoc/"))))))
(add-after 'copy-files 'move-files (propagated-inputs
(lambda* (#:key inputs outputs #:allow-other-keys) (list texlive-etoolbox
(let ((source (assoc-ref inputs "source")) texlive-float
(doc (string-append (assoc-ref outputs "doc") texlive-hyperref
"/share/texmf-dist/doc"))) texlive-listings
(copy-recursively (string-append source "/doc") doc)))))))) texlive-needspace
(home-page "http://www.ctan.org/pkg/ydoc") texlive-svn-prov
texlive-tools
texlive-url
texlive-xcolor))
(home-page "https://ctan.org/pkg/ydoc")
(synopsis "Macros for documentation of LaTeX classes and packages") (synopsis "Macros for documentation of LaTeX classes and packages")
(description "The package provides macros and environments to document (description "The package provides macros and environments to document
LaTeX packages and classes. It is an (as yet unfinished) alternative to the LaTeX packages and classes. It is an (as yet unfinished) alternative to the
@ -10276,7 +10281,7 @@ provide a different layout and more modern styles (using the @code{xcolor},
@code{hyperref} packages, etc.) This is an alpha release, and should probably @code{hyperref} packages, etc.) This is an alpha release, and should probably
not (yet) be used with other packages, since the implementation might not (yet) be used with other packages, since the implementation might
change.") change.")
(license license:lppl1.3+)))) (license license:lppl1.3+)))
(define-public texlive-pstricks (define-public texlive-pstricks
(let ((template (simple-texlive-package (let ((template (simple-texlive-package