Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-WebTest for openSUSE:Factory checked in at 2022-08-20 20:27:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-WebTest (Old) and /work/SRC/openSUSE:Factory/.python-WebTest.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-WebTest" Sat Aug 20 20:27:38 2022 rev:30 rq:998082 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-WebTest/python-WebTest.changes 2021-09-07 21:13:42.664743805 +0200 +++ /work/SRC/openSUSE:Factory/.python-WebTest.new.2083/python-WebTest.changes 2022-08-20 20:27:42.585194019 +0200 @@ -1,0 +2,6 @@ +Thu Aug 18 15:21:41 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Clean specfile, remove coverage +- Use pytest as upstream does + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-WebTest.spec ++++++ --- /var/tmp/diff_new_pack.bB2ytF/_old 2022-08-20 20:27:43.045195296 +0200 +++ /var/tmp/diff_new_pack.bB2ytF/_new 2022-08-20 20:27:43.049195306 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-WebTest # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,23 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 Name: python-WebTest Version: 3.0.0 Release: 0 Summary: Helper to test WSGI applications License: MIT Group: Development/Languages/Python -URL: https://webtest.pythonpaste.org/ +URL: https://docs.pylonsproject.org/projects/webtest/ Source: https://files.pythonhosted.org/packages/source/W/WebTest/WebTest-%{version}.tar.gz BuildRequires: %{python_module PasteDeploy} BuildRequires: %{python_module WSGIProxy2} BuildRequires: %{python_module WebOb >= 1.2} BuildRequires: %{python_module beautifulsoup4} -BuildRequires: %{python_module coverage} BuildRequires: %{python_module cssselect} BuildRequires: %{python_module pyquery} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module waitress >= 0.8.5} BuildRequires: fdupes @@ -44,10 +44,6 @@ Requires: python-beautifulsoup4 Requires: python-waitress >= 0.8.5 BuildArch: noarch -%ifpython2 -Obsoletes: %{oldpython}-webtest < %{version} -Provides: %{oldpython}-webtest = %{version} -%endif %python_subpackages %description @@ -67,8 +63,6 @@ %prep %setup -q -n WebTest-%{version} -# remove version limitation for nose -sed -i 's/nose<1\.3\.0/nose/' setup.py %build %python_build @@ -79,13 +73,13 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest -v +%pytest %files %{python_files} %license license.rst %doc CHANGELOG.rst README.rst %{python_sitelib}/webtest/ -%{python_sitelib}/WebTest-%{version}-py*.egg-info +%{python_sitelib}/WebTest-%{version}*-info %files -n %{name}-doc %doc build/sphinx/html