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.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b46e3fbe36a
branches:  trunk
changeset: 397781:4b46e3fbe36a
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jul 03 17:19:00 2019 +0000

description:
py-Pillow: updated to 6.1.0

6.1.0:
- Deprecate Image.__del__
- Tiff: Add support for JPEG quality
- Respect the PKG_CONFIG environment variable when building
- Use explicit memcpy() to avoid unaligned memory accesses
- Improve encoding of TIFF tags
- Update Py_UNICODE to Py_UCS4
- Consider I;16 pixel size when drawing
- Add TIFFTAG_SAMPLEFORMAT to blocklist
- Create GIF deltas from background colour of GIF frames if disposal mode is 2
- Added ImageSequence all_frames
- Use unsigned int to store TIFF IFD offsets
- Include CPPFLAGS when searching for libraries
- Updated TIFF tile descriptors to match current decoding functionality
- Added an `image.entropy()` method (second revision)
- Pass the correct types to PyArg_ParseTuple
- Fixed crash when loading non-font bytes
- Fix SPARC memory alignment issues in Pack/Unpack functions
- Added CMYK;16B and CMYK;16N unpackers
- Fixed bugs in calculating text size
- Add __main__.py to output basic format and support information
- Added variation font support
- Do not down-convert if image is LA when showing with PNG format
- Improve handling of PSD frames
- Improved ICO and ICNS loading
- Changed Preview application path so that it is no longer static
- Corrected ttb text positioning
- Handle unexpected ICO image sizes
- Fixed bits value for RGB;16N unpackers
- Travis CI: Add Fedora 30, remove Fedora 28
- Added reading of CMYK;16L TIFF images
- Fixed dimensions of 1-bit PDFs
- Fixed opening mmap image through Path on Windows
- Fixed ImageDraw arc gaps
- Expand GIF to include frames with extents outside the image size
- Fixed ImageTk getimage
- Fixed bug in decoding large images
- Fixed reading APP13 marker without Photoshop data
- Added option to include layered windows in ImageGrab.grab on Windows
- Detect libimagequant when installed by pacman on MingW
- Fixed raqm layout bug
- Fixed loading font with non-Unicode path on Windows
- Travis CI: Upgrade PyPy from 6.0.0 to 7.1.1
- Depends: Updated openjpeg to 2.3.1
- Fix numpy bool bug

diffstat:

 graphics/py-Pillow/Makefile               |   4 ++--
 graphics/py-Pillow/PLIST                  |   5 ++++-
 graphics/py-Pillow/distinfo               |  12 ++++++------
 graphics/py-Pillow/patches/patch-setup.py |   8 ++++----
 4 files changed, 16 insertions(+), 13 deletions(-)

diffs (78 lines):

diff -r 1808c22dac6f -r 4b46e3fbe36a graphics/py-Pillow/Makefile
--- a/graphics/py-Pillow/Makefile       Wed Jul 03 17:17:58 2019 +0000
+++ b/graphics/py-Pillow/Makefile       Wed Jul 03 17:19:00 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2019/04/03 08:05:44 adam Exp $
+# $NetBSD: Makefile,v 1.45 2019/07/03 17:19:00 adam Exp $
 
-DISTNAME=      Pillow-6.0.0
+DISTNAME=      Pillow-6.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/Pillow/}
diff -r 1808c22dac6f -r 4b46e3fbe36a graphics/py-Pillow/PLIST
--- a/graphics/py-Pillow/PLIST  Wed Jul 03 17:17:58 2019 +0000
+++ b/graphics/py-Pillow/PLIST  Wed Jul 03 17:19:00 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2019/04/03 08:05:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2019/07/03 17:19:00 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -262,6 +262,9 @@
 ${PYSITELIB}/PIL/__init__.py
 ${PYSITELIB}/PIL/__init__.pyc
 ${PYSITELIB}/PIL/__init__.pyo
+${PYSITELIB}/PIL/__main__.py
+${PYSITELIB}/PIL/__main__.pyc
+${PYSITELIB}/PIL/__main__.pyo
 ${PYSITELIB}/PIL/_binary.py
 ${PYSITELIB}/PIL/_binary.pyc
 ${PYSITELIB}/PIL/_binary.pyo
diff -r 1808c22dac6f -r 4b46e3fbe36a graphics/py-Pillow/distinfo
--- a/graphics/py-Pillow/distinfo       Wed Jul 03 17:17:58 2019 +0000
+++ b/graphics/py-Pillow/distinfo       Wed Jul 03 17:19:00 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.37 2019/04/03 08:05:44 adam Exp $
+$NetBSD: distinfo,v 1.38 2019/07/03 17:19:00 adam Exp $
 
-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
+SHA1 (Pillow-6.1.0.tar.gz) = f8138f529712c204ab5e56958d62969f92067f65
+RMD160 (Pillow-6.1.0.tar.gz) = 1bd0d7d23e018769c8e0e20cf3fa30d179d3e877
+SHA512 (Pillow-6.1.0.tar.gz) = 6e9404eaa6a7d01642b9201a0733eb208422070993aa214691f549e261350e0baad6eb2bcde6d5edfa47c232d89457b9185de24e55e9536dde7790124ea34a0f
+Size (Pillow-6.1.0.tar.gz) = 33781060 bytes
+SHA1 (patch-setup.py) = 4c74642347f79b00b3ea874041e6513e3af6ef15
diff -r 1808c22dac6f -r 4b46e3fbe36a graphics/py-Pillow/patches/patch-setup.py
--- a/graphics/py-Pillow/patches/patch-setup.py Wed Jul 03 17:17:58 2019 +0000
+++ b/graphics/py-Pillow/patches/patch-setup.py Wed Jul 03 17:19:00 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-setup.py,v 1.18 2019/04/03 08:05:44 adam Exp $
+$NetBSD: patch-setup.py,v 1.19 2019/07/03 17:19:01 adam Exp $
 
 Disable mp_compile hack; it has problems with native parallel building.
 
---- setup.py.orig      2019-04-02 04:19:42.000000000 +0000
+--- setup.py.orig      2019-07-02 19:13:39.000000000 +0000
 +++ setup.py
 @@ -22,7 +22,6 @@ from setuptools import Extension, setup
  
@@ -12,7 +12,7 @@
  
  
  if sys.platform == "win32" and sys.version_info >= (3, 8):
-@@ -265,12 +264,6 @@ class pil_build_ext(build_ext):
+@@ -321,12 +320,6 @@ class pil_build_ext(build_ext):
          if self.debug:
              global DEBUG
              DEBUG = True
@@ -23,5 +23,5 @@
 -            # number of jobs.
 -            self.parallel = mp_compile.MAX_PROCS
          for x in self.feature:
-             if getattr(self, 'disable_%s' % x):
+             if getattr(self, "disable_%s" % x):
                  setattr(self.feature, x, False)



Home | Main Index | Thread Index | Old Index