Thu Feb 24 14:11:35 2022 UTC ()
py-Pillow: update to 9.0.1.

9.0.1 (2022-02-03)
------------------

- In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010
- Restrict builtins within lambdas for ImageMath.eval. CVE-2022-22817 #6009

9.0.0 (2022-01-02)
------------------

- Restrict builtins for ImageMath.eval(). CVE-2022-22817 #5923
- Ensure JpegImagePlugin stops at the end of a truncated file #5921
- Fixed ImagePath.Path array handling. CVE-2022-22815, CVE-2022-22816 #5920
- Remove consecutive duplicate tiles that only differ by their offset #5919
- Improved I;16 operations on big endian #5901
- Limit quantized palette to number of colors #5879
- Fixed palette index for zeroed color in FASTOCTREE quantize #5869
- When saving RGBA to GIF, make use of first transparent palette entry #5859
- Pass SAMPLEFORMAT to libtiff #5848
- Added rounding when converting P and PA #5824
- Improved putdata() documentation and data handling #5910
- Exclude carriage return in PDF regex to help prevent ReDoS #5912
- Fixed freeing pointer in ImageDraw.Outline.transform #5909
- Added ImageShow support for xdg-open #5897
- Support 16-bit grayscale ImageQt conversion #5856
- Convert subsequent GIF frames to RGB or RGBA #5857
- Do not prematurely return in ImageFile when saving to stdout #5665
- Added support for top right and bottom right TGA orientations #5829
- Corrected ICNS file length in header #5845
- Block tile TIFF tags when saving #5839
- Added line width argument to polygon #5694
- Do not redeclare class each time when converting to NumPy #5844
- Only prevent repeated polygon pixels when drawing with transparency #5835
- Add support for pickling TrueType fonts #5826
- Only prefer command line tools SDK on macOS over default MacOSX SDK #5828
- Drop support for soon-EOL Python 3.6 #5768
- Fix compilation on 64-bit Termux #5793
- Use title for display in ImageShow #5788
- Remove support for FreeType 2.7 and older #5777
- Fix for PyQt6 #5775
- Removed deprecated PILLOW_VERSION, Image.show command parameter, Image._showxv and ImageFile.raise_ioerror #5776


(wiz)
diff -r1.57 -r1.58 pkgsrc/graphics/py-Pillow/Makefile
diff -r1.49 -r1.50 pkgsrc/graphics/py-Pillow/distinfo

cvs diff -r1.57 -r1.58 pkgsrc/graphics/py-Pillow/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/py-Pillow/Makefile 2022/01/04 20:54:03 1.57
+++ pkgsrc/graphics/py-Pillow/Makefile 2022/02/24 14:11:34 1.58
@@ -1,36 +1,40 @@ @@ -1,36 +1,40 @@
1# $NetBSD: Makefile,v 1.57 2022/01/04 20:54:03 wiz Exp $ 1# $NetBSD: Makefile,v 1.58 2022/02/24 14:11:34 wiz Exp $
2 2
3DISTNAME= Pillow-8.4.0 3DISTNAME= Pillow-9.0.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= graphics python 5CATEGORIES= graphics python
7MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://python-pillow.org/ 9HOMEPAGE= https://python-pillow.org/
11COMMENT= Python Imaging Library (Fork) 10COMMENT= Python Imaging Library (Fork)
12LICENSE= hpnd 11LICENSE= hpnd
13 12
14USE_TOOLS+= pkg-config 13USE_TOOLS+= pkg-config
15 14
16CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]* 15CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]*
17 16
18DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile 17DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile
19BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner 18BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
20TEST_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm 19TEST_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
21 20
22PYTHON_VERSIONS_INCOMPATIBLE= 27 21PYTHON_VERSIONS_INCOMPATIBLE= 27
23 22
24PYSETUPBUILDTARGET= build_ext 23PYSETUPBUILDTARGET= build_ext
25PYSETUPBUILDARGS+= --disable-xcb 24PYSETUPBUILDARGS+= --disable-xcb
26 25
 26DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
 27
 28do-test:
 29 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
 30
27.include "../../devel/zlib/buildlink3.mk" 31.include "../../devel/zlib/buildlink3.mk"
28.include "../../graphics/freetype2/buildlink3.mk" 32.include "../../graphics/freetype2/buildlink3.mk"
29.include "../../graphics/lcms2/buildlink3.mk" 33.include "../../graphics/lcms2/buildlink3.mk"
30.include "../../graphics/libimagequant/buildlink3.mk" 34.include "../../graphics/libimagequant/buildlink3.mk"
31.include "../../graphics/libwebp/buildlink3.mk" 35.include "../../graphics/libwebp/buildlink3.mk"
32.include "../../graphics/openjpeg/buildlink3.mk" 36.include "../../graphics/openjpeg/buildlink3.mk"
33.include "../../graphics/tiff/buildlink3.mk" 37.include "../../graphics/tiff/buildlink3.mk"
34.include "../../lang/python/egg.mk" 38.include "../../lang/python/egg.mk"
35.include "../../mk/jpeg.buildlink3.mk" 39.include "../../mk/jpeg.buildlink3.mk"
36.include "../../mk/bsd.pkg.mk" 40.include "../../mk/bsd.pkg.mk"

cvs diff -r1.49 -r1.50 pkgsrc/graphics/py-Pillow/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/py-Pillow/distinfo 2021/11/04 13:50:30 1.49
+++ pkgsrc/graphics/py-Pillow/distinfo 2022/02/24 14:11:34 1.50
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.49 2021/11/04 13:50:30 adam Exp $ 1$NetBSD: distinfo,v 1.50 2022/02/24 14:11:34 wiz Exp $
2 2
3BLAKE2s (Pillow-8.4.0.tar.gz) = 8a00b82dba2fd135f9e84dae79e39eb820a11f2feee8823aa783549bb677f018 3BLAKE2s (Pillow-9.0.1.tar.gz) = 5549a76af32333ddcf95a72c3aca23f88e41928674edba93c1711247ee223ab7
4SHA512 (Pillow-8.4.0.tar.gz) = ca59f5fc7e4a6dc150d52dfec297ac01b0ecdf46aebb785eda53228d25c427ad98185332cac84a947fca85a71dac4731f33df4d18c3529431b02f159d819fd9f 4SHA512 (Pillow-9.0.1.tar.gz) = b3d149496204ff2a1a407789eb39925c10868d5ef850c955a5717226d26332e02b18b2c6a062ee499ccb62858e33d046d061c123639a09878505211d0359bbc0
5Size (Pillow-8.4.0.tar.gz) = 49368411 bytes 5Size (Pillow-9.0.1.tar.gz) = 49514914 bytes
6SHA1 (patch-setup.py) = 11d48f7a21088eeb304fb88571d6c0f6eccffdb6 6SHA1 (patch-setup.py) = 11d48f7a21088eeb304fb88571d6c0f6eccffdb6