diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-03-31 08:18:44 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:25 +0200 |
commit | 8088bd760427a89d250163693f9d71ba211c5cf3 (patch) | |
tree | 5ebd1ad64036f486e8f03ec832fdc3a37067b976 /gnu/packages/patches/python-sip-include-dirs.patch | |
parent | ce93d3697d12d23c02bafee8e1d93c2083d2c828 (diff) |
gnu: python-sip: Update to 6.10.0.
* gnu/packages/qt.scm (python-sip): Update to 6.10.0.
[source]: Add snippet to relax python-setuptools requirement.
[native-inputs]: Remove python-wrapper. Add python-wheel. Sort inputs.
[propagated-inputs]: Remove python-tomli, python-wheel. Sort inputs.
* gnu/packages/backup.scm (vorta)[native-inputs]: Add
python-setuptools, python-wheel.
* gnu/packages/python-xyz.scm (python-echo)[native-inputs]: Add
python-setuptools, python-wheel.
* gnu/packages/patches/python-sip-include-dirs.patch: Refresh patch.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/patches/python-sip-include-dirs.patch')
-rw-r--r-- | gnu/packages/patches/python-sip-include-dirs.patch | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gnu/packages/patches/python-sip-include-dirs.patch b/gnu/packages/patches/python-sip-include-dirs.patch index f2ef8fc1b2..e5626030b6 100644 --- a/gnu/packages/patches/python-sip-include-dirs.patch +++ b/gnu/packages/patches/python-sip-include-dirs.patch @@ -5,16 +5,15 @@ It seems that we cannot easily change the destination folder of these files though, so this variable must be set on a per-package basis (and non through search-path). ---- sip/sipbuild/builder.py 2023-03-22 09:06:37.588792878 +0100 -+++ sip/sipbuild/builder.py 2023-03-22 09:10:35.830181134 +0100 -@@ -254,6 +254,10 @@ +--- sip/sipbuild/builder.py ++++ sip/sipbuild/builder.py +@@ -227,5 +227,9 @@ os.path.join(project.target_dir, project.get_bindings_dir())) -+ # Add extra bindings from environment for GNU Guix. -+ if 'SIP_INCLUDE_DIRS' in os.environ: -+ sip_include_dirs.extend(os.environ['SIP_INCLUDE_DIRS'].split(os.pathsep)) ++ # Add extra bindings from environment for GNU Guix ++ if 'SIP_INCLUDE_DIRS' in os.environ: ++ sip_include_dirs.extend(os.environ['SIP_INCLUDE_DIRS'].split(os.pathsep)) + - # Generate the sip.h file for the shared sip module. - copy_sip_h(abi_major_version, project.build_dir, - project.sip_module, version_info=project.version_info) + # Generate the code for each set of bindings. + api_files = [] |