From 8b23ce5321ea177f069cfd8d6444997a9d9a952d629cb6effda5ca330e3659b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 1 Aug 2022 08:35:26 +0000 Subject: [PATCH] Accepting request 991876 from home:Simmphonie:branches:devel:languages:python:pytest - Update to 0.6.0 * Drop support for Python 3.3 and 3.4 * Use setuptools_scm for managing versions of this package * Support sending chunked responses from the HTTP server * Switch SMTP server backend from smtpd to aiosmtpd - version 0.5.1.post0 * Explicitly list supported Python versions with python_requires in setup.py. - version 0.5.1 * Regenerate included certificate to use SHA-256 hash to avoid OpenSSL errors (fixes #2). * Add support for Python 3.10. * Drop support for Python 2.6. * Migrate repository to Github and update project metadata. OBS-URL: https://build.opensuse.org/request/show/991876 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-localserver?expand=0&rev=8 --- pytest-localserver-0.5.0.tar.gz | 3 --- pytest-localserver-0.6.0.tar.gz | 3 +++ python-pytest-localserver.changes | 16 ++++++++++++++++ python-pytest-localserver.spec | 15 +++++++++------ 4 files changed, 28 insertions(+), 9 deletions(-) delete mode 100644 pytest-localserver-0.5.0.tar.gz create mode 100644 pytest-localserver-0.6.0.tar.gz diff --git a/pytest-localserver-0.5.0.tar.gz b/pytest-localserver-0.5.0.tar.gz deleted file mode 100644 index 62ecb26..0000000 --- a/pytest-localserver-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a5427909d1dfda10772c1bae4b9803679c0a8f04adb66c338ac607773bfefc2 -size 20409 diff --git a/pytest-localserver-0.6.0.tar.gz b/pytest-localserver-0.6.0.tar.gz new file mode 100644 index 0000000..94463a5 --- /dev/null +++ b/pytest-localserver-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddc479aba96a7da0e7a1cc7d3a303e50582d6d505803e8f67b827218f9fe0f65 +size 182346 diff --git a/python-pytest-localserver.changes b/python-pytest-localserver.changes index 699458a..76a43c7 100644 --- a/python-pytest-localserver.changes +++ b/python-pytest-localserver.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Jul 31 12:21:40 UTC 2022 - Torsten Gruner + +- Update to 0.6.0 + * Drop support for Python 3.3 and 3.4 + * Use setuptools_scm for managing versions of this package + * Support sending chunked responses from the HTTP server + * Switch SMTP server backend from smtpd to aiosmtpd +- version 0.5.1.post0 + * Explicitly list supported Python versions with python_requires in setup.py. +- version 0.5.1 + * Regenerate included certificate to use SHA-256 hash to avoid OpenSSL errors (fixes #2). + * Add support for Python 3.10. + * Drop support for Python 2.6. + * Migrate repository to Github and update project metadata. + ------------------------------------------------------------------- Tue Mar 17 11:16:06 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-localserver.spec b/python-pytest-localserver.spec index 49fbc04..dfa805d 100644 --- a/python-pytest-localserver.spec +++ b/python-pytest-localserver.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-localserver # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,15 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pytest-localserver -Version: 0.5.0 +Version: 0.6.0 Release: 0 Summary: Plugin for py.test to test server connections locally License: MIT -URL: https://bitbucket.org/pytest-dev/pytest-localserver +URL: https://github.com/pytest-dev/pytest-localserver Source: https://files.pythonhosted.org/packages/source/p/pytest-localserver/pytest-localserver-%{version}.tar.gz Patch0: remove_bindir.patch BuildRequires: %{python_module Werkzeug >= 0.10} +BuildRequires: %{python_module aiosmtpd} BuildRequires: %{python_module pytest >= 2.0.0} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} @@ -50,6 +52,7 @@ no further! %prep %setup -q -n pytest-localserver-%{version} %autopatch -p1 +sed -i "1d" pytest_localserver/{plugin,smtp}.py %build %python_build @@ -59,12 +62,12 @@ no further! %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -s +%pytest %files %{python_files} -%doc README +%doc README.rst %license LICENSE %{python_sitelib}/pytest_localserver -%{python_sitelib}/pytest_localserver-%{version}-py*.egg-info +%{python_sitelib}/pytest_localserver-*-py*.egg-info %changelog