pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-Pillow py-Pillow: updated to 5.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bba1f99a6c4c
branches:  trunk
changeset: 385908:bba1f99a6c4c
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 02 09:10:46 2018 +0000

description:
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:

 graphics/py-Pillow/Makefile               |   5 +++--
 graphics/py-Pillow/distinfo               |  12 ++++++------
 graphics/py-Pillow/patches/patch-setup.py |  17 +++++++++++++++--
 3 files changed, 24 insertions(+), 10 deletions(-)

diffs (69 lines):

diff -r 31aea856cc96 -r bba1f99a6c4c graphics/py-Pillow/Makefile
--- a/graphics/py-Pillow/Makefile       Tue Oct 02 09:02:09 2018 +0000
+++ b/graphics/py-Pillow/Makefile       Tue Oct 02 09:10:46 2018 +0000
@@ -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 @@
 
 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 -r 31aea856cc96 -r bba1f99a6c4c graphics/py-Pillow/distinfo
--- a/graphics/py-Pillow/distinfo       Tue Oct 02 09:02:09 2018 +0000
+++ b/graphics/py-Pillow/distinfo       Tue Oct 02 09:10:46 2018 +0000
@@ -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 -r 31aea856cc96 -r bba1f99a6c4c graphics/py-Pillow/patches/patch-setup.py
--- a/graphics/py-Pillow/patches/patch-setup.py Tue Oct 02 09:02:09 2018 +0000
+++ b/graphics/py-Pillow/patches/patch-setup.py Tue Oct 02 09:10:46 2018 +0000
@@ -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 @@
  
  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)



Home | Main Index | Thread Index | Old Index