Accepting request 599638 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/599638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-imageio?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-04-26 11:37:22 +00:00 committed by Git OBS Bridge
commit 364a09416b
4 changed files with 76 additions and 23 deletions

View File

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

3
imageio-2.3.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
Sat Apr 21 16:43:24 UTC 2018 - arun@gmx.de
- specfile:
* changed from zip to tar.gz on pypi
* added binaries: imagio_{download,remove}_bin
- update to version 2.3.0:
* Console entry points for binary downloads (by Paul Mueller).
* Dropped support for Python 2.6, 3.2 and 3.3.
* Reading images from a url can now also have "suffixes" like
"?query=foo".
* The "mimwrite()" and "mvolwrite()" functions also work with
generators.
* Fix rounding of float data.
* New Lytro plugin (by Maximilian Schambach).
* New plugin based on BSDF format (for images/volumes and series
thereof,
* including support for random access and streaming).
* TIFFFILE update to latest "tifffile.py" implementation.
* DICOM fix that could fail in the presence of a directory.
* PILLOW improvements to API to provide same functionality as
Scipy's "imread()".
* PILLOW fix for Gamma correction (#302).
* PILLOW now allows JPEG images to be read from a url.
* PILLOW fix determining of grayscale in 1 bit paletted images.
* FFMPEG improved device name parsing (by Dennis van Gerwen).
* FFMPEG now allows more control of position of extra parameters.
* FFMPEG improved parsing of fps from ffmpeg info.
* FFMPEG reader allows has "fps" argument to force reading at a
specific FPS.
- changes from version 2.2.0:
* New format for grabbing screenshots (for Windows and OS X).
* New format for grabbing image data from clipboard (Window only).
* Multipage Tiff files can now be read using "volread()" to obtain
the image data as one array.
* Updated the ffmpeg executables that imageio provides.
* The ffmpeg format can now also use the ffmpeg exe provided by the
ffmpeg conda package ("conda install ffmpeg -c conda-forge").
* Fixes to ffmpeg format in general.
* Improve docs and rounding in animated GIF duration.
* Fix for setting number of loops in animated GIF.
* Fixes for transparent images in Pillow.
* Fixes for float indexing that is disallowed in new Numpy
(Freeimage plugin).
* Fix for using missing "close()" on Pillow images.
* Updated version of tiffile plugin.
-------------------------------------------------------------------
Sat Mar 3 16:21:01 UTC 2018 - jengelh@inai.de
- Update descriptions.
-------------------------------------------------------------------
Wed May 17 16:24:58 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-imageio
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,40 +16,37 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests don't work without internet
%bcond_with tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-imageio
Version: 2.1.2
Version: 2.3.0
Release: 0
Summary: Library for reading and writing image, video, and related formats
Summary: Python library for reading and writing image, video, and related formats
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://imageio.github.io/
Source: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.zip
URL: http://imageio.github.io/
Source: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: ffmpeg
BuildRequires: libfreeimage3
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module numpy}
BuildRequires: unzip
%if %{with tests}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
%endif
Requires: ffmpeg
Requires: libfreeimage3
Requires: python-numpy
Recommends: libfreeimageplus3
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if %{with tests}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
%endif
%python_subpackages
%description
Imageio is a Python library that provides an easy interface to read and
Imageio is a Python library that provides an interface to read and
write a wide range of image data, including animated images, volumetric
data, and scientific formats.
@ -75,8 +72,10 @@ popd
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc CONTRIBUTORS.txt LICENSE README.md
%license LICENSE
%doc CONTRIBUTORS.txt README.md
%{python_sitelib}/*
%python3_only %{_bindir}/imageio_download_bin
%python3_only %{_bindir}/imageio_remove_bin
%changelog