diff options
author | adam <adam@pkgsrc.org> | 2018-01-04 20:59:49 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-01-04 20:59:49 +0000 |
commit | c1456d1fc7c1917cb27984785d68df87decd6d2d (patch) | |
tree | 2835f1ede4615a48e8fc0de2cf604a21d358e3c8 /graphics/py-Pillow | |
parent | 7ccced338aef1bc12913d90c2ebec0019a8f78e5 (diff) | |
download | pkgsrc-c1456d1fc7c1917cb27984785d68df87decd6d2d.tar.gz |
py-Pillow: updated to 5.0.0
5.0.0:
Docs: Added docstrings from documentation
Test: Switch from nose to pytest
Rework Source directory layout, preventing accidental import of PIL.
Dynamically link libraqm
Removed scripts directory
TIFF: Run all compressed tiffs through libtiff decoder
GIF: Add disposal option when saving GIFs [linnil1, wiredfool]
EPS: Allow for an empty line in EPS header data
PNG: Add support for sRGB and cHRM chunks, permit sRGB when no iCCP chunk present
Dependencies: Update Tk Tcl to 8.6.8
Decompression bomb error now raised for images 2x larger than a decompression bomb warning
Test: avoid random failure in test_effect_noise
Increased epsilon for test_file_eps.py:test_showpage due to Arch update.
Removed check parameter from _save in BmpImagePlugin, PngImagePlugin, ImImagePlugin, PalmImagePlugin, and PcxImagePlugin.
Make PngImagePlugin.add_text() zip argument type bool
Depends: Updated libwebp to 0.6.1
Remove unnecessary bool() calls in Image.registered_extensions and skipKnownBadTests
Fix count of BITSPERSAMPLE items in broken TIFF files
Fillcolor parameter for Image.Transform
Test: Display differences for test failures
Added executable flag to file with shebang line
Setup: Specify compatible Python versions for pip
Dependencies: Updated libimagequant to 2.11.4
Setup: Warn if trying to install for Py3.7 on Windows
Doc: Fonts can be loaded from a file-like object, not just filename [robin-norwood]
Add eog support for Ubuntu Image Viewer [NafisFaysal]
Test: Test on 3.7-dev on Travis.ci
Dependencies: Update libtiff to 4.0.9
Setup: Replace deprecated platform.dist with file existence check
Build: Fix setup.py on Debian
Docs: Correct error in ImageDraw documentation
Test: Drop Ubuntu Precise, Fedora 24, Fedora 25, add Fedora 27, Centos 7, Amazon v2 CI Support,,,
Dependencies: Updated libimagequant to 2.11.3
Test: Fix test_image.py to use tempfile
Replace PIL.OleFileIO deprecation warning with descriptive ImportError
WebP: Add support for animated WebP files [jd20]
PDF: Set encoderinfo for images when saving multi-page PDF. Fixes.
Allow the olefile dependency to be optional
GIF: Permit LZW code lengths up to 12 bits in GIF decode
Fix unterminiated string and unchecked exception in _font_text_asBytes.
PPM: Use fixed list of whitespace, rather relying on locale, fixes.
Added support for generators when using append_images,
Doc: Correct PixelAccess.rst
Depends: Update raqm to 0.3.0
Docs: Link to maintained version of aggdraw
Include license file in the generated wheel packages
Depends: Update openjpeg to 2.3.0
Add option to Makefile to build and install with C coverage
Add context manager support to ImageFile.Parser and PngImagePlugin.ChunkStream
ImageDraw.textsize: fix zero length error
Diffstat (limited to 'graphics/py-Pillow')
-rw-r--r-- | graphics/py-Pillow/Makefile | 8 | ||||
-rw-r--r-- | graphics/py-Pillow/PLIST | 3 | ||||
-rw-r--r-- | graphics/py-Pillow/distinfo | 12 | ||||
-rw-r--r-- | graphics/py-Pillow/patches/patch-setup.py | 17 |
4 files changed, 16 insertions, 24 deletions
diff --git a/graphics/py-Pillow/Makefile b/graphics/py-Pillow/Makefile index 19ee1320e7f..33fca91eda6 100644 --- a/graphics/py-Pillow/Makefile +++ b/graphics/py-Pillow/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.37 2017/10/03 19:48:28 adam Exp $ +# $NetBSD: Makefile,v 1.38 2018/01/04 20:59:49 adam Exp $ -DISTNAME= Pillow-4.3.0 +DISTNAME= Pillow-5.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/} @@ -14,7 +14,9 @@ USE_TOOLS+= pkg-config CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]* -DEPENDS+= ${PYPKGPREFIX}-olefile-*:../../devel/py-olefile +DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" diff --git a/graphics/py-Pillow/PLIST b/graphics/py-Pillow/PLIST index 3c61fb5d135..352520c9d37 100644 --- a/graphics/py-Pillow/PLIST +++ b/graphics/py-Pillow/PLIST @@ -1,8 +1,7 @@ -@comment $NetBSD: PLIST,v 1.12 2017/07/03 21:51:57 adam Exp $ +@comment $NetBSD: PLIST,v 1.13 2018/01/04 20:59:49 adam Exp $ ${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 ${PYSITELIB}/PIL/BdfFontFile.py diff --git a/graphics/py-Pillow/distinfo b/graphics/py-Pillow/distinfo index 861f1b54088..b990f6c74e1 100644 --- a/graphics/py-Pillow/distinfo +++ b/graphics/py-Pillow/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.28 2017/10/03 19:48:28 adam Exp $ +$NetBSD: distinfo,v 1.29 2018/01/04 20:59:49 adam Exp $ -SHA1 (Pillow-4.3.0.tar.gz) = f070a099690b4a8d1539644c98c7fe65e66c8149 -RMD160 (Pillow-4.3.0.tar.gz) = e2d862ed90e654da9057f13443fedc390f935d9a -SHA512 (Pillow-4.3.0.tar.gz) = 5811252802bd01ac86157235d42138685e746723df48b67ec7c7ebd3f172532b40cf86ca9d3d792e82f03986303a084bf3491c0d511dc068dea1bc631afdeabb -Size (Pillow-4.3.0.tar.gz) = 13874155 bytes -SHA1 (patch-setup.py) = d53b9600c4b449f70c2ff8a85d059ebd74b0403c +SHA1 (Pillow-5.0.0.tar.gz) = 595b035920996d43dcdb4164ac45cd9f30e653f1 +RMD160 (Pillow-5.0.0.tar.gz) = 0f88642e5b38a464682828ac0857822223546b5c +SHA512 (Pillow-5.0.0.tar.gz) = f6f1e138effe44a89897f48032a36406dab3c4ddff2a97b7d01e99c05865abad5cffa3ab0eefcacb243e422778063b49243b1a538012fe9c39a1e4329c0978f3 +Size (Pillow-5.0.0.tar.gz) = 14220993 bytes +SHA1 (patch-setup.py) = 742b6c24b49e1f797b0e012ee7e094f35f60740f diff --git a/graphics/py-Pillow/patches/patch-setup.py b/graphics/py-Pillow/patches/patch-setup.py index 434ce598e53..c8b906b8721 100644 --- a/graphics/py-Pillow/patches/patch-setup.py +++ b/graphics/py-Pillow/patches/patch-setup.py @@ -1,14 +1,13 @@ -$NetBSD: patch-setup.py,v 1.13 2017/07/03 21:51:57 adam Exp $ +$NetBSD: patch-setup.py,v 1.14 2018/01/04 20:59:50 adam Exp $ Prevent to detect optional tkinter. -Disable demo programs. ---- setup.py.orig 2017-07-01 15:55:53.000000000 +0000 +--- setup.py.orig 2018-01-04 20:47:56.000000000 +0000 +++ setup.py -@@ -104,11 +104,7 @@ def get_version(): - exec(compile(f.read(), version_file, 'exec')) +@@ -128,11 +128,7 @@ def get_version(): return locals()['__version__'] + -try: - import _tkinter -except (ImportError, OSError): @@ -18,11 +17,3 @@ Disable demo programs. NAME = 'Pillow' PILLOW_VERSION = get_version() -@@ -768,7 +764,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", ], |