17
0
Files
python-pytest-metadata/python-pytest-metadata.spec
Daniel Garcia ec3732b678 - 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
2022-11-30 11:18:22 +00:00

61 lines
1.7 KiB
RPMSpec

#
# spec file for package python-pytest-metadata
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-pytest-metadata
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 pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.0.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 3.0.0}
# /SECTION
%python_subpackages
%description
Pytest plugin for test session metadata.
%prep
%setup -q -n pytest_metadata-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/pytest_metadata
%{python_sitelib}/pytest_metadata-%{version}*-info
%changelog