%global python3_pkgversion 3.14 # Turn the tests off when bootstrapping Python, because pytest requires pluggy %bcond tests 0 Name: python%{python3_pkgversion}-pluggy Version: 1.6.0 Release: 3%{?dist} Summary: The plugin manager stripped of pytest specific details # SPDX License: MIT URL: https://github.com/pytest-dev/pluggy Source: %{pypi_source pluggy} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel %if %{with tests} # the [testing] extra includes benchmarking dependencies BuildRequires: python%{python3_pkgversion}-pytest %endif %description The plugin manager stripped of pytest specific details. %prep %autosetup -p1 -n pluggy-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pluggy %if %{with tests} %check %pytest %endif %files -n python%{python3_pkgversion}-pluggy -f %{pyproject_files} %doc README.rst %changelog * Tue Sep 2 2025 Tomáš Hrnčiar - 1.6.0-3 - Initial package - Fedora contributions by: Alfredo Moralejo Karsten Hopp Matthias Runge Miro Hrončok Patrik Kopkan Priscila Gutierres Thomas Moschny Tomáš Hrnčiar Zbigniew Jędrzejewski-Szmek