diff --git a/imageio-2.21.2.tar.gz b/imageio-2.21.2.tar.gz deleted file mode 100644 index bd3c848..0000000 --- a/imageio-2.21.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5702e7b4874bdb2f428b08c7491699b44842129d412cdaa7177ba7ff059deb2c -size 3430235 diff --git a/imageio-2.31.1.tar.gz b/imageio-2.31.1.tar.gz new file mode 100644 index 0000000..4f96c8c --- /dev/null +++ b/imageio-2.31.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8436a02af02fd63f272dab50f7d623547a38f0e04a4a73e2b02ae1b8b180f27 +size 386837 diff --git a/python-imageio-rpmlintrc b/python-imageio-rpmlintrc deleted file mode 100644 index 3a5cdb9..0000000 --- a/python-imageio-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter("zero-length /usr/lib/python.*/site-packages/imageio/resources/shipped_resources_go_here") \ No newline at end of file diff --git a/python-imageio.changes b/python-imageio.changes index 919e4bd..c016608 100644 --- a/python-imageio.changes +++ b/python-imageio.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Fri Jun 30 14:59:22 UTC 2023 - Matej Cepl + +- Clean up SPEC file. + +------------------------------------------------------------------- +Fri Jun 30 14:22:20 UTC 2023 - Markéta Machová + +- update to 2.31.1 + * Add support for Python 3.11 + * Tifffile v3 support + * Add audio support for ffmpeg writer + * small improvements to pyav + * Consistently apply color palettes by default + * Add n_images to ImageProperties + * Expose v3 plugins via v2 API + * Decode gray 16-bit PNG as uint16 (not int32) if pillow allows + +------------------------------------------------------------------- +Sun Oct 16 17:47:59 UTC 2022 - Dirk Müller + +- update to 2.22.1: + * Raise ImportError when iio-ffmpeg is missing + ------------------------------------------------------------------- Thu Sep 29 02:30:37 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-imageio.spec b/python-imageio.spec index d0497fc..2063bf2 100644 --- a/python-imageio.spec +++ b/python-imageio.spec @@ -1,7 +1,7 @@ # # spec file for package python-imageio # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,53 +16,52 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %bcond_with test_extras Name: python-imageio -Version: 2.21.2 +Version: 2.31.1 Release: 0 Summary: Python library for reading and writing image, video, and related formats License: BSD-2-Clause 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 >= 8.3.2} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module numpy >= 1.20.0} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Pillow >= 8.3.2 Requires: python-numpy >= 1.20.0 +Requires(post): update-alternatives +Requires(postun):update-alternatives +Recommends: libfreeimageplus3 Recommends: python-imageio-ffmpeg +Recommends: python-psutil Suggests: python-astropy -Suggests: python-tifffile +Suggests: python-av # not in openSUSE (yet) Suggests: python-simpleitk -# alternative is not singlespec -Suggests: python3-itk +Suggests: python-tifffile +BuildArch: noarch %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" # GDAL is not (yet) singlespec Suggests: python3-GDAL %endif -Requires(post): update-alternatives -Requires(postun):update-alternatives -Recommends: libfreeimageplus3 # SECTION test requirements BuildRequires: %{python_module fsspec} +BuildRequires: %{python_module imageio-ffmpeg} BuildRequires: %{python_module pytest} BuildRequires: libglvnd-devel %if %{with test_extras} BuildRequires: %{python_module astropy} -BuildRequires: %{python_module imageio-ffmpeg} +BuildRequires: %{python_module av} BuildRequires: %{python_module psutil} BuildRequires: %{python_module tifffile} BuildRequires: python3-GDAL -# python3-itk does not work on 32-bit, don't bother testing that %endif # /SECTION -BuildArch: noarch %python_subpackages %description @@ -81,11 +80,11 @@ done %build export IMAGEIO_NO_INTERNET=1 -%python_build +%pyproject_wheel %install export IMAGEIO_NO_INTERNET=1 -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/imageio_remove_bin %python_clone -a %{buildroot}%{_bindir}/imageio_download_bin %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -93,7 +92,7 @@ export IMAGEIO_NO_INTERNET=1 %check export IMAGEIO_NO_INTERNET=1 # plain openSUSE does not have the right codecs to test this ffmpeg -donttest="test_ffmpeg" +donttest="test_ffmpeg or test_bayer_write" # unmarked online tests donttest="$donttest or test_freeimage" %pytest -ra -k "not ($donttest)" -m "not needs_internet"