From 41fc726ee5e6f27b241bfb50bc1e72057abe5c34 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 29 Jan 2017 12:46:45 +0000 Subject: Changes 4.0.0: - Refactor out postprocessing hack to load_end in PcdImageFile - Add center and translate option to Image.rotate. 2328 - Test: Relax WMF test condition, fixes 2323 - Allow 0 size images, Fixes 2259, Reverts to pre-3.4 behavior. - SGI: Save uncompressed SGI/BW/RGB/RGBA files 2325 - Depends: Updated pngquant to 2.8.2 2319 - Test: Added correctness tests for opening SGI images 2324 - Allow passing a list or tuple of individual frame durations when saving a GIF 2298 - Unified different GIF optimize conditions 2196 - Build: Refactor dependency installation 2305 - Test: Add python 3.6 to travis, tox 2304 - Test: Fix coveralls coverage for Python+C 2300 - Remove executable bit and shebang from OleFileIO.py 2308 - PyPy: Buffer interface workaround 2294 - Test: Switch to Ubuntu Trusty 14.04 on Travis CI 2294 - Remove vendored version of olefile Python package in favor of upstream 2199 - Updated comments to use print as a function 2234 - Set executable flag on selftest.py, setup.py and added shebang line 2282, 2277 - Test: Increase epsilon for FreeType 2.7 as rendering is slightly different. 2286 - Test: Faster assert_image_similar 2279 - Removed depreciated internal "stretch" method 2276 - Removed the handles_eof flag in decode.c 2223 - Tiff: Fix for writing Tiff to BytesIO using libtiff 2263 - Doc: Design docs 2269 - Test: Move tests requiring libtiff to test_file_libtiff 2273 - Update Maxblock heuristic 2275 - Fix for 2-bit palette corruption 2274 - Tiff: Update info.icc_profile when using libtiff reader. 2193 - Test: Fix bug in test_ifd_rational_save when libtiff is not available 2270 - ICO: Only save relevant sizes 2267 - ICO: Allow saving .ico files of 256x256 instead of 255x255 2265 - Fix TIFFImagePlugin ICC color profile saving. 2087 - Doc: Improved description of ImageOps.deform resample parameter 2256 - EMF: support negative bounding box coordinates 2249 - Close file if opened in WalImageFile 2216 - Use Image._new() instead of _makeself() 2248 - SunImagePlugin fixes 2241 - Use minimal scale for jpeg drafts 2240 - Updated dependency scripts to use FreeType 2.7, OpenJpeg 2.1.2, WebP 0.5.2 and Tcl/Tk 8.6.6 2235, 2236, 2237, 2290, 2302 - Fix "invalid escape sequence" bytestring warnings in Python 3.6 2186 - Removed support for Python 2.6 and Python 3.2 2192 - Setup: Raise custom exceptions when required/requested dependencies are not found 2213 - Use a context manager in FontFile.save() to ensure file is always closed 2226 - Fixed bug in saving to fp-objects in Python >= 3.4 2227 - Use a context manager in ImageFont._load_pilfont() to ensure file is always closed 2232 - Use generator expressions instead of list comprehension 2225 - Close file after reading in ImagePalette.load() 2215 - Changed behaviour of default box argument for paste method to match docs 2211 - Add support for another BMP bitfield 2221 - Added missing top-level test __main__ 2222 - Replaced range(len()) 2197 - Fix for ImageQt Segfault, fixes 1370 2182 - Setup: Close file in setup.py after finished reading 2208 - Setup: optionally use pkg-config (when present) to detect dependencies 2074 - Search for tkinter first in builtins 2210 - Tests: Replace try/except/fail pattern with TestCase.assertRaises() 2200 - Tests: Remove unused, open files at top level of tests 2188 - Replace type() equality checks with isinstance 2184 - Doc: Move ICO out of the list of read-only file formats 2180 - Doc: Fix formatting, too-short title underlines and malformed table 2175 - Fix BytesWarnings 2172 - Use Integer division to eliminate deprecation warning. 2168 - Doc: Update compatibility matrix --- graphics/py-Pillow/Makefile | 8 +++++--- graphics/py-Pillow/PLIST | 4 ++-- graphics/py-Pillow/distinfo | 12 ++++++------ graphics/py-Pillow/patches/patch-setup.py | 26 +++++++++++++------------- 4 files changed, 26 insertions(+), 24 deletions(-) (limited to 'graphics/py-Pillow') diff --git a/graphics/py-Pillow/Makefile b/graphics/py-Pillow/Makefile index 50cf52d8756..0e71a397e22 100644 --- a/graphics/py-Pillow/Makefile +++ b/graphics/py-Pillow/Makefile @@ -1,12 +1,12 @@ -# $NetBSD: Makefile,v 1.29 2016/11/06 15:05:30 adam Exp $ +# $NetBSD: Makefile,v 1.30 2017/01/29 12:46:45 adam Exp $ -DISTNAME= Pillow-3.4.2 +DISTNAME= Pillow-4.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://python-pillow.github.io/ +HOMEPAGE= http://python-pillow.org/ COMMENT= Python Imaging Library (Fork) LICENSE= hpnd @@ -20,6 +20,7 @@ SUBST_SED.fix-path= -e 's,/usr/pkg,${PREFIX},' SUBST_SED.fix-path+= -e 's,JPEG_ROOT = None,JPEG_ROOT = _lib_include("${BUILDLINK_PREFIX.jpeg}"),' SUBST_SED.fix-path+= -e 's,JPEG2K_ROOT = None,JPEG2K_ROOT = _lib_include("${BUILDLINK_PREFIX.openjpeg}"),' SUBST_SED.fix-path+= -e 's,ZLIB_ROOT = None,ZLIB_ROOT = _lib_include("${BUILDLINK_PREFIX.zlib}"),' +SUBST_SED.fix-path+= -e 's,IMAGEQUANT_ROOT = None,IMAGEQUANT_ROOT = _lib_include("${BUILDLINK_PREFIX.libimagequant}"),' SUBST_SED.fix-path+= -e 's,TIFF_ROOT = None,TIFF_ROOT = _lib_include("${BUILDLINK_PREFIX.tiff}"),' SUBST_SED.fix-path+= -e 's,FREETYPE_ROOT = None,FREETYPE_ROOT = _lib_include("${BUILDLINK_PREFIX.freetype2}"),' SUBST_SED.fix-path+= -e 's,LCMS_ROOT = None,LCMS_ROOT = _lib_include("${BUILDLINK_PREFIX.lcms2}"),' @@ -34,6 +35,7 @@ SUBST_SED.fix-path+= -e 's,LCMS_ROOT = None,LCMS_ROOT = _lib_include("${BUILDLIN .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/lcms2/buildlink3.mk" +.include "../../graphics/libimagequant/buildlink3.mk" .include "../../graphics/libwebp/buildlink3.mk" .include "../../graphics/openjpeg/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" diff --git a/graphics/py-Pillow/PLIST b/graphics/py-Pillow/PLIST index 2601955c664..44b4775c643 100644 --- a/graphics/py-Pillow/PLIST +++ b/graphics/py-Pillow/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2016/08/13 08:07:22 wen Exp $ +@comment $NetBSD: PLIST,v 1.11 2017/01/29 12:46:45 adam Exp $ ${PYSITELIB}/PIL/BdfFontFile.py ${PYSITELIB}/PIL/BdfFontFile.pyc ${PYSITELIB}/PIL/BdfFontFile.pyo @@ -173,7 +173,6 @@ ${PYSITELIB}/PIL/MpoImagePlugin.pyo ${PYSITELIB}/PIL/MspImagePlugin.py ${PYSITELIB}/PIL/MspImagePlugin.pyc ${PYSITELIB}/PIL/MspImagePlugin.pyo -${PYSITELIB}/PIL/OleFileIO-README.md ${PYSITELIB}/PIL/OleFileIO.py ${PYSITELIB}/PIL/OleFileIO.pyc ${PYSITELIB}/PIL/OleFileIO.pyo @@ -277,5 +276,6 @@ ${PYSITELIB}/PIL/features.pyo ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/${EGG_INFODIR}/zip-safe diff --git a/graphics/py-Pillow/distinfo b/graphics/py-Pillow/distinfo index 9143a4e9295..1ab2857230c 100644 --- a/graphics/py-Pillow/distinfo +++ b/graphics/py-Pillow/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.22 2016/11/06 15:05:30 adam Exp $ +$NetBSD: distinfo,v 1.23 2017/01/29 12:46:45 adam Exp $ -SHA1 (Pillow-3.4.2.tar.gz) = 0915c36e3607b3caafcd387e0bb6da63a6bc7d5a -RMD160 (Pillow-3.4.2.tar.gz) = 40f983f9a57844c8338c1649b3473a8339dd85cf -SHA512 (Pillow-3.4.2.tar.gz) = a8b6711d28ad94f568e836f3eca313cf5c4277a5c9dd6accdb1cc2b0abdc47cd79bd850baf96e33a24a251e8011b67e80d2bea0395105a8c03e198d4caa70e47 -Size (Pillow-3.4.2.tar.gz) = 10814666 bytes -SHA1 (patch-setup.py) = 329a628cef8ec752d7829e3a317379a6577e4b3a +SHA1 (Pillow-4.0.0.tar.gz) = ad2e2faac93f4ff1a17f4bca602bfc87f77c793d +RMD160 (Pillow-4.0.0.tar.gz) = 018edb6030851a4ae17eba1ec9e0b03933b4922b +SHA512 (Pillow-4.0.0.tar.gz) = 61d4f5d0264289074b073ba2f531a9d94d5de4cbec1bfe12606454076dacd50c926934d364d6fb2336ab74d59a09a37b88a47620d7b76db565b3637db09a5b04 +Size (Pillow-4.0.0.tar.gz) = 11077480 bytes +SHA1 (patch-setup.py) = 585f78d03e4f0cc658d3752fa80bfc245b32f8a6 diff --git a/graphics/py-Pillow/patches/patch-setup.py b/graphics/py-Pillow/patches/patch-setup.py index 272dc26a4c6..f17e0198c48 100644 --- a/graphics/py-Pillow/patches/patch-setup.py +++ b/graphics/py-Pillow/patches/patch-setup.py @@ -1,12 +1,12 @@ -$NetBSD: patch-setup.py,v 1.9 2016/11/06 15:05:30 adam Exp $ +$NetBSD: patch-setup.py,v 1.10 2017/01/29 12:46:45 adam Exp $ * Prevent to detect optional tkinter. * Disable demo programs. ---- setup.py.orig 2016-10-18 19:12:54.000000000 +0000 +--- setup.py.orig 2017-01-02 11:47:11.000000000 +0000 +++ setup.py -@@ -103,11 +103,7 @@ def _read(file): - return open(file, 'rb').read() +@@ -99,11 +99,7 @@ def _read(file): + return fp.read() -try: @@ -17,12 +17,12 @@ $NetBSD: patch-setup.py,v 1.9 2016/11/06 15:05:30 adam Exp $ +_tkinter = None NAME = 'Pillow' - PILLOW_VERSION = '3.4.2' -@@ -746,7 +742,6 @@ setup(name=NAME, - ext_modules=[Extension("PIL._imaging", ["_imaging.c"])], - include_package_data=True, - packages=find_packages(), -- scripts=glob.glob("Scripts/*.py"), - test_suite='nose.collector', - keywords=["Imaging", ], - license='Standard PIL License', + PILLOW_VERSION = '4.0.0' +@@ -771,7 +767,6 @@ try: + ext_modules=[Extension("PIL._imaging", ["_imaging.c"])], + include_package_data=True, + packages=find_packages(), +- scripts=glob.glob("Scripts/*.py"), + install_requires=['olefile'], + test_suite='nose.collector', + keywords=["Imaging", ], -- cgit v1.2.3