pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/py-Pillow
Module Name: pkgsrc
Committed By: adam
Date: Sun Oct 20 20:05:35 UTC 2024
Modified Files:
pkgsrc/graphics/py-Pillow: Makefile PLIST distinfo
pkgsrc/graphics/py-Pillow/patches: patch-setup.py
Log Message:
py-Pillow: updated to 11.0.0
11.0.0 (2024-10-15)
- Update licence to MIT-CMU
- Conditionally define ImageCms type hint to avoid requiring core
- Support writing LONG8 offsets in AppendingTiffWriter
- Use ImageFile.MAXBLOCK when saving TIFF images
- Do not close provided file handles with libtiff when saving
- Support ImageFilter.BuiltinFilter for I;16* images
- Use ImagingCore.ptr instead of ImagingCore.id
- Updated EPS mode when opening images without transparency
- Use transparency when combining P frames from APNGs
- Support all resampling filters when resizing I;16* images
- Free memory on early return
- Cast int before potentially exceeding INT_MAX
- Check image value before use
- Improved copying imagequant libraries
- Use Capsule for WebP saving
- Fixed writing multiple StripOffsets to TIFF
- Fix dereference before checking for NULL in ImagingTransformAffine
- Use transposed size after opening for TIFF images
- Improve ImageFont error messages
- Mention MAX_TEXT_CHUNK limit in PNG error message
- Cast Dib handle to int
- Accept float stroke widths
- Deprecate ICNS (width, height, scale) sizes in favour of load(scale)
- Improved handling of RGBA palettes when saving GIF images
- Deprecate isImageType
- Support converting more modes to LAB by converting to RGBA first
- Deprecate support for FreeType 2.9.0
- Removed unused TiffImagePlugin IFD_LEGACY_API
- Handle duplicate EXIF header
- Return early from BoxBlur if either width or height is zero
- Check text is either string or bytes
- Added writing XMP bytes to JPEG
- Support JPEG2000 RGBA palettes
- Expand C image to match GIF frame image size
- Allow saving I;16 images as PPM
- When IFD is missing, connect get_ifd() dictionary to Exif
- Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled
- Treat unknown JPEG2000 colorspace as unspecified
- Updated error message when saving WebP with invalid width or height
- Remove warning if NumPy failed to raise an error during conversion
- If left and right sides meet in ImageDraw.rounded_rectangle(), do not draw rectangle to fill gap
- Remove WebP support without anim, mux/demux, and with buggy alpha
- Add missing TIFF CMYK;16B reader
- Remove all WITH_* flags from _imaging.c and other flags
- Improve ImageDraw2 shape methods
- Lock around usages of imaging memory arenas
- Deprecate JpegImageFile huffman_ac and huffman_dc
- Deprecate ImageMath lambda_eval and unsafe_eval options argument
- Changed ContainerIO to subclass IO
- Move away from APIs that use borrowed references under the free-threaded build
- Allow size argument to resize() to be a NumPy array
- Drop support for Python 3.8
- Add support for Python 3.13
- Fix incompatibility with NumPy 1.20
- Remove PSFile, PyAccess and USE_CFFI_ACCESS
To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 pkgsrc/graphics/py-Pillow/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/graphics/py-Pillow/PLIST
cvs rdiff -u -r1.65 -r1.66 pkgsrc/graphics/py-Pillow/distinfo
cvs rdiff -u -r1.25 -r1.26 pkgsrc/graphics/py-Pillow/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/py-Pillow/Makefile
diff -u pkgsrc/graphics/py-Pillow/Makefile:1.83 pkgsrc/graphics/py-Pillow/Makefile:1.84
--- pkgsrc/graphics/py-Pillow/Makefile:1.83 Thu Jul 11 19:48:08 2024
+++ pkgsrc/graphics/py-Pillow/Makefile Sun Oct 20 20:05:35 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2024/07/11 19:48:08 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2024/10/20 20:05:35 adam Exp $
-DISTNAME= pillow-10.4.0
+DISTNAME= pillow-11.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^p/P/}
-PKGREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pillow/}
@@ -13,8 +12,8 @@ LICENSE= hpnd
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=67.8:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
-DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile
TEST_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
+TEST_DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
@@ -22,8 +21,6 @@ USE_TOOLS+= pkg-config
CONFLICTS+= py[0-9]*-imaging-[0-9]*
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
.include "../../devel/zlib/buildlink3.mk"
Index: pkgsrc/graphics/py-Pillow/PLIST
diff -u pkgsrc/graphics/py-Pillow/PLIST:1.23 pkgsrc/graphics/py-Pillow/PLIST:1.24
--- pkgsrc/graphics/py-Pillow/PLIST:1.23 Tue Apr 2 05:55:48 2024
+++ pkgsrc/graphics/py-Pillow/PLIST Sun Oct 20 20:05:35 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2024/04/02 05:55:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.24 2024/10/20 20:05:35 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -218,9 +218,6 @@ ${PYSITELIB}/PIL/PpmImagePlugin.pyo
${PYSITELIB}/PIL/PsdImagePlugin.py
${PYSITELIB}/PIL/PsdImagePlugin.pyc
${PYSITELIB}/PIL/PsdImagePlugin.pyo
-${PYSITELIB}/PIL/PyAccess.py
-${PYSITELIB}/PIL/PyAccess.pyc
-${PYSITELIB}/PIL/PyAccess.pyo
${PYSITELIB}/PIL/QoiImagePlugin.py
${PYSITELIB}/PIL/QoiImagePlugin.pyc
${PYSITELIB}/PIL/QoiImagePlugin.pyo
@@ -285,6 +282,7 @@ ${PYSITELIB}/PIL/_imagingmath.pyi
${PYSITELIB}/PIL/_imagingmath.so
${PYSITELIB}/PIL/_imagingmorph.pyi
${PYSITELIB}/PIL/_imagingmorph.so
+${PYSITELIB}/PIL/_imagingtk.pyi
${PYSITELIB}/PIL/_imagingtk.so
${PYSITELIB}/PIL/_tkinter_finder.py
${PYSITELIB}/PIL/_tkinter_finder.pyc
Index: pkgsrc/graphics/py-Pillow/distinfo
diff -u pkgsrc/graphics/py-Pillow/distinfo:1.65 pkgsrc/graphics/py-Pillow/distinfo:1.66
--- pkgsrc/graphics/py-Pillow/distinfo:1.65 Mon Jul 1 16:30:02 2024
+++ pkgsrc/graphics/py-Pillow/distinfo Sun Oct 20 20:05:35 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.65 2024/07/01 16:30:02 adam Exp $
+$NetBSD: distinfo,v 1.66 2024/10/20 20:05:35 adam Exp $
-BLAKE2s (pillow-10.4.0.tar.gz) = 027acd74fe7ffff17abcbe9293da60a9dbf594a3513882d5171533e553ed3861
-SHA512 (pillow-10.4.0.tar.gz) = 0e4223cd8b73a0a519a4b8dc8e4ef9b79601166d3a5dfe3999d38889343436c9c740d23026e2c51a4679d01069f46a6e6e893c5adbc79d708d7133cae13d2109
-Size (pillow-10.4.0.tar.gz) = 46555059 bytes
-SHA1 (patch-setup.py) = 80ee74a110e21e7c4071ab9ba0a7c1f3ede64355
+BLAKE2s (pillow-11.0.0.tar.gz) = 432c1e3ac37f7066db2e4b69a6a431e428b9dd3b3bc01c0c7e3d8d45081bdb1e
+SHA512 (pillow-11.0.0.tar.gz) = ec0013598994caa42f28c2fb818932c31f4d0eb566e657f39c5d8fa232971cfda17fc3f5c9fd7ea7a8cd89b5028e361f602c9d439b2a6475755b02060045c3a3
+Size (pillow-11.0.0.tar.gz) = 46737780 bytes
+SHA1 (patch-setup.py) = 30dd66260831509abc9f8e05f4a25ed34edf42f1
Index: pkgsrc/graphics/py-Pillow/patches/patch-setup.py
diff -u pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.25 pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.26
--- pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.25 Fri Jan 5 23:47:53 2024
+++ pkgsrc/graphics/py-Pillow/patches/patch-setup.py Sun Oct 20 20:05:35 2024
@@ -1,30 +1,18 @@
-$NetBSD: patch-setup.py,v 1.25 2024/01/05 23:47:53 adam Exp $
+$NetBSD: patch-setup.py,v 1.26 2024/10/20 20:05:35 adam Exp $
-Fix finding zlib.h.
Do not look for xcb.
---- setup.py.orig 2024-01-02 08:28:43.000000000 +0000
+--- setup.py.orig 2024-10-15 05:58:32.000000000 +0000
+++ setup.py
-@@ -642,7 +642,9 @@ class pil_build_ext(build_ext):
-
- if feature.want("zlib"):
- _dbg("Looking for zlib")
-- if _find_include_file(self, "zlib.h"):
-+ if True:
-+ feature.zlib = "z"
-+ elif _find_include_file(self, "zlib.h"):
- if _find_library_file(self, "z"):
- feature.zlib = "z"
- elif sys.platform == "win32" and _find_library_file(self, "zlib"):
-@@ -800,11 +802,6 @@ class pil_build_ext(build_ext):
- ):
- feature.webpmux = "libwebpmux"
+@@ -833,11 +833,6 @@ class pil_build_ext(build_ext):
+ feature.set("webp", prefix + "webp")
+ break
- if feature.want("xcb"):
- _dbg("Looking for xcb")
- if _find_include_file(self, "xcb/xcb.h"):
- if _find_library_file(self, "xcb"):
-- feature.xcb = "xcb"
+- feature.set("xcb", "xcb")
for f in feature:
- if not getattr(feature, f) and feature.require(f):
+ if not feature.get(f) and feature.require(f):
Home |
Main Index |
Thread Index |
Old Index