Accepting request 1086005 from home:ojkastl_buildservice:Branch_devel_languages_python_pytest

update to 0.4.0 and add sle15_python_module_pythons macro

OBS-URL: https://build.opensuse.org/request/show/1086005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-plus?expand=0&rev=3
This commit is contained in:
2023-05-10 10:22:04 +00:00
committed by Git OBS Bridge
parent 5f4933d367
commit 6b568524e8
4 changed files with 33 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb0e11b52c617460bfaae788b82bcfd25efad9472895b240f182a8850757b6c5
size 8210

3
pytest-plus-0.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:750ed025dec22cff1c5a6f693ebfcd7d444b5fc4866b40513187e5ce96ff1f98
size 9987

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed May 10 07:53:52 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- update to 0.4.0:
* Minor Changes
- Requires py39 or newer (#11) @ssbarnea
- Updated metadata links (#4) @ssbarnea
- Bump minimal requirements (#5) @ssbarnea
* Bugfixes
- Refactor GHA pipelines (#10) @ssbarnea
- Adopt PEP-621 packaging (#9) @ssbarnea
- no release 0.3.0 available
-------------------------------------------------------------------
Wed May 10 07:34:46 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Sun Apr 5 08:43:55 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-plus
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2023 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,27 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-pytest-plus
Version: 0.2
Version: 0.4.0
Release: 0
Summary: Extension for pytest to enforce minimum tests pass
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pycontribs/pytest-plus
Source: https://files.pythonhosted.org/packages/source/p/pytest-plus/pytest-plus-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.50
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 3.50}
BuildRequires: %{python_module pytest >= 6.0.1}
# /SECTION
Requires: python-pytest >= 6.0.1
Suggests: python-coverage >= 7.0.0
Suggests: python-pytest-html
BuildArch: noarch
%python_subpackages
%description
@@ -43,10 +46,10 @@ PyTest Plus extends pytest functionality to enforce PYTEST_REQPASS tests passed.
%setup -q -n pytest-plus-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check