python-pillow: update to 12.0.0 (#25966)

This commit is contained in:
Miloš Komarčević 2025-10-17 07:11:54 +02:00 committed by GitHub
parent f099cb8a77
commit 082dfb8a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@
_realname=pillow
pkgbase=mingw-w64-python-pillow
pkgname=("${MINGW_PACKAGE_PREFIX}-python-pillow")
pkgver=11.3.0
pkgver=12.0.0
pkgrel=1
pkgdesc="Python Imaging Library (PIL) fork Python3 version (mingw-w64)"
arch=('any')
@ -27,11 +27,12 @@ depends=("${MINGW_PACKAGE_PREFIX}-freetype"
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-setuptools"
"${MINGW_PACKAGE_PREFIX}-pybind11"
"${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-tk")
optdepends=("${MINGW_PACKAGE_PREFIX}-tk: for the ImageTK module")
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523')
sha256sums=('87d4f8125c9988bfbed67af47dd7a953e2fc7b0cc1e7800ec6d2080d490bb353')
prepare() {
rm -rf "python-build-${MSYSTEM}" | true
@ -41,6 +42,8 @@ prepare() {
build() {
cd "${srcdir}/python-build-${MSYSTEM}"
# setuptools doesn't handle the archiver correctly in LLVM environments
AR="ar" \
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
}