From 4de387e398873d0aa46f8afde12014dd586d057e Mon Sep 17 00:00:00 2001 From: Foreman Packaging Automation Date: Wed, 23 Oct 2024 04:11:20 +0000 Subject: [PATCH] Update frozenlist to 1.4.1 --- ...am-only-Build-normal-wheels-in-place.patch | 29 +++++++++++++++++++ .../python-frozenlist/frozenlist-1.3.3.tar.gz | 1 - .../python-frozenlist/frozenlist-1.4.1.tar.gz | 1 + .../python-frozenlist/python-frozenlist.spec | 26 ++++++++++++----- 4 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 packages/python-frozenlist/0001-Downstream-only-Build-normal-wheels-in-place.patch delete mode 120000 packages/python-frozenlist/frozenlist-1.3.3.tar.gz create mode 120000 packages/python-frozenlist/frozenlist-1.4.1.tar.gz diff --git a/packages/python-frozenlist/0001-Downstream-only-Build-normal-wheels-in-place.patch b/packages/python-frozenlist/0001-Downstream-only-Build-normal-wheels-in-place.patch new file mode 100644 index 000000000..d4277d95b --- /dev/null +++ b/packages/python-frozenlist/0001-Downstream-only-Build-normal-wheels-in-place.patch @@ -0,0 +1,29 @@ +From 57cedf60030c16a64fd988376de230652edce1fa Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" +Date: Fri, 15 Dec 2023 08:11:45 -0500 +Subject: [PATCH] Downstream-only: Build normal wheels in-place + +Upstream wants to build only editable wheels in-place, building normal +wheels in a temporary directory. This is reasonable in principle, but +the implementation conflicts with the pyproject-rpm-macros, resulting in +an unbounded recursion of nested temporary directories. +--- + packaging/pep517_backend/_backend.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py +index 8bb2ee2..e640738 100644 +--- a/packaging/pep517_backend/_backend.py ++++ b/packaging/pep517_backend/_backend.py +@@ -286,7 +286,7 @@ def build_wheel( + """ + with maybe_prebuild_c_extensions( + line_trace_cython_when_unset=False, +- build_inplace=False, ++ build_inplace=True, + config_settings=config_settings, + ): + return _setuptools_build_wheel( +-- +2.43.0 + diff --git a/packages/python-frozenlist/frozenlist-1.3.3.tar.gz b/packages/python-frozenlist/frozenlist-1.3.3.tar.gz deleted file mode 120000 index 2faaa0daf..000000000 --- a/packages/python-frozenlist/frozenlist-1.3.3.tar.gz +++ /dev/null @@ -1 +0,0 @@ -../../.git/annex/objects/FF/qG/SHA256E-s66571--58bcc55721e8a90b88332d6cd441261ebb22342e238296bb330968952fbb3a6a.tar.gz/SHA256E-s66571--58bcc55721e8a90b88332d6cd441261ebb22342e238296bb330968952fbb3a6a.tar.gz \ No newline at end of file diff --git a/packages/python-frozenlist/frozenlist-1.4.1.tar.gz b/packages/python-frozenlist/frozenlist-1.4.1.tar.gz new file mode 120000 index 000000000..c269742a8 --- /dev/null +++ b/packages/python-frozenlist/frozenlist-1.4.1.tar.gz @@ -0,0 +1 @@ +../../.git/annex/objects/5f/73/SHA256E-s37820--c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b.tar.gz/SHA256E-s37820--c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b.tar.gz \ No newline at end of file diff --git a/packages/python-frozenlist/python-frozenlist.spec b/packages/python-frozenlist/python-frozenlist.spec index 62575c210..91bbb502b 100644 --- a/packages/python-frozenlist/python-frozenlist.spec +++ b/packages/python-frozenlist/python-frozenlist.spec @@ -5,16 +5,22 @@ %global pypi_name frozenlist Name: python-%{pypi_name} -Version: 1.3.3 -Release: 5%{?dist} +Version: 1.4.1 +Release: 1%{?dist} Summary: A list-like structure which implements collections License: Apache 2 URL: https://github.com/aio-libs/frozenlist Source0: https://files.pythonhosted.org/packages/source/f/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +Patch0: 0001-Downstream-only-Build-normal-wheels-in-place.patch BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-pip +BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-expandvars +BuildRequires: python%{python3_pkgversion}-wheel +BuildRequires: pyproject-rpm-macros %description @@ -32,29 +38,33 @@ Summary: %{summary} %prep set -ex -%autosetup -n %{pypi_name}-%{version} -# Remove bundled egg-info -rm -rf %{pypi_name}.egg-info +%autosetup -n %{pypi_name}-%{version} -p1 + +# Remove Cython-generated sources; we must ensure they are regenerated. +find . -type f -name '*.c' -print -delete %build set -ex -%py3_build +%pyproject_wheel %install set -ex -%py3_install +%pyproject_install %files -n python%{python3_pkgversion}-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitearch}/%{pypi_name} -%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%{python3_sitearch}/%{pypi_name}-%{version}.dist-info/ %changelog +* Wed Oct 23 2024 Foreman Packaging Automation - 1.4.1-1 +- Update to 1.4.1 + * Tue Jan 16 2024 Odilon Sousa - 1.3.3-5 - Remove SCL bits