* [bug#42204] [PATCH] gnu: rubber: Update to 1.5.1.
@ 2020-07-04 21:37 Arun Isaac
2020-07-05 9:42 ` Mathieu Othacehe
0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2020-07-04 21:37 UTC (permalink / raw)
To: 42204; +Cc: Arun Isaac
* gnu/packages/tex.scm (rubber): Update to 1.5.1.
[build-system]: Switch to python-build-system.
[inputs]: Remove python-2 and which.
[arguments]: Delete the build phase. Replace the install phase with a custom
phase.
---
gnu/packages/tex.scm | 39 ++++++++++++++++++++++++---------------
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 47645a3e34..7b10433269 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2017, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org>
-;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2018, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;;
;;; This file is part of GNU Guix.
@@ -35,6 +35,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
+ #:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (guix build-system trivial)
#:use-module (guix build-system texlive)
@@ -6005,22 +6006,30 @@ other things it comes with full Unicode support.")
(define-public rubber
(package
(name "rubber")
- (version "1.1")
+ (version "1.5.1")
(source (origin
- (method url-fetch)
- (uri (list (string-append "https://launchpad.net/rubber/trunk/"
- version "/+download/rubber-"
- version ".tar.gz")
- (string-append "http://ebeffara.free.fr/pub/rubber-"
- version ".tar.gz")))
- (sha256
- (base32
- "1xbkv8ll889933gyi2a5hj7hhh216k04gn8fwz5lfv5iz8s34gbq"))))
- (build-system gnu-build-system)
- (arguments '(#:tests? #f)) ; no `check' target
+ (method url-fetch)
+ (uri (list (string-append "https://launchpad.net/rubber/trunk/"
+ version "/+download/rubber-"
+ version ".tar.gz")
+ (string-append "http://ebeffara.free.fr/pub/rubber-"
+ version ".tar.gz")))
+ (sha256
+ (base32
+ "178dmrp0mza5gqjiqgk6dqs0c10s0c517pk6k9pjbam86vf47a1p"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f ; no `check' target
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; texlive is required to build the PDF documentation; do not
+ ;; build it.
+ (invoke "python" "setup.py" "build" "--pdf=False" "install"
+ (string-append "--prefix=" (assoc-ref outputs "out"))))))))
(native-inputs `(("texinfo" ,texinfo)))
- (inputs `(("python" ,python-2) ; incompatible with Python 3 (print syntax)
- ("which" ,which)))
(home-page "https://launchpad.net/rubber")
(synopsis "Wrapper for LaTeX and friends")
(description
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#42204] [PATCH] gnu: rubber: Update to 1.5.1.
2020-07-04 21:37 [bug#42204] [PATCH] gnu: rubber: Update to 1.5.1 Arun Isaac
@ 2020-07-05 9:42 ` Mathieu Othacehe
2020-07-05 10:48 ` bug#42204: " Arun Isaac
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2020-07-05 9:42 UTC (permalink / raw)
To: Arun Isaac; +Cc: 42204
Hello,
This looks fine, please go ahead!
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#42204: [PATCH] gnu: rubber: Update to 1.5.1.
2020-07-05 9:42 ` Mathieu Othacehe
@ 2020-07-05 10:48 ` Arun Isaac
0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2020-07-05 10:48 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 42204-done
[-- Attachment #1: Type: text/plain, Size: 27 bytes --]
Pushed to master, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-05 10:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-04 21:37 [bug#42204] [PATCH] gnu: rubber: Update to 1.5.1 Arun Isaac
2020-07-05 9:42 ` Mathieu Othacehe
2020-07-05 10:48 ` bug#42204: " Arun Isaac
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).