summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-10-02 09:10:46 +0000
committeradam <adam@pkgsrc.org>2018-10-02 09:10:46 +0000
commitddb7f7b11309449d8d058a2313596036728cb6e7 (patch)
tree8252476eeb31e0bd5e79a741f5c8601438c5d8e8 /graphics
parent711262762b9814052d7243985f5efd819c908511 (diff)
downloadpkgsrc-ddb7f7b11309449d8d058a2313596036728cb6e7.tar.gz
py-Pillow: updated to 5.3.0
5.3.0: Changed Image size property to be read-only by default Add warnings if image file identification fails due to lack of WebP support Hide the Ghostscript progress dialog popup on Windows Adding support to reading tiled and YcbCr jpeg tiffs through libtiff Fixed None as TIFF compression argument Changed GIF seek to remove previous info items Improved PDF document info Add line width parameter to rectangle and ellipse-based shapes Fixed decompression bomb check in _crop Added support to ImageDraw.floodfill for non-RGB colors Tests: Avoid catching unexpected exceptions in tests Use TextIOWrapper.detach() instead of NoCloseStream Added transparency to matrix conversion Added ImageOps pad method Give correct extrema for I;16 format images Added PySide2 Corrected TIFF tags CI: Install CFFI and pycparser without any PYTHONOPTIMIZE Read/Save RGB webp as RGB (instead of RGBX) ImageDraw: Add line joints Improved performance of ImageDraw floodfill method Fix builds with --parallel Add more raw Tiff modes (RGBaX, RGBaXX, RGBAX, RGBAXX) Close existing WebP fp before setting new fp Add orientation, compression and id_section as TGA save keyword arguments Convert int values of RATIONAL TIFF tags to floats Fix code for PYTHONOPTIMIZE Changed ImageFilter.Kernel to subclass ImageFilter.BuiltinFilter, instead of the other way around Remove unused draw.draw_line, draw.draw_point and font.getabc methods Tests: Added ImageFilter tests Tests: Added ImageChops tests AppVeyor: Download lib if not present in pillow-depends Travis CI: Add Python 3.7 and Xenial Docs: Added documentation for NumPy conversion Depends: Update libimagequant to 2.12.1 Add three-color support to ImageOps.colorize Tests: Add LA to TGA test modes Skip outline if the draw operation fills with the same colour Flake8 fixes Avoid deprecated 'U' mode when opening files
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-Pillow/Makefile5
-rw-r--r--graphics/py-Pillow/distinfo12
-rw-r--r--graphics/py-Pillow/patches/patch-setup.py17
3 files changed, 24 insertions, 10 deletions
diff --git a/graphics/py-Pillow/Makefile b/graphics/py-Pillow/Makefile
index 725d4dcfd24..3ef64a7978d 100644
--- a/graphics/py-Pillow/Makefile
+++ b/graphics/py-Pillow/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2018/07/03 07:44:00 adam Exp $
+# $NetBSD: Makefile,v 1.41 2018/10/02 09:10:46 adam Exp $
-DISTNAME= Pillow-5.2.0
+DISTNAME= Pillow-5.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/}
@@ -16,6 +16,7 @@ CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]*
DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
.include "../../devel/zlib/buildlink3.mk"
diff --git a/graphics/py-Pillow/distinfo b/graphics/py-Pillow/distinfo
index d80d1ffcca6..c5ecde720e5 100644
--- a/graphics/py-Pillow/distinfo
+++ b/graphics/py-Pillow/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.33 2018/07/03 07:44:00 adam Exp $
+$NetBSD: distinfo,v 1.34 2018/10/02 09:10:46 adam Exp $
-SHA1 (Pillow-5.2.0.tar.gz) = 7d0f97e23425418f2e4c9ee51fc3bcb9ee71ec60
-RMD160 (Pillow-5.2.0.tar.gz) = e2cfed9c172ea3e345d369b1f4357920cd5c7cb2
-SHA512 (Pillow-5.2.0.tar.gz) = 2f19512d0573bd4696a5b4d54ff21473492f92705d33bd0994ccd085028d209bfb0031e2b95947c1e8fc9d0b0956cdf1f705c1fbaff39390791cac1708bff22c
-Size (Pillow-5.2.0.tar.gz) = 14499068 bytes
-SHA1 (patch-setup.py) = fd93f67faa06319e996d31f1f43edddf942cf773
+SHA1 (Pillow-5.3.0.tar.gz) = b1d2d766b82efe28958025e4b3ee109e591cb483
+RMD160 (Pillow-5.3.0.tar.gz) = 5442d263857277761830878b8aa109038a23f2b2
+SHA512 (Pillow-5.3.0.tar.gz) = 0596207069a87a645f7694b19ea5100d753dbb7553148fa5982b073e4e1163b5bd83ddf8b1c783a90a0b718576f08d3f15352f2742d46a425cf639de2409c4ab
+Size (Pillow-5.3.0.tar.gz) = 15553718 bytes
+SHA1 (patch-setup.py) = d333dea319080f1707eb5e0701474bbca486c3a6
diff --git a/graphics/py-Pillow/patches/patch-setup.py b/graphics/py-Pillow/patches/patch-setup.py
index 0c382ce4a10..be075782144 100644
--- a/graphics/py-Pillow/patches/patch-setup.py
+++ b/graphics/py-Pillow/patches/patch-setup.py
@@ -1,9 +1,9 @@
-$NetBSD: patch-setup.py,v 1.16 2018/07/03 07:44:00 adam Exp $
+$NetBSD: patch-setup.py,v 1.17 2018/10/02 09:10:46 adam Exp $
Disable mp_compile hack; it has problems with native parallel building.
Prevent to detect optional tkinter.
---- setup.py.orig 2018-07-01 19:02:58.000000000 +0000
+--- setup.py.orig 2018-10-01 05:51:22.000000000 +0000
+++ setup.py
@@ -23,7 +23,6 @@ from setuptools import Extension, setup
@@ -26,3 +26,16 @@ Prevent to detect optional tkinter.
NAME = 'Pillow'
PILLOW_VERSION = get_version()
+@@ -205,12 +200,6 @@ class pil_build_ext(build_ext):
+ if self.debug:
+ global DEBUG
+ DEBUG = True
+- if sys.version_info >= (3, 5) and not self.parallel:
+- # For Python < 3.5, we monkeypatch distutils to have parallel
+- # builds. If --parallel (or -j) wasn't specified, we want to
+- # reproduce the same behavior as before, that is, auto-detect the
+- # number of jobs.
+- self.parallel = mp_compile.MAX_PROCS
+ for x in self.feature:
+ if getattr(self, 'disable_%s' % x):
+ setattr(self.feature, x, False)