py-Pillow: updated to 6.2.0 6.2.0: - This is the last Pillow release to support Python 2.7 - Catch buffer overruns - Initialize rows_per_strip when RowsPerStrip tag is missing - Raise error if TIFF dimension is a string - Added decompression bomb checks - Fix ImageGrab.grab DPI scaling on Windows 10 version 1607+ - Corrected negative seeks - Added argument to capture all screens on Windows - Updated warning to specify when Image.frombuffer defaults will change - Changed WindowsViewer format to PNG - Use TIFF orientation - Raise the same error if a truncated image is loaded a second time - Lazily use ImageFileDirectory_v1 values from Exif - Improved HSV conversion - Added text stroking - No more deprecated bdist_wininst .exe installers - Do not allow floodfill to extend into negative coordinates - Fixed arc drawing bug for a non-whole number of degrees - Fix bug when merging identical images to GIF with a list of durations - Fix bug in TIFF loading of BufferedReader - Added fallback for finding ld on MinGW Cygwin - Remove indirect dependencies from requirements.txt - Depends: Update libwebp to 1.0.3, libimagequant to 2.12.5, freetype to 2.10.1 - Change overflow check to use PY_SSIZE_T_MAX - Report reason for pytest skips 3942diff -r1.45 -r1.46 pkgsrc/graphics/py-Pillow/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.45 2019/07/03 17:19:00 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.46 2019/10/02 07:55:41 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= Pillow-6.1.0 | 3 | DISTNAME= Pillow-6.2.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= graphics python | 5 | CATEGORIES= graphics python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://python-pillow.org/ | 9 | HOMEPAGE= http://python-pillow.org/ | |
10 | COMMENT= Python Imaging Library (Fork) | 10 | COMMENT= Python Imaging Library (Fork) | |
11 | LICENSE= hpnd | 11 | LICENSE= hpnd | |
12 | 12 | |||
13 | USE_TOOLS+= pkg-config | 13 | USE_TOOLS+= pkg-config | |
14 | 14 | |||
15 | CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]* | 15 | CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]* | |
16 | 16 |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.38 2019/07/03 17:19:00 adam Exp $ | 1 | $NetBSD: distinfo,v 1.39 2019/10/02 07:55:41 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (Pillow-6.1.0.tar.gz) = f8138f529712c204ab5e56958d62969f92067f65 | 3 | SHA1 (Pillow-6.2.0.tar.gz) = 7278bf3e78e5ac3cc1d3d1e47ec610949d6618b3 | |
4 | RMD160 (Pillow-6.1.0.tar.gz) = 1bd0d7d23e018769c8e0e20cf3fa30d179d3e877 | 4 | RMD160 (Pillow-6.2.0.tar.gz) = adadeaf8395fbf08ad534ebe1f8da30892f5e31a | |
5 | SHA512 (Pillow-6.1.0.tar.gz) = 6e9404eaa6a7d01642b9201a0733eb208422070993aa214691f549e261350e0baad6eb2bcde6d5edfa47c232d89457b9185de24e55e9536dde7790124ea34a0f | 5 | SHA512 (Pillow-6.2.0.tar.gz) = 6eeb51d764c85a9b1f4eb0a59bbff41541852d5e2988c0e32b03acb56010b7d398f5761daaa56731bde278e52a551b44fab5b662988e096e8fd53e5d15d4e083 | |
6 | Size (Pillow-6.1.0.tar.gz) = 33781060 bytes | 6 | Size (Pillow-6.2.0.tar.gz) = 37368081 bytes | |
7 | SHA1 (patch-setup.py) = 4c74642347f79b00b3ea874041e6513e3af6ef15 | 7 | SHA1 (patch-setup.py) = 0608fa0c0afc4b53320bbc9eb0c8e8428244c1b2 |
@@ -1,27 +1,27 @@ | @@ -1,27 +1,27 @@ | |||
1 | $NetBSD: patch-setup.py,v 1.19 2019/07/03 17:19:01 adam Exp $ | 1 | $NetBSD: patch-setup.py,v 1.20 2019/10/02 07:55:41 adam Exp $ | |
2 | 2 | |||
3 | Disable mp_compile hack; it has problems with native parallel building. | 3 | Disable mp_compile hack; it has problems with native parallel building. | |
4 | 4 | |||
5 | --- setup.py.orig 2019-07-02 19:13:39.000000000 +0000 | 5 | --- setup.py.orig 2019-10-01 09:41:46.000000000 +0000 | |
6 | +++ setup.py | 6 | +++ setup.py | |
7 | @@ -22,7 +22,6 @@ from setuptools import Extension, setup | 7 | @@ -22,7 +22,6 @@ from setuptools import Extension, setup | |
8 | 8 | |||
9 | # monkey patch import hook. Even though flake8 says it's not used, it is. | 9 | # monkey patch import hook. Even though flake8 says it's not used, it is. | |
10 | # comment this out to disable multi threaded builds. | 10 | # comment this out to disable multi threaded builds. | |
11 | -import mp_compile | 11 | -import mp_compile | |
12 | 12 | |||
13 | ||||
14 | if sys.platform == "win32" and sys.version_info >= (3, 8): | 13 | if sys.platform == "win32" and sys.version_info >= (3, 8): | |
15 | @@ -321,12 +320,6 @@ class pil_build_ext(build_ext): | 14 | warnings.warn( | |
15 | @@ -332,12 +331,6 @@ class pil_build_ext(build_ext): | |||
16 | if self.debug: | 16 | if self.debug: | |
17 | global DEBUG | 17 | global DEBUG | |
18 | DEBUG = True | 18 | DEBUG = True | |
19 | - if sys.version_info.major >= 3 and not self.parallel: | 19 | - if sys.version_info.major >= 3 and not self.parallel: | |
20 | - # For Python 2.7, we monkeypatch distutils to have parallel | 20 | - # For Python 2.7, we monkeypatch distutils to have parallel | |
21 | - # builds. If --parallel (or -j) wasn't specified, we want to | 21 | - # builds. If --parallel (or -j) wasn't specified, we want to | |
22 | - # reproduce the same behavior as before, that is, auto-detect the | 22 | - # reproduce the same behavior as before, that is, auto-detect the | |
23 | - # number of jobs. | 23 | - # number of jobs. | |
24 | - self.parallel = mp_compile.MAX_PROCS | 24 | - self.parallel = mp_compile.MAX_PROCS | |
25 | for x in self.feature: | 25 | for x in self.feature: | |
26 | if getattr(self, "disable_%s" % x): | 26 | if getattr(self, "disable_%s" % x): | |
27 | setattr(self.feature, x, False) | 27 | setattr(self.feature, x, False) |