Compare commits

1 Commits
main ... 1.1

4 changed files with 8 additions and 24 deletions

BIN
pytest-localserver-0.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pytest-localserver-0.8.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,16 +1,3 @@
-------------------------------------------------------------------
Wed May 28 12:51:11 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- phase out %jobs macro (boo#1237231)
-------------------------------------------------------------------
Tue Nov 7 19:46:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.8.1:
* Ignore AttributeError when shutting down server
* Add support for Python 3.12 (or at least, list it explicitly
in the classifiers)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 24 19:05:38 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon Jul 24 19:05:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -131,7 +118,7 @@ Sun Sep 18 09:30:17 UTC 2016 - mardnh@gmx.de
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 9 17:17:11 UTC 2015 - p.drouand@gmail.com Mon Feb 9 17:17:11 UTC 2015 - p.drouand@gmail.com
- Do not provide bundled certificate; - Do not provide bundled certificate;
add python-pytest-localserver-do-not-use-shipped-pem.patch add python-pytest-localserver-do-not-use-shipped-pem.patch
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@@ -17,15 +17,12 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%bcond_with extras %bcond_with extras
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
%if 0%{suse_version} < 1600
%define pytestjobs %{?jobs: -n %jobs}
%else
%define pytestjobs -n ${RPM_BUILD_NCPUS:-1}
%endif
Name: python-pytest-localserver Name: python-pytest-localserver
Version: 0.8.1 Version: 0.8.0
Release: 0 Release: 0
Summary: Plugin for py.test to test server connections locally Summary: Plugin for py.test to test server connections locally
License: MIT License: MIT
@@ -76,7 +73,7 @@ sed -i "1d" pytest_localserver/{plugin,smtp}.py
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest %{?pytestjobs} %pytest %{?jobs: -n %jobs}
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst