all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 74702@debbugs.gnu.org
Cc: Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>,
	Tanguy Le Carrour <tanguy@bioneland.org>,
	jgart <jgart@dismail.de>
Subject: [bug#74702] [PATCH 1/4] gnu: python-pillow: Update to 11.0.0.
Date: Thu, 5 Dec 2024 17:50:00 +0100	[thread overview]
Message-ID: <2a182584b2a13943ebd868ef58ae378f237f5edb.1733413402.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1733413402.git.liliana.prikler@gmail.com>

* gnu/packages/python-xyz.scm (python-pillow): Update to 11.0.0.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cba99cce62..e77c5f6b65 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10388,20 +10388,25 @@ (define-public python-pikepdf
 (define-public python-pillow
   (package
     (name "python-pillow")
-    (version "9.2.0")
+    (version "11.0.0")
     (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "Pillow" version))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/python-pillow/Pillow")
+                    (commit version)))
+              (file-name (git-file-name "python-pillow" version))
               (sha256
                (base32
-                "011wgm1mssjchpva9wsi2a07im9czyjvik137xlp5f0g7vykdrkm"))
-              (modules '((guix build utils)))
+                "0ya68a5ymxc581laidc3qlzjs9l327fyzw0mgcb9fz4r1p66lqxx"))
+              (modules '((guix build utils)
+                         (ice-9 ftw)))
               (snippet '(begin
-                          (delete-file-recursively "src/thirdparty")))
-              (patches
-               (search-patches "python-pillow-CVE-2022-45199.patch"
-                               ;; Included in 10.1.0.
-                               "python-pillow-use-zlib-1.3.patch"))))
+                          (let ((keep '("." ".." "pythoncapi_compat.h")))
+                            (with-directory-excursion "src/thirdparty"
+                              (for-each
+                               (lambda (f) (unless (member f keep)
+                                        (delete-file-recursively f)))
+                               (scandir "."))))))))
     (build-system python-build-system)
     (native-inputs (list python-pytest))
     (inputs (list freetype
-- 
2.46.0





  parent reply	other threads:[~2024-12-05 17:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-05 16:50 [bug#74702] [PATCH 0/4] Update komikku to 1.57.0 Liliana Marie Prikler
2024-12-05 16:50 ` [bug#74702] [PATCH 3/4] gnu: komikku: Update " Liliana Marie Prikler
2024-12-09  0:31   ` Maxim Cournoyer
2024-12-05 16:50 ` Liliana Marie Prikler [this message]
2024-12-05 16:50 ` [bug#74702] [PATCH 2/4] gnu: Add python-pillow-heif Liliana Marie Prikler
2024-12-05 16:50 ` [bug#74702] [PATCH 4/4] gnu: Add komikku-servers Liliana Marie Prikler
2024-12-09  0:37   ` Maxim Cournoyer
2024-12-10 19:54     ` Liliana Marie Prikler
2024-12-11  2:40       ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a182584b2a13943ebd868ef58ae378f237f5edb.1733413402.git.liliana.prikler@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=74702@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    --cc=tanguy@bioneland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.