From 2280bc542c083465b26aefc0bae32fa7a9b9523c Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 19:35:07 +0000 Subject: [PATCH] import UBI python-pluggy-1.3.0-5.el10 --- .gitignore | 2 +- .python-pluggy.metadata | 1 - .../python-pluggy.spec => python-pluggy.spec | 127 +++++++++++++----- sources | 1 + 4 files changed, 95 insertions(+), 36 deletions(-) delete mode 100644 .python-pluggy.metadata rename SPECS/python-pluggy.spec => python-pluggy.spec (55%) create mode 100644 sources diff --git a/.gitignore b/.gitignore index 1f16b82..94cf0a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/pluggy-0.13.0.tar.gz +pluggy-1.3.0.tar.gz diff --git a/.python-pluggy.metadata b/.python-pluggy.metadata deleted file mode 100644 index 981c76e..0000000 --- a/.python-pluggy.metadata +++ /dev/null @@ -1 +0,0 @@ -9d172f2825272e63095ab8e37aae8f1367aad057 SOURCES/pluggy-0.13.0.tar.gz diff --git a/SPECS/python-pluggy.spec b/python-pluggy.spec similarity index 55% rename from SPECS/python-pluggy.spec rename to python-pluggy.spec index b576bf5..d2eb7df 100644 --- a/SPECS/python-pluggy.spec +++ b/python-pluggy.spec @@ -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 - 0.13.0-3 -- Exclude unsupported i686 arch +* Tue Oct 29 2024 Troy Dawson - 1.3.0-5 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 -* Tue Nov 19 2019 Lumír Balhar - 0.13.0-2 -- Adjusted for Python 3.8 module in RHEL 8 +* Mon Jun 24 2024 Troy Dawson - 1.3.0-4 +- Bump release for June 2024 mass rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Oct 17 2023 Priscila Gutierres - 1.3.0-1 +- Update to 1.3.0. + +* Sun Jul 30 2023 Thomas Moschny - 1.2.0-1 +- Update to 1.2.0. + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 16 2023 Python Maint - 1.0.0-8 +- Rebuilt for Python 3.12 + +* Tue Jun 13 2023 Python Maint - 1.0.0-7 +- Bootstrap for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.0.0-4 +- Rebuilt for Python 3.11 + +* Mon Jun 13 2022 Python Maint - 1.0.0-3 +- Bootstrap for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Aug 27 2021 Matthias Runge - 1.0.0-1 +- update to 1.0.0 (rhbz#1997706) + +* Fri Jul 23 2021 Fedora Release Engineering - 0.13.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 02 2021 Python Maint - 0.13.1-5 +- Rebuilt for Python 3.10 + +* Wed Jun 02 2021 Python Maint - 0.13.1-4 +- Bootstrap for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.13.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 05 2020 Matthias Runge - 0.13.1-1 +- update to 0.13.1 + +* Fri May 22 2020 Miro Hrončok - 0.13.0-4 +- Rebuilt for Python 3.9 + +* Fri May 22 2020 Miro Hrončok - 0.13.0-3 +- Bootstrap for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.13.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 18 2019 Patrik Kopkan - 0.13.0-1 - Update to 0.13.0 (#1750961) diff --git a/sources b/sources new file mode 100644 index 0000000..e6e9083 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pluggy-1.3.0.tar.gz) = d4dbb449f533649da161d7e49f82da5800dabdace4f7aa239c412290470612a45a3ba3c50cafd7bd9ed26cb3aa14648bfa3ed3f41fc0db9ae9399fd7f5933d5f