From d79fc67a8dbf627594bb9131e9154384468be62060a646ed221159fdd7a96b13 Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 6 Oct 2015 09:20:34 +0000 Subject: [PATCH] Accepting request 336605 from home:apersaud:branches:devel:languages:python update to latest version. also see SR 336441 for updated python3 version (both have update alternatives changed a bit) OBS-URL: https://build.opensuse.org/request/show/336605 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=39 --- Pillow-2.9.0.tar.gz | 3 -- Pillow-3.0.0.tar.gz | 3 ++ python-Pillow.changes | 69 +++++++++++++++++++++++++++++++++++++++++++ python-Pillow.spec | 54 ++++++++++++++++++++++++++------- 4 files changed, 115 insertions(+), 14 deletions(-) delete mode 100644 Pillow-2.9.0.tar.gz create mode 100644 Pillow-3.0.0.tar.gz diff --git a/Pillow-2.9.0.tar.gz b/Pillow-2.9.0.tar.gz deleted file mode 100644 index 6338f86..0000000 --- a/Pillow-2.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f179d7e75e7c83b6341b9595ca1f394de7081484a9e352ad66d553a1c3daa29 -size 9289617 diff --git a/Pillow-3.0.0.tar.gz b/Pillow-3.0.0.tar.gz new file mode 100644 index 0000000..35b7b3a --- /dev/null +++ b/Pillow-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad50bef540fe5518a4653c3820452a881b6a042cb0f8bb7657c491c6bd3654bb +size 9621462 diff --git a/python-Pillow.changes b/python-Pillow.changes index 961734f..e1460fa 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,72 @@ +------------------------------------------------------------------- +Mon Oct 5 06:15:05 UTC 2015 - arun@gmx.de + +- specfile: + * added new binary files as update alternatives + * cleaned up update alternatives + * removed build command, since it will be rebuild during install anyway + (taken from python3 spec file) + +- update to version 3.0.0: + * Check flush method existence for file-like object #1398 [mrTable, + radarhere] + * Added PDF multipage saving #1445 [radarhere] + * Removed deprecated code, Image.tostring, Image.fromstring, + Image.offset, ImageDraw.setink, ImageDraw.setfill, ImageFileIO, + ImageFont.FreeTypeFont and ImageFont.truetype file kwarg, + ImagePalette private _make functions, ImageWin.fromstring and + ImageWin.tostring #1343 [radarhere] + * Load more broken images #1428 [homm] + * Require zlib and libjpeg #1439 [wiredfool] + * Preserve alpha when converting from a QImage to a Pillow Image by + using png instead of ppm #1429 [ericfrederich] + * Qt needs 32 bit aligned image data #1430 [ericfrederich] + * Tiff ImageFileDirectory rewrite #1419 [anntzer, wiredfool, homm] + * Removed spammy debug logging #1423 [wiredfool] + * Save as GiF89a with support for animation parameters #1384 + [radarhere] + * Correct convert matrix docs #1426 [wiredfool] + * Catch TypeError in _getexif #1414 [radarhere, wiredfool] + * Fix for UnicodeDecodeError in TiffImagePlugin #1416 [bogdan199, + wiredfool] + * Dedup code in image.open #1415 [wiredfool] + * Skip any number extraneous chars at the end of JPEG chunks #1337 + [homm] + * Single threaded build for pypy3, refactor #1413 [wiredfool] + * Fix loading of truncated images with LOAD_TRUNCATED_IMAGES enabled + #1366 [homm] + * Documentation update for concepts: bands [merriam] + * Add Solaris/SmartOS include and library directories #1356 + [njones11] + * Improved handling of getink color #1387 [radarhere] + * Disable compiler optimizations for topalette and tobilevel + functions for all msvc versions, fixes #1357 [cgohlke] + * Skip ImageFont_bitmap test if _imagingft C module is not installed + #1409 [homm] + * Add param documentation to ImagePalette #1381 [bwrsandman] + * Corrected scripts path #1407 [radarhere] + * Updated libtiff to 4.0.6 #1405, #1421 [radarhere] + * Updated Platform Support for Yosemite #1403 [radarhere] + * Fixed infinite loop on truncated file #1401 [radarhere] + * Check that images are L mode in ImageMorph methods #1400 + [radarhere] + * In tutorial of pasting images, add to mask text #1389 [merriam] + * Style/health fixes #1391, #1397, #1417, #1418 [radarhere] + * Test on Python 3.5 dev and 3.6 nightly #1361 [hugovk] + * Fix fast rotate operations #1373 [radarhere] + * Added support for pathlib Path objects to open and save #1372 + [radarhere] + * Changed register calls to use format property #1333 [radarhere] + * Added support for ImageGrab.grab to OS X #1367, #1443 [radarhere, + hugovk] + * Fixed PSDraw stdout Python 3 compatibility #1365 [radarhere] + * Added Python 3.3 to AppVeyor #1363 [radarhere] + * Treat MPO with unknown header as base JPEG file #1350 [hugovk, + radarhere] + * Added various tests #1330, #1344 [radarhere] + * More ImageFont tests #1327 [hugovk] + * Use logging instead of print #1207 [anntzer] + ------------------------------------------------------------------- Wed Jul 29 07:19:04 UTC 2015 - jacobwinski@gmail.com diff --git a/python-Pillow.spec b/python-Pillow.spec index bd71ade..4c037a9 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -17,7 +17,7 @@ Name: python-Pillow -Version: 2.9.0 +Version: 3.0.0 Release: 0 Summary: Python Imaging Library (Fork) License: HPND @@ -93,15 +93,15 @@ Python Imaging Library by Fredrik Lundh and Contributors. %setup -q -n Pillow-%{version} %build -python setup.py build +# no need to build it here, as setup.py install will build it again, anyway %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/alternatives -for p in pilconvert pildriver pilfile pilfont pilprint ; do +for p in pilconvert pildriver pilfile pilfont pilprint createfontdatachunk enhancer explode gifmaker painter player thresholder viewer; do mv %{buildroot}%{_bindir}/$p.py %{buildroot}%{_bindir}/$p-%{py_ver} - ln -s %{_bindir}/$p-%{py_ver} %{buildroot}%{_bindir}/$p - ln -s %{_bindir}/$p-%{py_ver} %{buildroot}%{_sysconfdir}/alternatives/$p + ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p + touch %{buildroot}%{_sysconfdir}/alternatives/$p done # add missing path echo "PIL" > %{buildroot}%{python_sitearch}/PIL.pth @@ -116,7 +116,15 @@ update-alternatives \ --slave %{_bindir}/pildriver pildriver %{_bindir}/pildriver-%{py_ver} \ --slave %{_bindir}/pilfile pilfile %{_bindir}/pilfile-%{py_ver} \ --slave %{_bindir}/pilfont pilfont %{_bindir}/pilfont-%{py_ver} \ - --slave %{_bindir}/pilprint pilprint %{_bindir}/pilprint-%{py_ver} + --slave %{_bindir}/pilprint pilprint %{_bindir}/pilprint-%{py_ver} \ + --slave %{_bindir}/createfontdatachunk createfontdatachunk %{_bindir}/createfontdatachunk-%{py-ver} \ + --slave %{_bindir}/enhancer enhancer %{_bindir}/enhancer-%{py-ver} \ + --slave %{_bindir}/explode explode %{_bindir}/explode-%{py-ver} \ + --slave %{_bindir}/gifmaker gifmaker %{_bindir}/gifmaker-%{py-ver} \ + --slave %{_bindir}/painter painter %{_bindir}/painter-%{py-ver} \ + --slave %{_bindir}/player player %{_bindir}/player-%{py-ver} \ + --slave %{_bindir}/thresholder thresholder %{_bindir}/thresholder-%{py-ver} \ + --slave %{_bindir}/viewer viewer %{_bindir}/viewer-%{py-ver} %preun if [ $1 -eq 0 ] ; then @@ -126,16 +134,32 @@ fi %files %defattr(-,root,root,-) %doc CHANGES.rst README.rst -%ghost %{_bindir}/pilconvert +%{_bindir}/pilconvert +%{_bindir}/pildriver +%{_bindir}/pilfile +%{_bindir}/pilfont +%{_bindir}/pilprint +%{_bindir}/createfontdatachunk +%{_bindir}/enhancer +%{_bindir}/explode +%{_bindir}/gifmaker +%{_bindir}/painter +%{_bindir}/player +%{_bindir}/thresholder +%{_bindir}/viewer %{_bindir}/pilconvert-%{py_ver} -%ghost %{_bindir}/pildriver %{_bindir}/pildriver-%{py_ver} -%ghost %{_bindir}/pilfile %{_bindir}/pilfile-%{py_ver} -%ghost %{_bindir}/pilfont %{_bindir}/pilfont-%{py_ver} -%ghost %{_bindir}/pilprint %{_bindir}/pilprint-%{py_ver} +%{_bindir}/createfontdatachunk-%{py_ver} +%{_bindir}/enhancer-%{py_ver} +%{_bindir}/explode-%{py_ver} +%{_bindir}/gifmaker-%{py_ver} +%{_bindir}/painter-%{py_ver} +%{_bindir}/player-%{py_ver} +%{_bindir}/thresholder-%{py_ver} +%{_bindir}/viewer-%{py_ver} %{python_sitearch}/PIL %{python_sitearch}/PIL.pth %{python_sitearch}/Pillow-%{version}-py%{py_ver}.egg-info @@ -146,6 +170,14 @@ fi %ghost %{_sysconfdir}/alternatives/pilfile %ghost %{_sysconfdir}/alternatives/pilfont %ghost %{_sysconfdir}/alternatives/pilprint +%ghost %{_sysconfdir}/alternatives/createfontdatachunk +%ghost %{_sysconfdir}/alternatives/enhancer +%ghost %{_sysconfdir}/alternatives/explode +%ghost %{_sysconfdir}/alternatives/gifmaker +%ghost %{_sysconfdir}/alternatives/painter +%ghost %{_sysconfdir}/alternatives/player +%ghost %{_sysconfdir}/alternatives/thresholder +%ghost %{_sysconfdir}/alternatives/viewer %files tk %defattr(-,root,root,-)