From ca38e323040dccf21bbb6dcccf25b5cdaca70be9 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 22:04:17 +0300 Subject: [PATCH] import python-pytest-localserver-0.8.1-4.el10 --- .gitignore | 1 + .python-pytest-localserver.metadata | 1 + SPECS/python-pytest-localserver.spec | 118 +++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 .gitignore create mode 100644 .python-pytest-localserver.metadata create mode 100644 SPECS/python-pytest-localserver.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..70b40b2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pytest-localserver-0.8.1.tar.gz diff --git a/.python-pytest-localserver.metadata b/.python-pytest-localserver.metadata new file mode 100644 index 0000000..7197838 --- /dev/null +++ b/.python-pytest-localserver.metadata @@ -0,0 +1 @@ +38187b3b2bd2b02de8aae66924f71d36a8d409c4 SOURCES/pytest-localserver-0.8.1.tar.gz diff --git a/SPECS/python-pytest-localserver.spec b/SPECS/python-pytest-localserver.spec new file mode 100644 index 0000000..cefe268 --- /dev/null +++ b/SPECS/python-pytest-localserver.spec @@ -0,0 +1,118 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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-localserver +Version: 0.8.1 +Release: %autorelease +Summary: pytest plugin to test server connections locally + +License: MIT +URL: https://github.com/pytest-dev/pytest-localserver +# The package uses setuptools_scm, GitHub tarball will not work +Source0: %{pypi_source pytest-localserver} + +BuildArch: noarch +BuildRequires: python3-devel + +%global _description %{expand: +pytest-localserver is a plugin for the pytest testing framework which enables +you to test server connections locally.} + +%description %_description + +%package -n python3-pytest-localserver +Summary: %{summary} + +%description -n python3-pytest-localserver %_description + +%pyproject_extras_subpkg -n python3-pytest-localserver smtp + + +%prep +%autosetup -p1 -n pytest-localserver-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -t + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files pytest_localserver + + +%check +%tox + + +%files -n python3-pytest-localserver -f %{pyproject_files} +%doc README.rst CHANGES +%license LICENSE + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 0.8.1-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.8.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.8.1-3 +- Rebuilt for Python 3.13 + +* Fri Apr 19 2024 Packit - 0.8.1-1 +- [packit] 0.8.1 upstream release +- Resolves rhbz#2243571 + +* Sat Mar 16 2024 Roman Inflianskas - 0.8.0-7 +- packit: pull from upstream + +* Fri Jan 26 2024 Fedora Release Engineering - 0.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 29 2023 Roman Inflianskas - 0.8.0-1 +- Update to 0.8.0 (fedora#2223161) + +* Fri Jul 21 2023 Fedora Release Engineering - 0.7.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 01 2023 Python Maint - 0.7.1-2 +- Rebuilt for Python 3.12 + +* Sat Jul 01 2023 Roman Inflianskas - 0.7.1-1 +- Update to 0.7.1 (resolve rhbz#2162933) +- Add smtp extra + +* Fri Jun 16 2023 Python Maint - 0.7.0-3 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Aug 30 2022 Paul Wouters - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 27 2022 Roman Inflianskas - 0.6.0-1 +- Update to 0.6.0 + +* Tue Dec 28 2021 Roman Inflianskas - 0.5.1.20211213.post0-1 +- Initial package + +## END: Generated by rpmautospec