gnu: texlive-l3build: Refresh package definition.
* gnu/packages/tex.scm (texlive-l3build): Remove SIMPLE-TEXLIVE-PACKAGE call.
This commit is contained in:
parent
7881695e1b
commit
cabe400c5a
@ -4413,50 +4413,30 @@ file name may also be given explicitly as an optional argument.")
|
|||||||
(license license:lppl)))
|
(license license:lppl)))
|
||||||
|
|
||||||
(define-public texlive-l3build
|
(define-public texlive-l3build
|
||||||
(let ((template (simple-texlive-package
|
(package
|
||||||
"texlive-l3build"
|
(name "texlive-l3build")
|
||||||
(list "/doc/latex/l3build/"
|
(version (number->string %texlive-revision))
|
||||||
"/doc/man/man1/l3build.1"
|
(source (texlive-origin
|
||||||
"/scripts/l3build/"
|
name version
|
||||||
"/tex/latex/l3build/"
|
(list "doc/latex/l3build/"
|
||||||
;; TODO: The dtx file builds only the documentation.
|
"doc/man/man1/l3build.1"
|
||||||
;; We avoid this for a simpler package definition,
|
"doc/man/man1/l3build.man1.pdf"
|
||||||
;; but it may be possible to exclude
|
"scripts/l3build/"
|
||||||
;; /doc/latex/l3build and the man page in the future.
|
"source/latex/l3build/"
|
||||||
"/source/latex/l3build/")
|
"tex/latex/l3build/")
|
||||||
(base32
|
(base32
|
||||||
"1fcay05jj53qgp2b98jpawi0id298fs5xc4y1r5krrfr4sp4hd59")
|
"0xxzy3xnq71z3sbkdq8glgnqydvr9g11ih2jmg68fmn5m145w8pi")))
|
||||||
#:trivial? #t)))
|
(outputs '("out" "doc"))
|
||||||
(package
|
(build-system texlive-build-system)
|
||||||
(inherit template)
|
(home-page "https://ctan.org/pkg/l3build")
|
||||||
(arguments
|
(synopsis "Testing and building system for LaTeX")
|
||||||
(substitute-keyword-arguments (package-arguments template)
|
(description
|
||||||
((#:phases phases)
|
"The @code{l3build} module is designed to support the development of
|
||||||
`(modify-phases ,phases
|
|
||||||
(add-after 'install 'patch-shebangs-again
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
;; XXX: Since the 'patch-shebangs' phase cannot change the
|
|
||||||
;; original source files patch the shebangs again here.
|
|
||||||
(let* ((coreutils (assoc-ref inputs "coreutils"))
|
|
||||||
(texlive-bin (assoc-ref inputs "texlive-bin"))
|
|
||||||
(path (list (string-append coreutils "/bin")
|
|
||||||
(string-append texlive-bin "/bin"))))
|
|
||||||
(for-each (lambda (file)
|
|
||||||
(format #t "~a~%" file)
|
|
||||||
(patch-shebang file path))
|
|
||||||
(find-files (assoc-ref outputs "out")))
|
|
||||||
#t)))))))
|
|
||||||
(inputs
|
|
||||||
(list coreutils texlive-bin))
|
|
||||||
(home-page "https://github.com/latex3/luaotfload")
|
|
||||||
(synopsis "Testing and building system for LaTeX")
|
|
||||||
(description
|
|
||||||
"The l3build module is designed to support the development of
|
|
||||||
high-quality LaTeX code by providing: a unit testing system, automated
|
high-quality LaTeX code by providing: a unit testing system, automated
|
||||||
typesetting of code sources, and a reliable packaging system for CTAN
|
typesetting of code sources, and a reliable packaging system for CTAN
|
||||||
releases. The bundle consists of a Lua script to run the tasks and a
|
releases. The bundle consists of a Lua script to run the tasks and
|
||||||
@code{.tex} file which provides the testing environment.")
|
a @file{.tex} file which provides the testing environment.")
|
||||||
(license license:lppl1.3c+))))
|
(license license:lppl1.3c+)))
|
||||||
|
|
||||||
(define-public texlive-luabidi
|
(define-public texlive-luabidi
|
||||||
(package
|
(package
|
||||||
|
Loading…
Reference in New Issue
Block a user