15
0

Accepting request 792756 from home:mcalabkova:branches:devel:languages:python

- Update to version 2.8.0
  * (skipping version 2.7 to avoid confusion with Python v2.7.)
  * Added example for compressing GIFs using pygifsicle
  * Added support for compressed FITS images
  * Improved support for JPEG2000 (can now provide parameters)
  * More flexible setting of memory limit in mimread and mvolread
  * Drop support for Python 2.7 and Python 3.4.
  * Drop support for AVbin, use ffmpeg instead.
  * Many bugfixes.

OBS-URL: https://build.opensuse.org/request/show/792756
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imageio?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2020-04-09 14:06:50 +00:00
committed by Git OBS Bridge
parent 9356b0d334
commit 60104f0a5d
4 changed files with 21 additions and 16 deletions

View File

@@ -17,9 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%define skip_python2 1
Name: python-imageio
Version: 2.5.0
Version: 2.8.0
Release: 0
Summary: Python library for reading and writing image, video, and related formats
License: BSD-2-Clause
@@ -27,26 +27,18 @@ URL: https://imageio.github.io/
Source0: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz
Source1: python-imageio-rpmlintrc
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module imageio-ffmpeg}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-imageio-ffmpeg
Requires: python-Pillow
Requires: python-imageio-ffmpeg
Requires: python-numpy
Recommends: libfreeimageplus3
Recommends: python-Pillow
BuildArch: noarch
%ifpython3
Requires: python-imageio-ffmpeg
%endif
%if %{with python2}
BuildRequires: python-enum34
%endif
%ifpython2
Requires: python-enum34
%endif
%python_subpackages
%description