Accepting request 244340 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/244340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=7
This commit is contained in:
Ludwig Nussel 2014-08-13 15:08:18 +00:00 committed by Git OBS Bridge
commit aaeed69cd2
4 changed files with 71 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2865c68b3a5638466b1837bf4a67c447e0cfdf7463309a068aad0e90aa03f58a
size 6519873

3
Pillow-2.5.1.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f101893b44af53e4e534cf367b7e73325c09733a047e969d99029eff88e5e866
size 6871957

View File

@ -1,3 +1,60 @@
-------------------------------------------------------------------
Mon Aug 11 09:05:47 UTC 2014 - mcihar@suse.cz
- enable build time testing, but not for i586 as it's broken there due to some
rounding error (see https://github.com/python-pillow/Pillow/issues/819)
-------------------------------------------------------------------
Mon Aug 11 08:57:55 UTC 2014 - mcihar@suse.cz
- Update to 2.5.1:
* 2.5.1 (2014-07-10)
Fixed install issue if Multiprocessing.Pool is not available [wiredfool]
32bit mult overflow fix #782 [wiredfool]
* 2.5.0 (2014-07-01)
Imagedraw rewrite [terseus, wiredfool]
Add support for multithreaded test execution [wiredfool]
Prevent shell injection #748 [mbrown1413, wiredfool]
Support for Resolution in BMP files #734 [gcq]
Fix error in setup.py for Python 3 [matthew-brett]
Pyroma fix and add Python 3.4 to setup metadata #742 [wirefool]
Top level flake8 fixes #741 [aclark]
Remove obsolete Animated Raster Graphics (ARG) support [hugovk]
Fix test_imagedraw failures #727 [cgohlke]
Fix AttributeError: class Image has no attribute 'DEBUG' #726 [cgohlke]
Fix msvc warning: 'inline' : macro redefinition #725 [cgohlke]
Cleanup #654 [dvska, hugovk, wiredfool]
16-bit monochrome support for JPEG2000 [videan42]
Fixed ImagePalette.save [brightpisces]
Support JPEG qtables [csinchok]
Add binary morphology addon [dov, wiredfool]
Decompression bomb protection [hugovk]
Put images in a single directory [hugovk]
Support OpenJpeg 2.1 [al45tair]
Remove unistd.h #include for all platforms [wiredfool]
Use unittest for tests [hugovk]
ImageCms fixes [hugovk]
Added more ImageDraw tests [hugovk]
Added tests for Spider files [hugovk]
Use libtiff to write any compressed tiff files [wiredfool]
Support for pickling Image objects [hugovk]
Fixed resolution handling for EPS thumbnails [eliempje]
Fixed rendering of some binary EPS files (Issue #302) [eliempje]
Rename variables not to use built-in function names [hugovk]
Ignore junk JPEG markers [hugovk]
Change default interpolation for Image.thumbnail to Image.ANTIALIAS [hugovk]
Add tests and fixes for saving PDFs [hugovk]
Remove transparency resource after P->RGBA conversion [hugovk]
Clean up preprocessor cruft for Windows [CounterPillow]
Adjust Homebrew freetype detection logic [jacknagel]
Added Image.close, context manager support. [wiredfool]
Added support for 16 bit PGM files. [wiredfool]
Updated OleFileIO to version 0.30 from upstream [hugovk]
Added support for additional TIFF floating point format [Hijackal]
Have the tempfile use a suffix with a dot [wiredfool]
Fix variable name used for transparency manipulations [nijel]
- adjusted testsuite execution
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 1 15:40:48 CEST 2014 - tiwai@suse.de Fri Aug 1 15:40:48 CEST 2014 - tiwai@suse.de

View File

@ -17,7 +17,7 @@
Name: python-Pillow Name: python-Pillow
Version: 2.4.0 Version: 2.5.1
Release: 0 Release: 0
Summary: Python Imaging Library (Fork) Summary: Python Imaging Library (Fork)
License: HPND License: HPND
@ -40,6 +40,7 @@ BuildRequires: openjpeg2-devel
%endif %endif
BuildRequires: freetype2-devel BuildRequires: freetype2-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: python-nose
BuildRequires: zlib-devel BuildRequires: zlib-devel
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
@ -84,7 +85,7 @@ Python Imaging Library by Fredrik Lundh and Contributors.
%setup -q -n Pillow-%{version} %setup -q -n Pillow-%{version}
%build %build
# no need to build it here, as setup.py install will build it again, anyway python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@ -98,8 +99,14 @@ done
echo "PIL" > %{buildroot}%{python_sitearch}/PIL.pth echo "PIL" > %{buildroot}%{python_sitearch}/PIL.pth
%check %check
python setup.py test PYTHONPATH=%{buildroot}/%{python_sitearch} python selftest.py --installed
python selftest.py %ifnarch i586
# Disabled as it fails on i586:
# https://github.com/python-pillow/Pillow/issues/819
%if 0%{?suse_version} > 1230
PYTHONPATH=%{buildroot}/%{python_sitearch} python test-installed.py
%endif
%endif
%post %post
update-alternatives \ update-alternatives \