commit be088db54d07da587e76c906cc30b20cfa3f5eaa Author: tigro Date: Sun Jan 5 22:02:30 2025 +0300 import python-imageio-2.35.1-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..827f841 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/imageio-2.35.1.tar.gz diff --git a/.python-imageio.metadata b/.python-imageio.metadata new file mode 100644 index 0000000..d976195 --- /dev/null +++ b/.python-imageio.metadata @@ -0,0 +1 @@ +58ffff9863727690e71344496b280e0838c9061f SOURCES/imageio-2.35.1.tar.gz diff --git a/SPECS/python-imageio.spec b/SPECS/python-imageio.spec new file mode 100644 index 0000000..e2a2e5a --- /dev/null +++ b/SPECS/python-imageio.spec @@ -0,0 +1,112 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global srcname imageio + +Name: python-%{srcname} +Version: 2.35.1 +Release: %autorelease +Summary: Python IO of image, video, scientific, and volumetric data formats. +License: BSD-2-Clause +URL: https://imageio.github.io +Source0: %{pypi_source} + +BuildArch: noarch +BuildRequires: python3-devel + +%global _description %{expand: +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.} + +%description %_description + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-setuptools + +%description -n python3-%{srcname} +%_description + +%prep +%autosetup -n %{srcname}-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install + +%pyproject_save_files imageio + +%check +# Testing requires image sample, either local or from the internet +%pyproject_check_import -t + +%files -n python3-%{srcname} -f %{pyproject_files} +%doc README.md +# Exclude files that download binary freeimage library +%exclude %{_bindir}/imageio* + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 2.35.1-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Aug 20 2024 Sergio Pascual - 2.35.1-1 +- New upstream source + +* Fri Jul 19 2024 Fedora Release Engineering - 2.34.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Jun 27 2024 Sergio Pascual - 2.34.2-1 +- New upstream source 2.34.2 + +* Sat Jun 08 2024 Python Maint - 2.34.1-2 +- Rebuilt for Python 3.13 + +* Wed Apr 24 2024 Sergio Pascual - 2.34.1-1 +- New upstream source + +* Mon Feb 12 2024 Sergio Pascual - 2.34.0-1 +- Update to version 2.34.0 (rhbz#2263802) + +* Fri Jan 26 2024 Fedora Release Engineering - 2.33.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 2.33.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 2.22.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Nov 14 2022 Sergio Pascual - 2.22.4-1 +- New upstream source (2.22.4) + +* Fri Jul 22 2022 Fedora Release Engineering - 2.9.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 2.9.0-5 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 2.9.0-2 +- Rebuilt for Python 3.10 + +* Wed Feb 03 2021 Sergio Pascual - 2.9.0-1 +- Initial package + +## END: Generated by rpmautospec