From 4d918aa928598d64f6d637f4745b8f66750f788d Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 23:00:30 +0300 Subject: [PATCH] import python-pytest-console-scripts-1.4.1-7.el10 --- .gitignore | 1 + .python-pytest-console-scripts.metadata | 1 + SPECS/python-pytest-console-scripts.spec | 102 +++++++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 .gitignore create mode 100644 .python-pytest-console-scripts.metadata create mode 100644 SPECS/python-pytest-console-scripts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..794390d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pytest-console-scripts-1.4.1.tar.gz diff --git a/.python-pytest-console-scripts.metadata b/.python-pytest-console-scripts.metadata new file mode 100644 index 0000000..f7b4ce9 --- /dev/null +++ b/.python-pytest-console-scripts.metadata @@ -0,0 +1 @@ +f190551af9287a793ad9a67e3c82fbb7d2b13ca4 SOURCES/pytest-console-scripts-1.4.1.tar.gz diff --git a/SPECS/python-pytest-console-scripts.spec b/SPECS/python-pytest-console-scripts.spec new file mode 100644 index 0000000..d9e27d4 --- /dev/null +++ b/SPECS/python-pytest-console-scripts.spec @@ -0,0 +1,102 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 7; + 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-pytest-console-scripts +Version: 1.4.1 +Release: %autorelease +Summary: Pytest plugin for testing console scripts +# SPDX +License: MIT +URL: https://github.com/kvas-it/pytest-console-scripts +Source: %{pypi_source pytest-console-scripts} + +BuildArch: noarch +BuildRequires: python3-devel + + +%global _description %{expand: +Pytest-console-scripts is a pytest plugin for running python +scripts from within tests.} + + +%description %_description + +%package -n python3-pytest-console-scripts +Summary: %{summary} +# https://github.com/kvas-it/pytest-console-scripts/issues/56 +Requires: python3-setuptools + +%description -n python3-pytest-console-scripts %_description + + +%prep +%autosetup -p1 -n pytest-console-scripts-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -t + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files pytest_console_scripts + + +%check +%tox + + +%files -n python3-pytest-console-scripts -f %{pyproject_files} +%doc README.md + + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 1.4.1-7 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 1.4.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.4.1-6 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 1.4.1-2 +- Rebuilt for Python 3.12 + +* Thu Jun 01 2023 Lumir Balhar - 1.4.1-1 +- Update to 1.4.1 (rhbz#2211360) + +* Tue May 23 2023 Lumir Balhar - 1.4.0-1 +- Update to 1.4.0 (rhbz#2209091) + SPDX license identifier + +* Wed Feb 15 2023 Lumir Balhar - 1.3.1-4 +- Fix missing runtime dependency on setuptools + +* Fri Jan 20 2023 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Nov 28 2022 Lumír Balhar - 1.3.1-1 +- Initial package + +## END: Generated by rpmautospec