forked from pool/python-propcache
Accepting request 1207574 from home:bmwiedemann:branches:devel:languages:python
Add reproducible.patch to not embed a random tmpdir in binaries (boo#1062303) OBS-URL: https://build.opensuse.org/request/show/1207574 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-propcache?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 13 11:54:18 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Add reproducible.patch to not embed a random tmpdir in binaries (boo#1062303)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 9 07:35:20 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Wed Oct 9 07:35:20 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -23,6 +23,7 @@ Summary: Accelerated property cache
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/aio-libs/propcache
|
URL: https://github.com/aio-libs/propcache
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/propcache/propcache-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/propcache/propcache-%{version}.tar.gz
|
||||||
|
Patch0: reproducible.patch
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: %{python_module Cython >= 3.0.11}
|
BuildRequires: %{python_module Cython >= 3.0.11}
|
||||||
BuildRequires: %{python_module expandvars}
|
BuildRequires: %{python_module expandvars}
|
||||||
|
13
reproducible.patch
Normal file
13
reproducible.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py
|
||||||
|
index 7245be9..ad4dd85 100644
|
||||||
|
--- a/packaging/pep517_backend/_backend.py
|
||||||
|
+++ b/packaging/pep517_backend/_backend.py
|
||||||
|
@@ -321,7 +321,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(
|
Reference in New Issue
Block a user