- Remove python_module macro definition

- Add python-py dependency
- Update to 3.2.0
  * Explicitly add py.xml dependency.
    Thanks to @smartEBL for the PR
  * Implement the visible URL query parameter to control visibility of test
    results on page load. (#399)
    Thanks to @TheCorp for reporting and @gnikonorov for the fix
  * Make the report tab title reflect the report name. (#412)
    Thanks to @gnikonorov for the PR
  * Implement environment_table_redact_list to allow for redaction of
    environment table values. (#233)
    Thanks to @fenchu for reporting and @gnikonorov for the PR

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-html?expand=0&rev=29
This commit is contained in:
Daniel Garcia 2022-11-30 10:45:43 +00:00 committed by Git OBS Bridge
parent 878de64ed0
commit 87b3e3fedc
4 changed files with 27 additions and 9 deletions

View File

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

3
pytest-html-3.2.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Nov 30 10:42:06 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove python_module macro definition
- Add python-py dependency
- Update to 3.2.0
* Explicitly add py.xml dependency.
Thanks to @smartEBL for the PR
* Implement the visible URL query parameter to control visibility of test
results on page load. (#399)
Thanks to @TheCorp for reporting and @gnikonorov for the fix
* Make the report tab title reflect the report name. (#412)
Thanks to @gnikonorov for the PR
* Implement environment_table_redact_list to allow for redaction of
environment table values. (#233)
Thanks to @fenchu for reporting and @gnikonorov for the PR
-------------------------------------------------------------------
Mon Jan 18 20:21:31 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-html
#
# 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,27 +16,28 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-html
Version: 3.1.1
Version: 3.2.0
Release: 0
Summary: Pytest plugin for generating HTML reports
License: MPL-2.0
URL: https://github.com/pytest-dev/pytest-html
Source: https://files.pythonhosted.org/packages/source/p/pytest-html/pytest-html-%{version}.tar.gz
BuildRequires: %{python_module pytest >= 5.0}
BuildRequires: %{python_module pytest-metadata}
BuildRequires: %{python_module py}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ansi2html
Requires: python-py
Requires: python-pytest >= 5.0
Requires: python-pytest-metadata
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module ansi2html}
BuildRequires: %{python_module pytest >= 5.0}
BuildRequires: %{python_module pytest-metadata}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-rerunfailures}
BuildRequires: %{python_module pytest-xdist}
@ -62,7 +63,7 @@ export LANG=en_US.UTF-8
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%doc docs/changelog.rst README.rst
%{python_sitelib}/pytest_html
%{python_sitelib}/pytest_html-%{version}*-info