File python-pytest-runner.spec of Package python-pytest-runner

#
# spec file for package python-pytest-runner
#
# 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/
#


Name:           python-pytest-runner
Version:        6.0.1
Release:        0
Summary:        Invoke pytest as distutils command with dependency resolution
License:        MIT
URL:            https://github.com/pytest-dev/pytest-runner/
Source:         https://files.pythonhosted.org/packages/source/p/pytest-runner/pytest-runner-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module pip}
BuildRequires:  %{python_module setuptools >= 56}
BuildRequires:  %{python_module setuptools_scm >= 3.4.1}
BuildRequires:  fdupes
Suggests:       python-sphinx
Suggests:       python-jaraco.packaging >= 9
Suggests:       python-rst.linker >= 1.9
Suggests:       python-jaraco.tidelift >= 1.4
Suggests:       python-pytest >= 6
Suggests:       python-pytest-checkdocs >= 2.4
Suggests:       python-pytest-flake8
Suggests:       python-pytest-black >= 0.3.7
Suggests:       python-pytest-cov
Suggests:       python-pytest-mypy >= 0.9.1
Suggests:       python-pytest-enabler >= 1.0.1
Suggests:       python-pytest-virtualenv
Suggests:       python-types-setuptools
BuildArch:      noarch
%python_subpackages

%description
Invoke py.test as distutils command with dependency resolution

%prep
%autosetup -p1 -n pytest-runner-%{version}

%build
%pyproject_wheel

%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check

%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE
%{python_sitelib}/ptr
%{python_sitelib}/pytest_runner-%{version}.dist-info

%changelog
openSUSE Build Service is sponsored by