Blame python-imageio.spec

Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%global srcname imageio
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
Name: python-%{srcname}
Sergio Pascual 6d1006e
Version: 2.9.0
5dd0959
Release: 3%{?dist}
Sergio Pascual 6d1006e
Summary: Python IO of image, video, scientific, and volumetric data formats.
Sergio Pascual 6d1006e
License: BSD
Sergio Pascual 6d1006e
URL: https://imageio.github.io
Sergio Pascual 6d1006e
Source0: %{pypi_source}
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
BuildArch: noarch
Sergio Pascual 6d1006e
BuildRequires: python3-devel
Sergio Pascual 6d1006e
BuildRequires: python3-setuptools
Sergio Pascual 6d1006e
# testing
Sergio Pascual 6d1006e
# BuildRequires: python3-pytest
Sergio Pascual 6d1006e
# BuildRequires: python3-numpy
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%description
Sergio Pascual 6d1006e
Imageio is a Python library that provides an easy interface to read and write a wide range of image data, including animated images, volumetric data, and scientific formats.
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%package -n python3-%{srcname}
Sergio Pascual 6d1006e
Summary: Python IO of image, video, scientific, and volumetric data formats.
Sergio Pascual 6d1006e
BuildRequires: python3-devel python3-setuptools
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%description -n python3-%{srcname}
Sergio Pascual 6d1006e
Imageio is a Python library that provides an easy interface to read and write a wide range of image data, including animated images, volumetric data, and scientific formats.
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%prep
Sergio Pascual 6d1006e
%autosetup -n %{srcname}-%{version}
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%build
Sergio Pascual 6d1006e
%py3_build
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%install
Sergio Pascual 6d1006e
%py3_install
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
# Testing requires image sample, either local or from the internet
Sergio Pascual 6d1006e
# %%check 
Sergio Pascual 6d1006e
# export IMAGEIO_NO_INTERNET="1"
Sergio Pascual 6d1006e
# %%pytest  --ignore=tests/test_ffmpeg.py  --ignore=tests/test_ffmpeg_info.py tests/
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%files -n python3-%{srcname}
Sergio Pascual 6d1006e
%doc README.md
Sergio Pascual 6d1006e
%license LICENSE
Sergio Pascual 6d1006e
# Downloads binary freeimage library
Sergio Pascual 6d1006e
%exclude %{_bindir}/imageio*
Sergio Pascual 6d1006e
%{python3_sitelib}/%{srcname}
Sergio Pascual 6d1006e
%{python3_sitelib}/%{srcname}-%{version}-*.egg-info
Sergio Pascual 6d1006e
Sergio Pascual 6d1006e
%changelog
5dd0959
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-3
5dd0959
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
5dd0959
30f7694
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.9.0-2
30f7694
- Rebuilt for Python 3.10
30f7694
Sergio Pascual 6d1006e
* Wed Feb 03 2021 Sergio Pascual <sergiopr@fedoraproject.org> - 2.9.0-1
Sergio Pascual 6d1006e
- Initial package
Sergio Pascual 6d1006e