From cb624450b53d0b0c82c11e5472d78ff7e884cf8ffc0736d137980c6318127718 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Mon, 21 Aug 2017 12:25:16 +0000 Subject: [PATCH 1/2] Accepting request 517892 from home:tbechtold:branches:devel:languages:python - update to 4.2.1: - CI: Fix version specification and test on CI for PyPy/Windows #2608 - Doc: Clarified Image.save:append_images documentation #2604 - CI: Amazon Linux and Centos6 docker images added to TravisCI #2585 - Image.alpha_composite added #2595 - Complex Text Support #2576 - Added threshold parameter to ImageDraw.floodfill #2599 - Added dBATCH parameter to ghostscript command #2588 - JPEG: Adjust buffer size when icc_profile > MAXBLOCK #2596 - Specify Pillow Version in one place #2517 - CI: Change the owner of the TRAVIS_BUILD_DIR, fixing broken docker runs #2587 - Fix truncated PNG loading for some images, Fix memory leak on truncated PNG images. #2541, #2598 - Add decompression bomb check to Image.crop #2410 - ImageFile: Ensure that the `err_code` variable is initialized in case of exception. #2363 - Tiff: Support append_images for saving multipage TIFFs #2406 - Doc: Clarify that draft is only implemented for JPEG and PCD #2409 - Test: MicImagePlugin #2447 - Use round() instead of floor() to eliminate zero coefficients in resample #2558 - Remove deprecated code #2549 - Added append_images to PDF saving #2526 - Remove unused function core image function new_array #2548 - Remove unnecessary calls to dict.keys() #2551 - Add more ImageDraw.py tests and remove unused Draw.c code #2533 - Test: More tests for ImageMorph #2554 - Test: McIDAS area file #2552 - Update Feature Detection #2520 - CI: Update pypy on TravisCI #2573 - ImageMorph: Fix wrong expected size of MRLs read from disk #2561 - Docs: Update install docs for FreeBSD #2546 - Build: Ignore OpenJpeg 1.5 on FreeBSD #2544 OBS-URL: https://build.opensuse.org/request/show/517892 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=62 --- Pillow-4.1.0.tar.gz | 3 --- Pillow-4.2.1.tar.gz | 3 +++ python-Pillow.changes | 52 +++++++++++++++++++++++++++++++++++++++++++ python-Pillow.spec | 2 +- 4 files changed, 56 insertions(+), 4 deletions(-) delete mode 100644 Pillow-4.1.0.tar.gz create mode 100644 Pillow-4.2.1.tar.gz diff --git a/Pillow-4.1.0.tar.gz b/Pillow-4.1.0.tar.gz deleted file mode 100644 index b664f7a..0000000 --- a/Pillow-4.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0fd487fed4a35717401b7566e51a1520b34e7c0f7f2a315a6509f82bc86299f -size 11257676 diff --git a/Pillow-4.2.1.tar.gz b/Pillow-4.2.1.tar.gz new file mode 100644 index 0000000..1febc97 --- /dev/null +++ b/Pillow-4.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c724f65870e545316f9e82e4c6d608ab5aa9dd82d5185e5b2e72119378740073 +size 12673417 diff --git a/python-Pillow.changes b/python-Pillow.changes index 7b2c96d..edc1e33 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Mon Aug 21 10:06:47 UTC 2017 - tbechtold@suse.com + +- update to 4.2.1: + - CI: Fix version specification and test on CI for PyPy/Windows #2608 + - Doc: Clarified Image.save:append_images documentation #2604 + - CI: Amazon Linux and Centos6 docker images added to TravisCI #2585 + - Image.alpha_composite added #2595 + - Complex Text Support #2576 + - Added threshold parameter to ImageDraw.floodfill #2599 + - Added dBATCH parameter to ghostscript command #2588 + - JPEG: Adjust buffer size when icc_profile > MAXBLOCK #2596 + - Specify Pillow Version in one place #2517 + - CI: Change the owner of the TRAVIS_BUILD_DIR, fixing broken docker runs #2587 + - Fix truncated PNG loading for some images, Fix memory leak on truncated PNG images. #2541, #2598 + - Add decompression bomb check to Image.crop #2410 + - ImageFile: Ensure that the `err_code` variable is initialized in case of exception. #2363 + - Tiff: Support append_images for saving multipage TIFFs #2406 + - Doc: Clarify that draft is only implemented for JPEG and PCD #2409 + - Test: MicImagePlugin #2447 + - Use round() instead of floor() to eliminate zero coefficients in resample #2558 + - Remove deprecated code #2549 + - Added append_images to PDF saving #2526 + - Remove unused function core image function new_array #2548 + - Remove unnecessary calls to dict.keys() #2551 + - Add more ImageDraw.py tests and remove unused Draw.c code #2533 + - Test: More tests for ImageMorph #2554 + - Test: McIDAS area file #2552 + - Update Feature Detection #2520 + - CI: Update pypy on TravisCI #2573 + - ImageMorph: Fix wrong expected size of MRLs read from disk #2561 + - Docs: Update install docs for FreeBSD #2546 + - Build: Ignore OpenJpeg 1.5 on FreeBSD #2544 + - Remove 'not yet implemented' methods from PIL 1.1.4 #2538 + - Dependencies: Update FreeType to 2.8, LibTIFF to 4.0.8 and libimagequant to 2.9.1 #2535 #2537 #2540 + - Raise TypeError and not also UnboundLocalError in ImageFile.Parser() #2525 + - Test: Use Codecov for coverage #2528 + - Use PNG for Image.show() #2527 + - Remove WITH_DEBUG compilation flag #2522 + - Fix return value on parameter parse error in _webp.c #2521 + - Set executable flag on scripts with shebang line #2295 + - Flake8 #2460 + - Doc: Release Process Changes #2516 + - CI: Added region for s3 deployment on appveyor #2515 + - Doc: Updated references to point to existing files #2507 + - Return copy on Image crop if crop dimensions match the image #2471 + - Test: Optimize CI speed #2464, #2466 + - Undef PySlice_GetIndicesEx, see https://bugs.python.org/issue29943 #2493 + - Fix for file with DPI in EXIF but not metadata, and XResolution is an int rather than tuple #2484 + - Docs: Removed broken download counter badge #2487 + - Docs: Fixed rst syntax error #2477 + ------------------------------------------------------------------- Thu Aug 10 21:36:33 UTC 2017 - toddrme2178@gmail.com diff --git a/python-Pillow.spec b/python-Pillow.spec index f88635f..09ba157 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -25,7 +25,7 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pillow -Version: 4.1.0 +Version: 4.2.1 Release: 0 Summary: Python Imaging Library (Fork) License: HPND From efebda861032afe914ee9f0012d0933dafaf8fc12877b0688c2e74b9392cf0d4 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 22 Aug 2017 13:21:15 +0000 Subject: [PATCH 2/2] Accepting request 518118 from home:tbechtold:branches:devel:languages:python - fix conditional build with tk (bsc#1054719) OBS-URL: https://build.opensuse.org/request/show/518118 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=63 --- python-Pillow.changes | 5 +++++ python-Pillow.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-Pillow.changes b/python-Pillow.changes index edc1e33..38af39a 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 22 11:52:50 UTC 2017 - tbechtold@suse.com + +- fix conditional build with tk (bsc#1054719) + ------------------------------------------------------------------- Mon Aug 21 10:06:47 UTC 2017 - tbechtold@suse.com diff --git a/python-Pillow.spec b/python-Pillow.spec index 09ba157..810d8d3 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -154,7 +154,8 @@ $python test-installed.py %{python_sitearch}/PIL %{python_sitearch}/PIL.pth %{python_sitearch}/Pillow-%{version}-py%{python_version}.egg-info -%if 0%{?is_opensuse} + +%if %{with tk} %exclude %{python_sitearch}/PIL/ImageTk* %exclude %{python_sitearch}/PIL/_imagingtk* %pycache_only %exclude %{python_sitearch}/PIL/__pycache__/ImageTk.*