George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-pillow
Commits:
5f35661a by George Rawlinson at 2024-10-17T10:03:03+13:00
upgpkg: 11.0.0-1
* New upstream release.
* Fix FTBFS due to ridiculous validation requirements.
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + ftbfs-trove-classifiers.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
pkgbase = python-pillow
pkgdesc = Python Imaging Library (PIL) fork
- pkgver = 10.4.0
+ pkgver = 11.0.0
pkgrel = 1
url = https://python-pillow.org
arch = x86_64
- license = BSD-Attribution-HPND-disclaimer
+ license = MIT-CMU
checkdepends = python-pytest
checkdepends = python-pytest-timeout
makedepends = git
@@ -30,8 +30,11 @@ pkgbase = python-pillow
optdepends = tk: for the ImageTK module
optdepends = python-olefile: OLE2 file support
optdepends = python-pyqt6: for the ImageQt module
- source =
python-pillow::git+https://github.com/python-pillow/Pillow#tag=10.4.0
- sha512sums =
3d8d9f5b32427f04b75d3a2ca4dc9247805c6918903f361dcc8fef32390fc59da0244539d8f85985aa33152b757e92462775f45b8f0aa9d2a94c47b3bddc1a6a
- b2sums =
5ca9614e6e76b2838f9c85c84a9b40e61cb672cf01707763195e31f9b7cf62dec2dc346e9e1a527e9e4ba089d399677fe68fac7f5fd8efd346ac763dec26c300
+ source =
python-pillow::git+https://github.com/python-pillow/Pillow#tag=11.0.0
+ source = ftbfs-trove-classifiers.patch
+ sha512sums =
93867f9ec6e58dc52d1cb67f72e127f17f42954735daf4920c853cb0da503c16bc7ee17a37f4dabc564949b589439f1fe7a3c712b89252b493b53bcc8ff4c13d
+ sha512sums =
5ac423ac371b8303d6273382af3586943bd4c68cb9b03445754fde551c8bab1ce58670443c30c51698284e532996795d81414cb1d39b3a438b285228e2fbb047
+ b2sums =
f3c65ffd5df44276e524fedf01728de5e5db428b239d1481ece42f8fffd819ba30c3d77d151ce17e62e254793d6666befede0db46699575a48fc23a075abe5d6
+ b2sums =
c429863610bf2a0ee389addc99e60c8ec76ec4b703d8e822afdb2ea2277c6ef3ccc055ed84af720d651373942944feaa85048692b5daf044180abf5dcaf3215d
pkgname = python-pillow
=====================================
PKGBUILD
=====================================
@@ -3,12 +3,12 @@
# Contributor: minder
pkgname=python-pillow
-pkgver=10.4.0
+pkgver=11.0.0
pkgrel=1
pkgdesc='Python Imaging Library (PIL) fork'
arch=('x86_64')
url='https://python-pillow.org'
-license=('BSD-Attribution-HPND-disclaimer')
+license=('MIT-CMU')
depends=(
'glibc'
'python'
@@ -42,9 +42,21 @@ optdepends=(
'python-olefile: OLE2 file support'
'python-pyqt6: for the ImageQt module'
)
-source=("$pkgname::git+https://github.com/python-pillow/Pillow#tag=$pkgver")
-sha512sums=('3d8d9f5b32427f04b75d3a2ca4dc9247805c6918903f361dcc8fef32390fc59da0244539d8f85985aa33152b757e92462775f45b8f0aa9d2a94c47b3bddc1a6a')
-b2sums=('5ca9614e6e76b2838f9c85c84a9b40e61cb672cf01707763195e31f9b7cf62dec2dc346e9e1a527e9e4ba089d399677fe68fac7f5fd8efd346ac763dec26c300')
+source=(
+ "$pkgname::git+https://github.com/python-pillow/Pillow#tag=$pkgver"
+ 'ftbfs-trove-classifiers.patch'
+)
+sha512sums=('93867f9ec6e58dc52d1cb67f72e127f17f42954735daf4920c853cb0da503c16bc7ee17a37f4dabc564949b589439f1fe7a3c712b89252b493b53bcc8ff4c13d'
+
'5ac423ac371b8303d6273382af3586943bd4c68cb9b03445754fde551c8bab1ce58670443c30c51698284e532996795d81414cb1d39b3a438b285228e2fbb047')
+b2sums=('f3c65ffd5df44276e524fedf01728de5e5db428b239d1481ece42f8fffd819ba30c3d77d151ce17e62e254793d6666befede0db46699575a48fc23a075abe5d6'
+
'c429863610bf2a0ee389addc99e60c8ec76ec4b703d8e822afdb2ea2277c6ef3ccc055ed84af720d651373942944feaa85048692b5daf044180abf5dcaf3215d')
+
+prepare() {
+ cd "$pkgname"
+
+ # FTBFS: why are we validating pyproject.toml?
+ patch -p1 -i "$srcdir/ftbfs-trove-classifiers.patch"
+}
build() {
cd "$pkgname"
=====================================
ftbfs-trove-classifiers.patch
=====================================
@@ -0,0 +1,10 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -21,7 +21,6 @@ authors = [
+ requires-python = ">=3.9"
+ classifiers = [
+ "Development Status :: 6 - Mature",
+- "License :: OSI Approved :: CMU License (MIT-CMU)",
+ "Programming Language :: Python :: 3 :: Only",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pillow/-/commit/5f35661a2e0610ee6bff4848187cdab3fbf28891
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pillow/-/commit/5f35661a2e0610ee6bff4848187cdab3fbf28891
You're receiving this email because of your account on gitlab.archlinux.org.