summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-02-24 14:11:34 +0000
committerwiz <wiz@pkgsrc.org>2022-02-24 14:11:34 +0000
commita67704c4d8fb0b77cb0310e538a879bd6cbd7232 (patch)
treeb9f92c8eb4d5bd5205c37e203631a11623ba6298 /graphics
parentd19a9c0d29fef9c3f5246707702983634f50d6e1 (diff)
downloadpkgsrc-a67704c4d8fb0b77cb0310e538a879bd6cbd7232.tar.gz
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-Pillow/Makefile10
-rw-r--r--graphics/py-Pillow/distinfo8
2 files changed, 11 insertions, 7 deletions
diff --git a/graphics/py-Pillow/Makefile b/graphics/py-Pillow/Makefile
index 7e3e1332004..0d64fa466bc 100644
--- a/graphics/py-Pillow/Makefile
+++ b/graphics/py-Pillow/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2022/01/04 20:54:03 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2022/02/24 14:11:34 wiz Exp $
-DISTNAME= Pillow-8.4.0
+DISTNAME= Pillow-9.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/}
@@ -24,6 +23,11 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
PYSETUPBUILDTARGET= build_ext
PYSETUPBUILDARGS+= --disable-xcb
+DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
diff --git a/graphics/py-Pillow/distinfo b/graphics/py-Pillow/distinfo
index 4b75d758c44..006b9a35244 100644
--- a/graphics/py-Pillow/distinfo
+++ b/graphics/py-Pillow/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.49 2021/11/04 13:50:30 adam Exp $
+$NetBSD: distinfo,v 1.50 2022/02/24 14:11:34 wiz Exp $
-BLAKE2s (Pillow-8.4.0.tar.gz) = 8a00b82dba2fd135f9e84dae79e39eb820a11f2feee8823aa783549bb677f018
-SHA512 (Pillow-8.4.0.tar.gz) = ca59f5fc7e4a6dc150d52dfec297ac01b0ecdf46aebb785eda53228d25c427ad98185332cac84a947fca85a71dac4731f33df4d18c3529431b02f159d819fd9f
-Size (Pillow-8.4.0.tar.gz) = 49368411 bytes
+BLAKE2s (Pillow-9.0.1.tar.gz) = 5549a76af32333ddcf95a72c3aca23f88e41928674edba93c1711247ee223ab7
+SHA512 (Pillow-9.0.1.tar.gz) = b3d149496204ff2a1a407789eb39925c10868d5ef850c955a5717226d26332e02b18b2c6a062ee499ccb62858e33d046d061c123639a09878505211d0359bbc0
+Size (Pillow-9.0.1.tar.gz) = 49514914 bytes
SHA1 (patch-setup.py) = 11d48f7a21088eeb304fb88571d6c0f6eccffdb6