Accepting request 962940 from home:bnavigator:branches:devel:languages:python
- Update to 2.16.1 * Update "python_requires" to 3.7+ (#757) (f80f068) - Release 2.16.0 Feature: * Improps and immeta (#739) (05d6f33) - Release 2.15.0 Features: * Add format_hint to v3 API (#734) (dd538ec) * Make tifffile read resolution metadata (#732) (4f7f334) - Release 2.14.0 Feature: * Allow mode=None when writing with pillow (#722) (7be2712) - Release 2.12.0 Feature: * Allow plugin objects in plugin kwarg (#689) (8f0f689) - Release 2.11.0 Feature: * Choose plugin based on extension and plugin lazy-import (#680) (bdbe699) - Release 2.10.0 Features: * Allow pillow to write/encode to byte strings (#669) (b5df806) * Add CD pipeline (#667) (6dce3ab) * Fail PIL write if extension isnt supported (0dc33d3) * Make imopen use core.Request (c51fdb0) OBS-URL: https://build.opensuse.org/request/show/962940 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imageio?expand=0&rev=23
This commit is contained in:
parent
5f1e1df67d
commit
69f44a4e8d
3
imageio-2.16.1.tar.gz
Normal file
3
imageio-2.16.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7f123cb23a77ac5abe8ed4e7ad6a60831a82de2c5d123463dcf1d4278c4779d2
|
||||||
|
size 3401236
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:52ddbaeca2dccf53ba2d6dec5676ca7bc3b2403ef8b37f7da78b7654bb3e10f0
|
|
||||||
size 3341646
|
|
@ -1 +1 @@
|
|||||||
addFilter("W: zero-length /usr/lib/python.*/site-packages/imageio/resources/shipped_resources_go_here")
|
addFilter("zero-length /usr/lib/python.*/site-packages/imageio/resources/shipped_resources_go_here")
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 18 19:00:48 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 2.16.1
|
||||||
|
* Update "python_requires" to 3.7+ (#757) (f80f068)
|
||||||
|
- Release 2.16.0 Feature:
|
||||||
|
* Improps and immeta (#739) (05d6f33)
|
||||||
|
- Release 2.15.0 Features:
|
||||||
|
* Add format_hint to v3 API (#734) (dd538ec)
|
||||||
|
* Make tifffile read resolution metadata (#732) (4f7f334)
|
||||||
|
- Release 2.14.0 Feature:
|
||||||
|
* Allow mode=None when writing with pillow (#722) (7be2712)
|
||||||
|
- Release 2.12.0 Feature:
|
||||||
|
* Allow plugin objects in plugin kwarg (#689) (8f0f689)
|
||||||
|
- Release 2.11.0 Feature:
|
||||||
|
* Choose plugin based on extension and plugin lazy-import (#680)
|
||||||
|
(bdbe699)
|
||||||
|
- Release 2.10.0 Features:
|
||||||
|
* Allow pillow to write/encode to byte strings (#669) (b5df806)
|
||||||
|
* Add CD pipeline (#667) (6dce3ab)
|
||||||
|
* Fail PIL write if extension isnt supported (0dc33d3)
|
||||||
|
* Make imopen use core.Request (c51fdb0)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 15 19:25:55 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Mon Feb 15 19:25:55 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-imageio
|
# spec file for package python-imageio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,30 +16,28 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
# NEP29: python36-numpy is no longer available in Tumbleweed, because NumPy 1.20 dropped support for it
|
|
||||||
%define skip_python36 1
|
|
||||||
%bcond_with test_extras
|
%bcond_with test_extras
|
||||||
Name: python-imageio
|
Name: python-imageio
|
||||||
Version: 2.9.0
|
Version: 2.16.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python 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
|
License: BSD-2-Clause
|
||||||
URL: https://imageio.github.io/
|
URL: https://imageio.github.io/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz
|
||||||
Source1: python-imageio-rpmlintrc
|
Source1: python-imageio-rpmlintrc
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow >= 8.3.2}
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module psutil}
|
BuildRequires: %{python_module numpy >= 1.20.0}
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pillow
|
Requires: python-Pillow >= 8.3.2
|
||||||
Requires: python-numpy
|
Requires: python-numpy >= 1.20.0
|
||||||
Recommends: python-imageio-ffmpeg
|
Recommends: python-imageio-ffmpeg
|
||||||
Suggests: python-astropy
|
Suggests: python-astropy
|
||||||
|
Suggests: python-tifffile
|
||||||
# not in openSUSE (yet)
|
# not in openSUSE (yet)
|
||||||
Suggests: python-simpleitk
|
Suggests: python-simpleitk
|
||||||
# alternative is not singlespec
|
# alternative is not singlespec
|
||||||
@ -49,14 +47,21 @@ Suggests: python3-itk
|
|||||||
Suggests: python3-GDAL
|
Suggests: python3-GDAL
|
||||||
%endif
|
%endif
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
Recommends: libfreeimageplus3
|
Recommends: libfreeimageplus3
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module fsspec}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
%if %{with test_extras}
|
%if %{with test_extras}
|
||||||
BuildRequires: %{python_module astropy}
|
BuildRequires: %{python_module astropy}
|
||||||
BuildRequires: %{python_module imageio-ffmpeg}
|
BuildRequires: %{python_module imageio-ffmpeg}
|
||||||
# BuildRequires: %%{python_module simpleitk} # (non simple python3-itk does not work on 32-bit, don't bother testing that)
|
BuildRequires: %{python_module psutil}
|
||||||
|
BuildRequires: %{python_module tifffile}
|
||||||
BuildRequires: python3-GDAL
|
BuildRequires: python3-GDAL
|
||||||
|
# python3-itk does not work on 32-bit, don't bother testing that
|
||||||
%endif
|
%endif
|
||||||
|
# /SECTION
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -87,9 +92,11 @@ export IMAGEIO_NO_INTERNET=1
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export IMAGEIO_NO_INTERNET=1
|
export IMAGEIO_NO_INTERNET=1
|
||||||
# ffmpeg: plain openSUSE does not have the right codecs to test this"
|
# plain openSUSE does not have the right codecs to test this ffmpeg
|
||||||
donttest="test_ffmpeg"
|
donttest="test_ffmpeg"
|
||||||
%pytest -ra -k "not ($donttest)"
|
# unmarked online tests
|
||||||
|
donttest="$donttest or test_freeimage"
|
||||||
|
%pytest -ra -k "not ($donttest)" -m "not needs_internet"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative imageio_remove_bin
|
%python_install_alternative imageio_remove_bin
|
||||||
@ -102,7 +109,8 @@ donttest="test_ffmpeg"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CONTRIBUTORS.txt README.md
|
%doc CONTRIBUTORS.txt README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/imageio
|
||||||
|
%{python_sitelib}/imageio-%{version}*-info
|
||||||
%python_alternative %{_bindir}/imageio_download_bin
|
%python_alternative %{_bindir}/imageio_download_bin
|
||||||
%python_alternative %{_bindir}/imageio_remove_bin
|
%python_alternative %{_bindir}/imageio_remove_bin
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user