From patchwork Sat Jul 4 21:37:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 23063 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 51EAE27BBE3; Sat, 4 Jul 2020 22:43:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id BA1E127BBE1 for ; Sat, 4 Jul 2020 22:43:12 +0100 (BST) Received: from localhost ([::1]:37078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrpwG-0004z9-4g for patchwork@mira.cbaines.net; Sat, 04 Jul 2020 17:43:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrprG-0006jf-Eb for guix-patches@gnu.org; Sat, 04 Jul 2020 17:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrprG-00051T-3g for guix-patches@gnu.org; Sat, 04 Jul 2020 17:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrprF-0000me-VA for guix-patches@gnu.org; Sat, 04 Jul 2020 17:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42204] [PATCH] gnu: rubber: Update to 1.5.1. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Jul 2020 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42204 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42204@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15938986692984 (code B ref -1); Sat, 04 Jul 2020 21:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2020 21:37:49 +0000 Received: from localhost ([127.0.0.1]:59768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrpqw-0000ly-Ck for submit@debbugs.gnu.org; Sat, 04 Jul 2020 17:37:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:47852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrpqs-0000ln-Ge for submit@debbugs.gnu.org; Sat, 04 Jul 2020 17:37:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrpqr-00068q-FH for guix-patches@gnu.org; Sat, 04 Jul 2020 17:37:38 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:53424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrpqn-0004tV-Om for guix-patches@gnu.org; Sat, 04 Jul 2020 17:37:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wejdJz808yAYXVnB6AJDYCxjUmEF3DzsIWVdP7UFX/M=; b=Z/1Js1MTRg74jSUSkgijF3+kVm TMMmK+4Z5rv41tPbO8uHIdGAHDIPMqoyGB8tNIrrayQhQf6zxC8bUckURMf6nhavX49HBnDANqloO MOYtX5/XeoQkNGIPpm1AmvkXQHUsYDESOy66/aUDKizBLI89Z9ykmjdS61KrxSNinUj8=; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jrpqg-0002MO-St; Sun, 05 Jul 2020 03:07:27 +0530 From: Arun Isaac Date: Sun, 5 Jul 2020 03:07:09 +0530 Message-Id: <20200704213710.32539-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/04 17:37:28 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Danny Milosavljevic -;;; Copyright © 2018 Arun Isaac +;;; Copyright © 2018, 2020 Arun Isaac ;;; Copyright © 2020 Vincent Legoll ;;; ;;; 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