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 6.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/e73613fe4ce0
branches: trunk
changeset: 394077:e73613fe4ce0
user: adam <adam%pkgsrc.org@localhost>
date: Wed Apr 03 08:05:44 2019 +0000
description:
py-Pillow: updated to 6.0.0
6.0.0:
Python 2.7 support will be removed in Pillow 7.0.0
Add EXIF class
Add ImageOps exif_transpose method
Added warnings to deprecated CMSProfile attributes
Documented reading TIFF multiframe images
Improved speed of opening an MPO file
Update palette in quantize
Improvements to TIFF is_animated and n_frames
Fixed incompatible pointer type warnings
Improvements to PA and LA conversion and palette operations
Consistent DPI rounding
Change size of MPO image to match frame
Read Photoshop resolution data
Ensure image is mutable before saving
Correct remap_palette documentation
Promote P images to PA in putalpha
Allow RGB and RGBA values for new P images
Fixed TIFF bug when seeking backwards and then forwards
Cache EXIF information
Added transparency for all PNG greyscale modes
Fix deprecation warnings in Python 3.8
Fixed GIF bug when rewinding to a non-zero frame
Only close original fp in __del__ and __exit__ if original fp is exclusive
Fix BytesWarning in Tests/test_numpy.py
Add missing MIME types and extensions
Add I;16 PNG save
Add support for BMP RGBA bitfield compression
Added ability to set language for text rendering
Only close exclusive fp on Image __exit__
Changed EPS subprocess stdout from devnull to None
Add reading old-JPEG compressed TIFFs
Add EXIF support for PNG
Add option to set dither param on quantize
Add reading of DDS uncompressed RGB data
Correct length of Tiff BYTE tags
Add DIB saving and loading through Image open
Removed deprecated VERSION
Fix 'BytesWarning: Comparison between bytes and string' in PdfDict
Do not resize in Image.thumbnail if already the destination size
Replace .seek() magic numbers with io.SEEK_* constants
Make ContainerIO.isatty() return a bool, not int
Add support to all transpose operations for I;16 modes
Deprecate support for PyQt4 and PySide
Add TIFF compression codecs: LZMA, Zstd, WebP
Fixed pickling of iTXt class with protocol > 1
_util.isPath returns True for pathlib.Path objects
Remove unnecessary unittest.main() boilerplate from test files
Exif: Seek to IFD offset
Deprecate PIL.*ImagePlugin.__version__ attributes
Docs: Add note about ImageDraw operations that exceed image bounds
Allow for unknown PNG chunks after image data
Changed EPS subprocess stdin from devnull to None
Fix possible integer overflow
Catch BaseException for resource cleanup handlers
Improve pytest configuration to allow specific tests as CLI args
Drop support for Python 3.4
Remove deprecated PIL.OleFileIO
Remove deprecated ImageOps undocumented functions
Depends: Update libwebp to 1.0.2
Detect MIME types
diffstat:
graphics/py-Pillow/Makefile | 4 ++--
graphics/py-Pillow/PLIST | 5 +----
graphics/py-Pillow/distinfo | 12 ++++++------
graphics/py-Pillow/patches/patch-setup.py | 26 ++++++--------------------
4 files changed, 15 insertions(+), 32 deletions(-)
diffs (95 lines):
diff -r 65d47e6ea2c6 -r e73613fe4ce0 graphics/py-Pillow/Makefile
--- a/graphics/py-Pillow/Makefile Wed Apr 03 08:04:08 2019 +0000
+++ b/graphics/py-Pillow/Makefile Wed Apr 03 08:05:44 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2019/01/07 10:16:20 adam Exp $
+# $NetBSD: Makefile,v 1.44 2019/04/03 08:05:44 adam Exp $
-DISTNAME= Pillow-5.4.1
+DISTNAME= Pillow-6.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/}
diff -r 65d47e6ea2c6 -r e73613fe4ce0 graphics/py-Pillow/PLIST
--- a/graphics/py-Pillow/PLIST Wed Apr 03 08:04:08 2019 +0000
+++ b/graphics/py-Pillow/PLIST Wed Apr 03 08:05:44 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2018/07/03 07:44:00 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2019/04/03 08:05:44 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -181,9 +181,6 @@
${PYSITELIB}/PIL/MspImagePlugin.py
${PYSITELIB}/PIL/MspImagePlugin.pyc
${PYSITELIB}/PIL/MspImagePlugin.pyo
-${PYSITELIB}/PIL/OleFileIO.py
-${PYSITELIB}/PIL/OleFileIO.pyc
-${PYSITELIB}/PIL/OleFileIO.pyo
${PYSITELIB}/PIL/PSDraw.py
${PYSITELIB}/PIL/PSDraw.pyc
${PYSITELIB}/PIL/PSDraw.pyo
diff -r 65d47e6ea2c6 -r e73613fe4ce0 graphics/py-Pillow/distinfo
--- a/graphics/py-Pillow/distinfo Wed Apr 03 08:04:08 2019 +0000
+++ b/graphics/py-Pillow/distinfo Wed Apr 03 08:05:44 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.36 2019/01/07 10:16:20 adam Exp $
+$NetBSD: distinfo,v 1.37 2019/04/03 08:05:44 adam Exp $
-SHA1 (Pillow-5.4.1.tar.gz) = 9aa80fb2468e023de2e2f85c48f29872be6197ca
-RMD160 (Pillow-5.4.1.tar.gz) = 457ab4a946c80d739faba6af822258f2fd962014
-SHA512 (Pillow-5.4.1.tar.gz) = c1423833b6c19dd48121b90505f21967446e2afa3c28ba1b1f499780127c009e821fc1907e152f732d5a48fd7c716845243b82b6aff440ff775186c3dfd998c4
-Size (Pillow-5.4.1.tar.gz) = 16016153 bytes
-SHA1 (patch-setup.py) = d333dea319080f1707eb5e0701474bbca486c3a6
+SHA1 (Pillow-6.0.0.tar.gz) = 21b46ec50368ae7bd69a9a178a3bf548280d5131
+RMD160 (Pillow-6.0.0.tar.gz) = 83ef4476d9ba361f18c6fd6882895233afd8bfae
+SHA512 (Pillow-6.0.0.tar.gz) = 0cd4617519506c9bcbd6eae0d2578a2e21e1c37a1e6175a31842d2671a2f159888f38f5345e50945b243a6fbd6e2feffd5cd7dd1601f48c6bc4858a4b3664c76
+Size (Pillow-6.0.0.tar.gz) = 29472229 bytes
+SHA1 (patch-setup.py) = 756e134e4e17cabefe029983314061c015785ad3
diff -r 65d47e6ea2c6 -r e73613fe4ce0 graphics/py-Pillow/patches/patch-setup.py
--- a/graphics/py-Pillow/patches/patch-setup.py Wed Apr 03 08:04:08 2019 +0000
+++ b/graphics/py-Pillow/patches/patch-setup.py Wed Apr 03 08:05:44 2019 +0000
@@ -1,11 +1,10 @@
-$NetBSD: patch-setup.py,v 1.17 2018/10/02 09:10:46 adam Exp $
+$NetBSD: patch-setup.py,v 1.18 2019/04/03 08:05:44 adam Exp $
Disable mp_compile hack; it has problems with native parallel building.
-Prevent to detect optional tkinter.
---- setup.py.orig 2018-10-01 05:51:22.000000000 +0000
+--- setup.py.orig 2019-04-02 04:19:42.000000000 +0000
+++ setup.py
-@@ -23,7 +23,6 @@ from setuptools import Extension, setup
+@@ -22,7 +22,6 @@ from setuptools import Extension, setup
# monkey patch import hook. Even though flake8 says it's not used, it is.
# comment this out to disable multi threaded builds.
@@ -13,25 +12,12 @@
if sys.platform == "win32" and sys.version_info >= (3, 8):
-@@ -128,11 +127,7 @@ def get_version():
- return locals()['__version__']
-
-
--try:
-- import _tkinter
--except (ImportError, OSError):
-- # pypy emits an oserror
-- _tkinter = None
-+_tkinter = None
-
- NAME = 'Pillow'
- PILLOW_VERSION = get_version()
-@@ -205,12 +200,6 @@ class pil_build_ext(build_ext):
+@@ -265,12 +264,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
+- if sys.version_info.major >= 3 and not self.parallel:
+- # For Python 2.7, 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.
Home |
Main Index |
Thread Index |
Old Index