mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
* 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>
19 lines
727 B
Diff
19 lines
727 B
Diff
Add an environment variable to python-sip that extends its search
|
|
directories for .sip files.
|
|
|
|
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
|
|
+++ 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))
|
|
+
|
|
# Generate the code for each set of bindings.
|
|
api_files = []
|