pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/py-Pillow



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Oct  2 09:10:47 UTC 2018

Modified Files:
        pkgsrc/graphics/py-Pillow: Makefile distinfo
        pkgsrc/graphics/py-Pillow/patches: patch-setup.py

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/graphics/py-Pillow/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/graphics/py-Pillow/distinfo
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/py-Pillow/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-Pillow/Makefile
diff -u pkgsrc/graphics/py-Pillow/Makefile:1.40 pkgsrc/graphics/py-Pillow/Makefile:1.41
--- pkgsrc/graphics/py-Pillow/Makefile:1.40     Tue Jul  3 07:44:00 2018
+++ pkgsrc/graphics/py-Pillow/Makefile  Tue Oct  2 09:10:46 2018
@@ -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"

Index: pkgsrc/graphics/py-Pillow/distinfo
diff -u pkgsrc/graphics/py-Pillow/distinfo:1.33 pkgsrc/graphics/py-Pillow/distinfo:1.34
--- pkgsrc/graphics/py-Pillow/distinfo:1.33     Tue Jul  3 07:44:00 2018
+++ pkgsrc/graphics/py-Pillow/distinfo  Tue Oct  2 09:10:46 2018
@@ -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

Index: pkgsrc/graphics/py-Pillow/patches/patch-setup.py
diff -u pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.16 pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.17
--- pkgsrc/graphics/py-Pillow/patches/patch-setup.py:1.16       Tue Jul  3 07:44:00 2018
+++ pkgsrc/graphics/py-Pillow/patches/patch-setup.py    Tue Oct  2 09:10:46 2018
@@ -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)



Home | Main Index | Thread Index | Old Index