commit 3db2a2f8ef518819ab4764adc7be0d7732e3b459 Author: tigro Date: Sun Dec 29 21:50:03 2024 +0300 import python-wurlitzer-3.1.1-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f171856 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wurlitzer-3.1.1.tar.gz diff --git a/.python-wurlitzer.metadata b/.python-wurlitzer.metadata new file mode 100644 index 0000000..343f0f7 --- /dev/null +++ b/.python-wurlitzer.metadata @@ -0,0 +1 @@ +ee850fc3425b065e3575e3e854f3d70e378849bf SOURCES/wurlitzer-3.1.1.tar.gz diff --git a/SPECS/python-wurlitzer.spec b/SPECS/python-wurlitzer.spec new file mode 100644 index 0000000..8eefb63 --- /dev/null +++ b/SPECS/python-wurlitzer.spec @@ -0,0 +1,128 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 + +Name: python-wurlitzer +Version: 3.1.1 +Release: %autorelease +Summary: Capture C-level output in context managers + +License: MIT +URL: https://github.com/minrk/wurlitzer +VCS: git:%{url}.git +Source: %{url}/archive/%{version}/wurlitzer-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: %{py3_dist pytest} + +%description +Capture C-level stdout/stderr pipes in Python via os.dup2. + +%package -n python3-wurlitzer +Summary: %{summary} + +%description -n python3-wurlitzer +Capture C-level stdout/stderr pipes in Python via os.dup2. + +%prep +%autosetup -n wurlitzer-%{version} + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files wurlitzer + +%check +%pytest test.py + +%files -n python3-wurlitzer -f %{pyproject_files} +%doc CHANGELOG.md README.md + +%changelog +* Sun Dec 29 2024 Arkady L. Shane - 3.1.1-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 3.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jul 17 2024 Jerry James - 3.1.1-2 +- Add VCS field + +* Wed Jun 12 2024 Jerry James - 3.1.1-1 +- Version 3.1.1 + +* Fri Jun 07 2024 Python Maint - 3.1.0-2 +- Rebuilt for Python 3.13 + +* Mon Apr 29 2024 Jerry James - 3.1.0-1 +- Version 3.1.0 + +* Fri Jan 26 2024 Fedora Release Engineering - 3.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 3.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Aug 17 2023 Jerry James - 3.0.3-1 +- Version 3.0.3 +- Verify the License tag is valid SPDX +- Modernize the spec file + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 1.0.3-13 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.0.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.0.3-10 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 1.0.3-8 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.0.3-7 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro HronĨok - 1.0.3-4 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Sep 16 2019 Mukundan Ragavan - 1.0.3-2 +- Use pypi_source macro +- Enable tests + +* Sun Sep 15 2019 Mukundan Ragavan - 1.0.3-1 +- Initial package. + +## END: Generated by rpmautospec