From 32f73d3ded0af6c2e5e6fde51e71c46660b15970a21c7b4773e4e187ff2b0467 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 29 Apr 2022 16:00:02 +0000 Subject: [PATCH] Accepting request 973899 from home:mcalabkova:branches:devel:languages:python:pytest - Update to 2.0.0 * Drop python 2.7 and 3.6 support * Switch to pyproject.toml and Poetry OBS-URL: https://build.opensuse.org/request/show/973899 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-base-url?expand=0&rev=3 --- pytest-base-url-1.4.2.tar.gz | 3 --- pytest-base-url-2.0.0.tar.gz | 3 +++ python-pytest-base-url.changes | 7 +++++++ python-pytest-base-url.spec | 21 +++++++++++---------- 4 files changed, 21 insertions(+), 13 deletions(-) delete mode 100644 pytest-base-url-1.4.2.tar.gz create mode 100644 pytest-base-url-2.0.0.tar.gz diff --git a/pytest-base-url-1.4.2.tar.gz b/pytest-base-url-1.4.2.tar.gz deleted file mode 100644 index 5ea49fb..0000000 --- a/pytest-base-url-1.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f1f32e08c2ee751e59e7f5880235b46e83496adc5cba5a01ca218c6fe81333d -size 7962 diff --git a/pytest-base-url-2.0.0.tar.gz b/pytest-base-url-2.0.0.tar.gz new file mode 100644 index 0000000..bcfa2f0 --- /dev/null +++ b/pytest-base-url-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1e88a4fd221941572ccdcf3bf6c051392d2f8b6cef3e0bc7da95abec4b5346e +size 6020 diff --git a/python-pytest-base-url.changes b/python-pytest-base-url.changes index 240ffc8..5c12de7 100644 --- a/python-pytest-base-url.changes +++ b/python-pytest-base-url.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Apr 29 10:14:27 UTC 2022 - Markéta Machová + +- Update to 2.0.0 + * Drop python 2.7 and 3.6 support + * Switch to pyproject.toml and Poetry + ------------------------------------------------------------------- Tue Jul 21 06:46:56 PM UTC 2020 - John Vandenberg diff --git a/python-pytest-base-url.spec b/python-pytest-base-url.spec index 2f05491..05c498c 100644 --- a/python-pytest-base-url.spec +++ b/python-pytest-base-url.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-base-url # -# Copyright (c) 2020 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,24 +16,25 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} Name: python-pytest-base-url -Version: 1.4.2 +Version: 2.0.0 Release: 0 Summary: Pytest plugin for URL based testing License: MPL-2.0 Group: Development/Languages/Python URL: https://github.com/pytest-dev/pytest-base-url Source: https://files.pythonhosted.org/packages/source/p/pytest-base-url/pytest-base-url-%{version}.tar.gz -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest >= 2.7.3 +Requires: python-pytest >= 3.0.0 Requires: python-requests >= 2.9 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pytest >= 2.7.3} +BuildRequires: %{python_module pytest >= 3.0.0} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module requests >= 2.9} # /SECTION @@ -46,17 +47,17 @@ pytest plugin for URL based testing. %setup -q -n pytest-base-url-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} -%doc CHANGES.rst README.rst +%doc README.rst %license LICENSE %{python_sitelib}/*