54 lines
906 B
RPMSpec
54 lines
906 B
RPMSpec
Name: python-pytest-subtests
|
|
Version: 0.13.1
|
|
Release: %autorelease
|
|
Summary: Support for unittest subTest() and subtests fixture
|
|
|
|
# SPDX
|
|
License: MIT
|
|
URL: https://github.com/pytest-dev/pytest-subtests
|
|
Source: %{pypi_source pytest_subtests}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
%description
|
|
pytest-subtests unittest subTest() support and subtests fixture.
|
|
|
|
|
|
%package -n python3-pytest-subtests
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-pytest-subtests
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%autosetup -n pytest_subtests-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -t
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files -l pytest_subtests
|
|
|
|
|
|
%check
|
|
%tox -- -- -rs -v tests
|
|
|
|
|
|
%files -n python3-pytest-subtests -f %{pyproject_files}
|
|
%doc CHANGELOG.rst
|
|
%doc README.rst
|
|
|
|
|
|
%changelog
|
|
%autochangelog
|