-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
9 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
packages/python-frozenlist/0001-Downstream-only-Build-normal-wheels-in-place.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 57cedf60030c16a64fd988376de230652edce1fa Mon Sep 17 00:00:00 2001 | ||
From: "Benjamin A. Beasley" <[email protected]> | ||
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 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.git/annex/objects/5f/73/SHA256E-s37820--c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b.tar.gz/SHA256E-s37820--c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]> - 1.4.1-1 | ||
- Update to 1.4.1 | ||
|
||
* Tue Jan 16 2024 Odilon Sousa <[email protected]> - 1.3.3-5 | ||
- Remove SCL bits | ||
|
||
|