From patchwork Sun Jan 6 06:21:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kei Kebreau X-Patchwork-Id: 683 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 8FC4A16A17; Sun, 6 Jan 2019 06:23:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3269516A10 for ; Sun, 6 Jan 2019 06:23:12 +0000 (GMT) Received: from localhost ([127.0.0.1]:33972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg1q3-0000Au-If for patchwork@mira.cbaines.net; Sun, 06 Jan 2019 01:23:11 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:53504 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg1py-0000An-A6 for guix-patches@gnu.org; Sun, 06 Jan 2019 01:23:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gg1pv-0001EF-5Q for guix-patches@gnu.org; Sun, 06 Jan 2019 01:23:06 -0500 Received: from debbugsout.gnu.org ([209.51.188.43]:52268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gg1pv-0001Dt-2G for guix-patches@gnu.org; Sun, 06 Jan 2019 01:23:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gg1pu-0007bq-J2 for guix-patches@gnu.org; Sun, 06 Jan 2019 01:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33994] [PATCH] gnu: python-pillow: Update to 5.4.0 Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jan 2019 06:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33994 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33994@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154675572829168 (code B ref -1); Sun, 06 Jan 2019 06:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jan 2019 06:22:08 +0000 Received: from localhost ([127.0.0.1]:48209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gg1ox-0007aK-Ut for submit@debbugs.gnu.org; Sun, 06 Jan 2019 01:22:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gg1ov-0007Zu-7a for submit@debbugs.gnu.org; Sun, 06 Jan 2019 01:22:02 -0500 Received: from [209.51.188.17] (port=38751 helo=lists.gnu.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gg1ou-0000ih-TT for submit@debbugs.gnu.org; Sun, 06 Jan 2019 01:22:00 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:53294 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg1ot-00006y-MY for guix-patches@gnu.org; Sun, 06 Jan 2019 01:22:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gg1oq-0000ge-I1 for guix-patches@gnu.org; Sun, 06 Jan 2019 01:21:59 -0500 Received: from mout01.posteo.de ([185.67.36.65]:39300) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gg1oq-0000er-5g for guix-patches@gnu.org; Sun, 06 Jan 2019 01:21:56 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 770A416005D for ; Sun, 6 Jan 2019 07:21:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1546755713; bh=+klktyd+qzAbNdBaGT2OKTEuZcIqSlTSXua29zQtrBY=; h=From:To:Cc:Subject:Date:From; b=O32l04nw0N1JALl6lO8JWH4P97A6wMT86NSuM+aWyO3453i21SCnm4xc3hYboQmw8 T+rB8cLBGd1r800UxfTkx5ldEgQHA1LxmAYXgJ3YJ1lHZveHPQ5wABkHI6miplkFh/ KNTTmKkH0NV+9au7dKWLVefZPk5hmu2SkfSI7hfwMqclYwT+kWPN7SiyZ3YdSohNGa b0tie87HcSoyg1JJWJrXM5sYtSw/4OG4aZFP+f4eHniaFB1Vkdio+3/xgdZPN74B/t 3GfZQVc6W4hL/6q0MlAxganRXlB80xo1b3/zfk6Kw4MDoB/vggaFGyfMvk9aXMMMxo KJcdfzgpHJ8kg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43XT276Czqz6tm5; Sun, 6 Jan 2019 07:21:51 +0100 (CET) From: Kei Kebreau Date: Sun, 6 Jan 2019 01:21:45 -0500 Message-Id: <20190106062145.9143-1-kkebreau@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kei Kebreau Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python.scm (python-pillow): Update to 5.4.0. [arguments]: Add 'patch-ldconfig' phase. [home-page]: Update URL. --- gnu/packages/python.scm | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ad5c56427..d7d6d1b8b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4151,17 +4151,17 @@ the OleFileIO module from PIL, the Python Image Library.") (define-public python-pillow (package (name "python-pillow") - (version "5.2.0") + (version "5.4.0") (source (origin (method url-fetch) (uri (pypi-uri "Pillow" version)) (sha256 (base32 - "1ary9mj2ddllq3lkxgn6aac7qxqiwbcg2pacrl94py58ql9x9czq")))) + "0qrkcjszym7ixffg5zphhp8a07w8w11yyc2ylcbdrhwm771z316m")))) (build-system python-build-system) (native-inputs - `(("python-pytest" ,python-pytest))) + `(("python-pytest" ,python-pytest))) (inputs `(("freetype" ,freetype) ("lcms" ,lcms) @@ -4173,19 +4173,22 @@ the OleFileIO module from PIL, the Python Image Library.") (propagated-inputs `(("python-olefile" ,python-olefile))) (arguments - `(#:phases (modify-phases %standard-phases - (add-after - 'install 'check-installed - (lambda* (#:key outputs inputs #:allow-other-keys) - (begin - (setenv "HOME" (getcwd)) - ;; Make installed package available for running the - ;; tests - (add-installed-pythonpath inputs outputs) - (invoke "python" "selftest.py" "--installed") - (invoke "python" "-m" "pytest" "-vv")))) - (delete 'check)))) - (home-page "https://pypi.python.org/pypi/Pillow") + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-ldconfig + (lambda _ + (substitute* "setup.py" + (("\\['/sbin/ldconfig', '-p'\\]") "['true']")))) + (delete 'check) ; We must run checks after python-pillow is installed. + (add-after 'install 'check-installed + (lambda* (#:key outputs inputs #:allow-other-keys) + (begin + (setenv "HOME" (getcwd)) + ;; Make installed package available for running the tests. + (add-installed-pythonpath inputs outputs) + (invoke "python" "selftest.py" "--installed") + (invoke "python" "-m" "pytest" "-vv"))))))) + (home-page "https://python-pillow.org") (synopsis "Fork of the Python Imaging Library") (description "The Python Imaging Library adds image processing capabilities to your