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 | |
| 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')
| -rw-r--r-- | gnu/packages/backup.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/patches/python-sip-include-dirs.patch | 17 | ||||
| -rw-r--r-- | gnu/packages/python-xyz.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/qt.scm | 16 |
4 files changed, 22 insertions, 17 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 13c5590f555..cf06f7c1e69 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm | |||
| @@ -1443,7 +1443,9 @@ borgmatic is powered by borg.") | |||
| 1443 | python-pytest-mock | 1443 | python-pytest-mock |
| 1444 | python-pytest-qt | 1444 | python-pytest-qt |
| 1445 | python-pytest-runner | 1445 | python-pytest-runner |
| 1446 | python-setuptools-git)) | 1446 | python-setuptools |
| 1447 | python-setuptools-git | ||
| 1448 | python-wheel)) | ||
| 1447 | (inputs | 1449 | (inputs |
| 1448 | (list borg | 1450 | (list borg |
| 1449 | python-appdirs | 1451 | python-appdirs |
diff --git a/gnu/packages/patches/python-sip-include-dirs.patch b/gnu/packages/patches/python-sip-include-dirs.patch index f2ef8fc1b22..e5626030b67 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 | |||
| 5 | files though, so this variable must be set on a per-package basis (and | 5 | files though, so this variable must be set on a per-package basis (and |
| 6 | non through search-path). | 6 | non through search-path). |
| 7 | 7 | ||
| 8 | --- sip/sipbuild/builder.py 2023-03-22 09:06:37.588792878 +0100 | 8 | --- sip/sipbuild/builder.py |
| 9 | +++ sip/sipbuild/builder.py 2023-03-22 09:10:35.830181134 +0100 | 9 | +++ sip/sipbuild/builder.py |
| 10 | @@ -254,6 +254,10 @@ | 10 | @@ -227,5 +227,9 @@ |
| 11 | os.path.join(project.target_dir, | 11 | os.path.join(project.target_dir, |
| 12 | project.get_bindings_dir())) | 12 | project.get_bindings_dir())) |
| 13 | 13 | ||
| 14 | + # Add extra bindings from environment for GNU Guix. | 14 | + # Add extra bindings from environment for GNU Guix |
| 15 | + if 'SIP_INCLUDE_DIRS' in os.environ: | 15 | + if 'SIP_INCLUDE_DIRS' in os.environ: |
| 16 | + sip_include_dirs.extend(os.environ['SIP_INCLUDE_DIRS'].split(os.pathsep)) | 16 | + sip_include_dirs.extend(os.environ['SIP_INCLUDE_DIRS'].split(os.pathsep)) |
| 17 | + | 17 | + |
| 18 | # Generate the sip.h file for the shared sip module. | 18 | # Generate the code for each set of bindings. |
| 19 | copy_sip_h(abi_major_version, project.build_dir, | 19 | api_files = [] |
| 20 | project.sip_module, version_info=project.version_info) | ||
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9c62804483b..4ba16281c32 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -3214,7 +3214,9 @@ simple function calls.") | |||
| 3214 | (native-inputs | 3214 | (native-inputs |
| 3215 | (list python-pytest | 3215 | (list python-pytest |
| 3216 | python-pytest-cov | 3216 | python-pytest-cov |
| 3217 | python-setuptools | ||
| 3217 | python-setuptools-scm | 3218 | python-setuptools-scm |
| 3219 | python-wheel | ||
| 3218 | xorg-server-for-tests)) | 3220 | xorg-server-for-tests)) |
| 3219 | (home-page "https://github.com/glue-viz/echo") | 3221 | (home-page "https://github.com/glue-viz/echo") |
| 3220 | (synopsis "Callback Properties in Python") | 3222 | (synopsis "Callback Properties in Python") |
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 3e255f3f48a..f84c1630cd3 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm | |||
| @@ -4033,7 +4033,7 @@ Python.") | |||
| 4033 | (define-public python-sip | 4033 | (define-public python-sip |
| 4034 | (package | 4034 | (package |
| 4035 | (name "python-sip") | 4035 | (name "python-sip") |
| 4036 | (version "6.8.6") | 4036 | (version "6.10.0") |
| 4037 | (source | 4037 | (source |
| 4038 | (origin | 4038 | (origin |
| 4039 | (method url-fetch) | 4039 | (method url-fetch) |
| @@ -4043,18 +4043,20 @@ Python.") | |||
| 4043 | "/sip-" version ".tar.gz"))) | 4043 | "/sip-" version ".tar.gz"))) |
| 4044 | (sha256 | 4044 | (sha256 |
| 4045 | (base32 | 4045 | (base32 |
| 4046 | "0ykxq0607f2sdwbl5cxbp0y8pl14bsgzc9nhifpxbibfivj5kjbz")) | 4046 | "176jylhzs2ci2r9f3l75k9dpwhp1dn0qv2cy9phdp62cgmlia1gs")) |
| 4047 | (modules '((guix build utils))) | ||
| 4048 | (snippet | ||
| 4049 | ;; Relax setuptools dependency | ||
| 4050 | #~(substitute* "pyproject.toml" | ||
| 4051 | (("\"setuptools>=.*\",") "\"setuptools\","))) | ||
| 4047 | (patches (search-patches "python-sip-include-dirs.patch")))) | 4052 | (patches (search-patches "python-sip-include-dirs.patch")))) |
| 4048 | (build-system pyproject-build-system) | 4053 | (build-system pyproject-build-system) |
| 4049 | (arguments | 4054 | (arguments |
| 4050 | (list #:tests? #f)) ; No test system found. | 4055 | (list #:tests? #f)) ; No test system found. |
| 4051 | (native-inputs | 4056 | (native-inputs |
| 4052 | (list python-wrapper python-setuptools python-setuptools-scm-next)) | 4057 | (list python-setuptools python-setuptools-scm-next python-wheel)) |
| 4053 | (propagated-inputs | 4058 | (propagated-inputs |
| 4054 | (list python-tomli | 4059 | (list python-packaging python-setuptools)) |
| 4055 | python-packaging | ||
| 4056 | python-setuptools | ||
| 4057 | python-wheel)) | ||
| 4058 | (home-page "https://www.riverbankcomputing.com/software/sip/intro") | 4060 | (home-page "https://www.riverbankcomputing.com/software/sip/intro") |
| 4059 | (synopsis "Python binding creator for C and C++ libraries") | 4061 | (synopsis "Python binding creator for C and C++ libraries") |
| 4060 | (description | 4062 | (description |
