- Remove python_module macro definition

- Update to 2.0.4:
  * Fix deprecated pytest.mark.optionalhook marker.
- 2.0.3:
  * Remove py dependency. Thanks to @Czaki for reporting.
- 2.0.2:
  * Allow all python versions above 3.7
- 2.0.1:
  * Fix issues with switching to pyproject.toml
    Thanks to @dvzrv and @eltrufas for raising issues and providing fixes.
- 2.0.0:
  * Drop support for python 2.7 and 3.6
  * Add support for python 3.9 and 3.10
  * Introduce pyproject.toml
  * Provide metadata via JSON file
    Thanks to @digitalorder for the PR
- 1.11.0:
  * Provide a session fixture to include metadata in Junit XMLs as property
    tags. Thanks to @sanga for the PR

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=13
This commit is contained in:
2022-11-30 11:18:22 +00:00
committed by Git OBS Bridge
parent 2b9f753a3c
commit c44222b62d
4 changed files with 40 additions and 16 deletions

View File

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

View File

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

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Nov 30 11:13:54 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove python_module macro definition
- Update to 2.0.4:
* Fix deprecated pytest.mark.optionalhook marker.
- 2.0.3:
* Remove py dependency. Thanks to @Czaki for reporting.
- 2.0.2:
* Allow all python versions above 3.7
- 2.0.1:
* Fix issues with switching to pyproject.toml
Thanks to @dvzrv and @eltrufas for raising issues and providing fixes.
- 2.0.0:
* Drop support for python 2.7 and 3.6
* Add support for python 3.9 and 3.10
* Introduce pyproject.toml
* Provide metadata via JSON file
Thanks to @digitalorder for the PR
- 1.11.0:
* Provide a session fixture to include metadata in Junit XMLs as property
tags. Thanks to @sanga for the PR
-------------------------------------------------------------------
Mon Jun 29 11:52:00 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-metadata
#
# 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,22 +16,22 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-metadata
Version: 1.10.0
Version: 2.0.4
Release: 0
Summary: Pytest plugin for test session metadata
License: MPL-2.0
URL: https://github.com/pytest-dev/pytest-metadata
Source: https://files.pythonhosted.org/packages/source/p/pytest-metadata/pytest-metadata-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
Source: https://files.pythonhosted.org/packages/source/p/pytest-metadata/pytest_metadata-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.9.0
Requires: python-pytest >= 3.0.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 2.9.0}
BuildRequires: %{python_module pytest >= 3.0.0}
# /SECTION
%python_subpackages
@@ -39,13 +39,13 @@ BuildRequires: %{python_module pytest >= 2.9.0}
Pytest plugin for test session metadata.
%prep
%setup -q -n pytest-metadata-%{version}
%setup -q -n pytest_metadata-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -53,7 +53,8 @@ Pytest plugin for test session metadata.
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%doc README.rst
%{python_sitelib}/pytest_metadata
%{python_sitelib}/pytest_metadata-%{version}*-info
%changelog