Use the provisional pyproject declarative buildsystem

This commit is contained in:
Benjamin A. Beasley
2025-07-07 21:59:43 -04:00
parent c22d066190
commit bb3e530fdb
+5 -20
View File
@@ -8,9 +8,11 @@ License: MIT
URL: https://github.com/pytest-dev/pytest-subtests
Source: %{pypi_source pytest_subtests}
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l pytest_subtests
BuildOption(generate_buildrequires): -t
BuildRequires: python3-devel
BuildArch: noarch
%description
pytest-subtests unittest subTest() support and subtests fixture.
@@ -23,24 +25,7 @@ Summary: %{summary}
%{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
%check -a
%tox -- -- -rs -v tests