72 lines
1.6 KiB
RPMSpec
72 lines
1.6 KiB
RPMSpec
%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 <thrciar@redhat.com> - 1.6.0-3
|
|
- Initial package
|
|
- Fedora contributions by:
|
|
Alfredo Moralejo <amoralej@redhat.com>
|
|
Karolina Surma <ksurma@redhat.com>
|
|
Karsten Hopp <karsten@redhat.com>
|
|
Matthias Runge <mrunge@redhat.com>
|
|
Miro Hrončok <mhroncok@redhat.com>
|
|
Patrik Kopkan <pkopkan@redhat.com>
|
|
Peter Robinson <pbrobinson@fedoraproject.org>
|
|
Priscila Gutierres <pgutier@redhat.com>
|
|
Thomas Moschny <thomas.moschny@gmx.de>
|
|
Tomas Orsava <torsava@redhat.com>
|
|
Tomáš Hrnčiar <thrnciar@redhat.com>
|
|
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
|
|
|