From 68ff18216a33e36e1fb831556251de05f21bd8c5dbd10b3407f96a14c8729a3f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 9 Jan 2023 12:23:01 +0000 Subject: [PATCH] - update to 0.7.0: * Make smtp support an optional extra * Update some obsolete syntax to drop support for Python 2 * Add linting for code and workflow actions using pre-commit hooks * Expand the range of pytest versions known to be compatible, with tests * Add badges to README OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-localserver?expand=0&rev=11 --- pytest-localserver-0.6.0.tar.gz | 3 --- pytest-localserver-0.7.0.tar.gz | 3 +++ python-pytest-localserver.changes | 10 ++++++++++ python-pytest-localserver.spec | 7 +++++-- 4 files changed, 18 insertions(+), 5 deletions(-) delete mode 100644 pytest-localserver-0.6.0.tar.gz create mode 100644 pytest-localserver-0.7.0.tar.gz diff --git a/pytest-localserver-0.6.0.tar.gz b/pytest-localserver-0.6.0.tar.gz deleted file mode 100644 index 94463a5..0000000 --- a/pytest-localserver-0.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddc479aba96a7da0e7a1cc7d3a303e50582d6d505803e8f67b827218f9fe0f65 -size 182346 diff --git a/pytest-localserver-0.7.0.tar.gz b/pytest-localserver-0.7.0.tar.gz new file mode 100644 index 0000000..ac0c2cf --- /dev/null +++ b/pytest-localserver-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd +size 184154 diff --git a/python-pytest-localserver.changes b/python-pytest-localserver.changes index ac318e7..8c84c93 100644 --- a/python-pytest-localserver.changes +++ b/python-pytest-localserver.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jan 9 12:18:38 UTC 2023 - Dirk Müller + +- update to 0.7.0: + * Make smtp support an optional extra + * Update some obsolete syntax to drop support for Python 2 + * Add linting for code and workflow actions using pre-commit hooks + * Expand the range of pytest versions known to be compatible, with tests + * Add badges to README + ------------------------------------------------------------------- Mon Aug 1 15:00:37 UTC 2022 - Ben Greiner diff --git a/python-pytest-localserver.spec b/python-pytest-localserver.spec index a0cb67d..02e9405 100644 --- a/python-pytest-localserver.spec +++ b/python-pytest-localserver.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-localserver # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,15 +19,18 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 +%bcond_with extras Name: python-pytest-localserver -Version: 0.6.0 +Version: 0.7.0 Release: 0 Summary: Plugin for py.test to test server connections locally License: MIT URL: https://github.com/pytest-dev/pytest-localserver Source: https://files.pythonhosted.org/packages/source/p/pytest-localserver/pytest-localserver-%{version}.tar.gz BuildRequires: %{python_module Werkzeug >= 0.10} +%if %{with extras} BuildRequires: %{python_module aiosmtpd} +%endif BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 2.0.0} BuildRequires: %{python_module requests}