Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions mingw-w64-python-pillow/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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
Expand All @@ -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
}

Expand Down