import UBI python-pluggy-1.3.0-5.el10

This commit is contained in:
eabdullin 2025-05-14 19:35:07 +00:00
parent 44fc10fb71
commit 2280bc542c
4 changed files with 95 additions and 36 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/pluggy-0.13.0.tar.gz
pluggy-1.3.0.tar.gz

View File

@ -1 +0,0 @@
9d172f2825272e63095ab8e37aae8f1367aad057 SOURCES/pluggy-0.13.0.tar.gz

View File

@ -1,29 +1,22 @@
%global pypi_name pluggy
# Turn the tests off when bootstrapping Python, because pytest requires pluggy
%bcond_without tests
%bcond tests 1
Name: python-pluggy
Version: 0.13.0
Release: 3%{?dist}
Version: 1.3.0
Release: 5%{?dist}
Summary: The plugin manager stripped of pytest specific details
# SPDX
License: MIT
URL: https://github.com/pytest-dev/pluggy
Source0: %{pypi_source}
Source: %{pypi_source pluggy}
BuildArch: noarch
# Exclude i686 arch. Due to a modularity issue it's being added to the
# x86_64 compose of CRB, but we don't want to ship it at all.
# See: https://projects.engineering.redhat.com/browse/RCM-72605
ExcludeArch: i686
BuildRequires: python3-devel
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
# the [testing] extra includes benchmarking dependencies
BuildRequires: python3-pytest
%endif
%global _description\
@ -31,47 +24,113 @@ The plugin manager stripped of pytest specific details.
%description %_description
%package -n python%{python3_pkgversion}-%{pypi_name}
%package -n python3-pluggy
Summary: %summary
%description -n python%{python3_pkgversion}-%{pypi_name}
The plugin manager stripped of pytest specific details.
%description -n python3-pluggy %_description
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%autosetup -p1 -n pluggy-%{version}
%generate_buildrequires
%pyproject_buildrequires
# Remove dependency of setuptools-scm
sed -i "/ *use_scm_version=.*,/d" setup.py
sed -i "s/ *setup_requires=.*/version='%{version}',/" setup.py
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files pluggy
%if %{with tests}
%check
# TODO investigate test_load_setuptools_instantiation failure
PYTHONPATH=$PWD %{__python3} -m pytest testing -k "not test_load_setuptools_instantiation"
%pytest
%endif
%files -n python%{python3_pkgversion}-%{pypi_name}
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%files -n python3-pluggy -f %{pyproject_files}
%doc README.rst
%license LICENSE
%changelog
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.13.0-3
- Exclude unsupported i686 arch
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.3.0-5
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 0.13.0-2
- Adjusted for Python 3.8 module in RHEL 8
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.3.0-4
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Oct 17 2023 Priscila Gutierres <pgutier@redhat.com> - 1.3.0-1
- Update to 1.3.0.
* Sun Jul 30 2023 Thomas Moschny <thomas.moschny@gmx.de> - 1.2.0-1
- Update to 1.2.0.
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 1.0.0-8
- Rebuilt for Python 3.12
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.0.0-7
- Bootstrap for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-4
- Rebuilt for Python 3.11
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-3
- Bootstrap for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 27 2021 Matthias Runge <mrunge@redhat.com> - 1.0.0-1
- update to 1.0.0 (rhbz#1997706)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.13.1-5
- Rebuilt for Python 3.10
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.13.1-4
- Bootstrap for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 05 2020 Matthias Runge <mrunge@redhat.com> - 0.13.1-1
- update to 0.13.1
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-4
- Rebuilt for Python 3.9
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-3
- Bootstrap for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 18 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.13.0-1
- Update to 0.13.0 (#1750961)

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (pluggy-1.3.0.tar.gz) = d4dbb449f533649da161d7e49f82da5800dabdace4f7aa239c412290470612a45a3ba3c50cafd7bd9ed26cb3aa14648bfa3ed3f41fc0db9ae9399fd7f5933d5f