gnu: rubber: Update to 1.6.0.

* gnu/packages/tex.scm (rubber): Update to 1.6.0.
[source]: Switch to GitLab.
[build-system]: Use PYPROJECT-BUILD-SYSTEM.
[arguments]<#:tests?>: Activate tests.
<#:phases>: Build PDF documentation.
[native-inputs]: Add TEXLIVE-TEXINFO and TEXLIVE-UPDMAP.CFG.
[home-page]: Switch to GitLab.
[license]: Use GPL3+.
This commit is contained in:
Nicolas Goaziou 2023-09-02 11:05:59 +02:00
parent 2a40cd7106
commit f6cf746938
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -53,6 +53,7 @@ (define-module (gnu packages tex)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python) #:use-module (guix build-system python)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
@ -56964,31 +56965,34 @@ (define-deprecated-package biber texlive-biber)
(define-public rubber (define-public rubber
(package (package
(name "rubber") (name "rubber")
(version "1.5.1") (version "1.6.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (list (string-append "https://launchpad.net/rubber/trunk/" (uri (git-reference
version "/+download/rubber-" (url "https://gitlab.com/latex-rubber/rubber/")
version ".tar.gz") (commit version)))
(string-append "http://ebeffara.free.fr/pub/rubber-" (file-name (git-file-name name version))
version ".tar.gz")))
(sha256 (sha256
(base32 (base32
"178dmrp0mza5gqjiqgk6dqs0c10s0c517pk6k9pjbam86vf47a1p")))) "0kndj42f87042x44p4jqwcf44bhpvhfqi2ilhh8sl09px2rm0qzl"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
'(#:tests? #f ; no `check' target (list
#:phases #:tests? #true
(modify-phases %standard-phases #:phases
(delete 'build) #~(modify-phases %standard-phases
(replace 'install (delete 'build)
(lambda* (#:key outputs #:allow-other-keys) ;; setup.py script does not support one of the Python build
;; texlive is required to build the PDF documentation; do not ;; system's default flags, "--single-version-externally-managed".
;; build it. (replace 'install
(invoke "python" "setup.py" "build" "--pdf=False" "install" (lambda _
(string-append "--prefix=" (assoc-ref outputs "out")))))))) (invoke "python" "setup.py" "install"
(native-inputs (list texinfo)) (string-append "--prefix=" #$output)
(home-page "https://launchpad.net/rubber") "--root=/"))))))
(native-inputs
(list texinfo (texlive-updmap.cfg (list texlive-texinfo))))
(inputs (list python-wrapper))
(home-page "https://gitlab.com/latex-rubber/rubber/")
(synopsis "Wrapper for LaTeX and friends") (synopsis "Wrapper for LaTeX and friends")
(description (description
"Rubber is a program whose purpose is to handle all tasks related to the "Rubber is a program whose purpose is to handle all tasks related to the
@ -56997,7 +57001,7 @@ (define-public rubber
to manage bibliographic references. Automatic execution of dvips to produce to manage bibliographic references. Automatic execution of dvips to produce
PostScript documents is also included, as well as usage of pdfLaTeX to produce PostScript documents is also included, as well as usage of pdfLaTeX to produce
PDF documents.") PDF documents.")
(license license:gpl2+))) (license license:gpl3+)))
(define-public texmaker (define-public texmaker
(package (package