forked from pool/python-Pillow
Accepting request 244315 from home:Nijel:branches:devel:languages:python
- 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) - 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] OBS-URL: https://build.opensuse.org/request/show/244315 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
3e370102d5
commit
b4496d5889
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-Pillow
|
||||
Version: 2.4.0
|
||||
Version: 2.5.1
|
||||
Release: 0
|
||||
Summary: Python Imaging Library (Fork)
|
||||
License: HPND
|
||||
@@ -40,6 +40,7 @@ BuildRequires: openjpeg2-devel
|
||||
%endif
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: zlib-devel
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
@@ -84,7 +85,7 @@ Python Imaging Library by Fredrik Lundh and Contributors.
|
||||
%setup -q -n Pillow-%{version}
|
||||
|
||||
%build
|
||||
# no need to build it here, as setup.py install will build it again, anyway
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
@@ -98,8 +99,14 @@ done
|
||||
echo "PIL" > %{buildroot}%{python_sitearch}/PIL.pth
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
python selftest.py
|
||||
PYTHONPATH=%{buildroot}/%{python_sitearch} python selftest.py --installed
|
||||
%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
|
||||
update-alternatives \
|
||||
|
||||
Reference in New Issue
Block a user