From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A1FB1582EF for ; Fri, 21 Feb 2025 10:34:37 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 01FC134312A for ; Fri, 21 Feb 2025 10:34:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 620E0110470; Fri, 21 Feb 2025 10:34:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5D00E110470 for ; Fri, 21 Feb 2025 10:34:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14CA13430E9 for ; Fri, 21 Feb 2025 10:34:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71F6F2736 for ; Fri, 21 Feb 2025 10:34:31 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1740134068.d53600bc5492e9a2f5a2b83e84985ba0b3d254cf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pillow/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pillow/Manifest dev-python/pillow/pillow-11.1.0.ebuild X-VCS-Directories: dev-python/pillow/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d53600bc5492e9a2f5a2b83e84985ba0b3d254cf X-VCS-Branch: master Date: Fri, 21 Feb 2025 10:34:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 86331c55-0809-4fde-ae82-8d2f7827f62e X-Archives-Hash: e92de4c0aaa17436e2d056245741efea commit: d53600bc5492e9a2f5a2b83e84985ba0b3d254cf Author: Michał Górny gentoo org> AuthorDate: Fri Feb 21 10:30:34 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 21 10:34:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53600bc dev-python/pillow: Fetch extra test images for better coverage Signed-off-by: Michał Górny gentoo.org> dev-python/pillow/Manifest | 1 + dev-python/pillow/pillow-11.1.0.ebuild | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 29e23c43bce0..cf74834f59b3 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,2 +1,3 @@ DIST pillow-11.1.0.gh.tar.gz 46815201 BLAKE2B 7990683c90359e0a72e17a13e1a29455bc3ace8ce3616d6af59360edfc1ac87541bd1fd6967160bd8d7dd25cfedfc9d2e9b058c3ed433a6208379834f15bc312 SHA512 bb0622fae0b9c3903ddd945dced8e2b94348b2bd06c14bc74da00d8aa3a795aab2daaff39ca6c40b712dcce4f10218cd30739f0eb616c9dfbc16efcf80886f1e +DIST pillow-test-images-716bdc4adaf97601e5b9a31c9be25f8975381ee1.gh.tar.gz 57416881 BLAKE2B 8ea5fff2231567f957fc911120c1b50610722477da99559639317e4513e4bc4e73b8b49368a6d95c6938333f0c48db7672c3713eaef70494f7896dadd07cc42d SHA512 b00009be0f5ca85ec0c761fa780f0e650c1877b456b9a9426a4d2300a0c5654358495299e129ded411fccb641e4add7e460bcb3ca7be055f3b207407ccefb33c DIST pythoncapi_compat.h 61109 BLAKE2B 9b8d9f774a6803dee73aedc5465519f2956c284bf70314f5e046d0d5522a10891bf55358a85fea5a156d4063736424c0f019bc71dd18592bbf56c364db7b6bce SHA512 d0ca43186fdc3cd8d0e993135b50fc86eeea05e8b84cba529d89f60ce28bc9502f8d3825eb508be5d68d1fbfc53423a69756c0e79fe0fe7adf94c602b1cf79ff diff --git a/dev-python/pillow/pillow-11.1.0.ebuild b/dev-python/pillow/pillow-11.1.0.ebuild index 3080e16268e8..74b4d57ba8d7 100644 --- a/dev-python/pillow/pillow-11.1.0.ebuild +++ b/dev-python/pillow/pillow-11.1.0.ebuild @@ -14,6 +14,9 @@ inherit distutils-r1 toolchain-funcs virtualx MY_PN=Pillow MY_P=${MY_PN}-${PV} +# upstream always fetches from main +TEST_IMAGE_COMMIT="716bdc4adaf97601e5b9a31c9be25f8975381ee1" + DESCRIPTION="Python Imaging Library (fork)" HOMEPAGE=" https://python-pillow.org/ @@ -24,8 +27,12 @@ SRC_URI=" https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.gh.tar.gz https://github.com/python/pythoncapi-compat/raw/c84545f0e1e21757d4901f75c47333d25a3fcff0/pythoncapi_compat.h + test? ( + https://github.com/python-pillow/test-images/archive/${TEST_IMAGE_COMMIT}.tar.gz + -> pillow-test-images-${TEST_IMAGE_COMMIT}.gh.tar.gz + ) " -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} LICENSE="HPND" SLOT="0" @@ -75,6 +82,11 @@ src_prepare() { distutils-r1_src_prepare + if use test; then + mv "${WORKDIR}/test-images-${TEST_IMAGE_COMMIT}"/* \ + Tests/images || die + fi + # https://github.com/python-pillow/Pillow/pull/8757 if ! grep -q 0041177c4f348c8952b4c8980b2c90856e61c7c7 \ src/thirdparty/pythoncapi_compat.h