Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-pytest-json-report
python-pytest-json-report.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pytest-json-report.spec of Package python-pytest-json-report
# # spec file for package python-pytest-json-report # # Copyright (c) 2024 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/ # %define skip_python2 1 Name: python-pytest-json-report Version: 1.5.0 Release: 0 Summary: A pytest plugin to report test results as JSON files License: MIT URL: https://github.com/numirias/pytest-json-report Source: https://files.pythonhosted.org/packages/source/p/pytest-json-report/pytest-json-report-%{version}.tar.gz # PATCH-FIX-UPSTREAM pytest-metadata-3.patch gh#numirias/pytest-json-report#90 Patch0: pytest-metadata-3.patch # PATCH-FIX-OPENSUSE python312.patch Patch1: python312.patch BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module py} BuildRequires: %{python_module flaky} BuildRequires: %{python_module pytest-metadata} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} # /SECTION BuildRequires: fdupes Requires: python-py Requires: python-pytest Requires: python-pytest-metadata BuildArch: noarch %python_subpackages %description A pytest plugin to report test results as JSON files %prep %autosetup -p1 -n pytest-json-report-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # Run the tests with python -m pytest to avoid problems with import # mode with python 3.12 %{python_expand # $python -m pytest -v } %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/pytest_jsonreport %{python_sitelib}/pytest_json_report-%{version}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor