mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
ce93d3697d
commit
8088bd7604
4 changed files with 22 additions and 17 deletions
|
@ -1443,7 +1443,9 @@ borgmatic is powered by borg.")
|
||||||
python-pytest-mock
|
python-pytest-mock
|
||||||
python-pytest-qt
|
python-pytest-qt
|
||||||
python-pytest-runner
|
python-pytest-runner
|
||||||
python-setuptools-git))
|
python-setuptools
|
||||||
|
python-setuptools-git
|
||||||
|
python-wheel))
|
||||||
(inputs
|
(inputs
|
||||||
(list borg
|
(list borg
|
||||||
python-appdirs
|
python-appdirs
|
||||||
|
|
|
@ -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
|
files though, so this variable must be set on a per-package basis (and
|
||||||
non through search-path).
|
non through search-path).
|
||||||
|
|
||||||
--- sip/sipbuild/builder.py 2023-03-22 09:06:37.588792878 +0100
|
--- sip/sipbuild/builder.py
|
||||||
+++ sip/sipbuild/builder.py 2023-03-22 09:10:35.830181134 +0100
|
+++ sip/sipbuild/builder.py
|
||||||
@@ -254,6 +254,10 @@
|
@@ -227,5 +227,9 @@
|
||||||
os.path.join(project.target_dir,
|
os.path.join(project.target_dir,
|
||||||
project.get_bindings_dir()))
|
project.get_bindings_dir()))
|
||||||
|
|
||||||
+ # Add extra bindings from environment for GNU Guix.
|
+ # Add extra bindings from environment for GNU Guix
|
||||||
+ if 'SIP_INCLUDE_DIRS' in os.environ:
|
+ if 'SIP_INCLUDE_DIRS' in os.environ:
|
||||||
+ sip_include_dirs.extend(os.environ['SIP_INCLUDE_DIRS'].split(os.pathsep))
|
+ sip_include_dirs.extend(os.environ['SIP_INCLUDE_DIRS'].split(os.pathsep))
|
||||||
+
|
+
|
||||||
# Generate the sip.h file for the shared sip module.
|
# Generate the code for each set of bindings.
|
||||||
copy_sip_h(abi_major_version, project.build_dir,
|
api_files = []
|
||||||
project.sip_module, version_info=project.version_info)
|
|
||||||
|
|
|
@ -3214,7 +3214,9 @@ simple function calls.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest
|
(list python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
|
python-setuptools
|
||||||
python-setuptools-scm
|
python-setuptools-scm
|
||||||
|
python-wheel
|
||||||
xorg-server-for-tests))
|
xorg-server-for-tests))
|
||||||
(home-page "https://github.com/glue-viz/echo")
|
(home-page "https://github.com/glue-viz/echo")
|
||||||
(synopsis "Callback Properties in Python")
|
(synopsis "Callback Properties in Python")
|
||||||
|
|
|
@ -4033,7 +4033,7 @@ Python.")
|
||||||
(define-public python-sip
|
(define-public python-sip
|
||||||
(package
|
(package
|
||||||
(name "python-sip")
|
(name "python-sip")
|
||||||
(version "6.8.6")
|
(version "6.10.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -4043,18 +4043,20 @@ Python.")
|
||||||
"/sip-" version ".tar.gz")))
|
"/sip-" version ".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ykxq0607f2sdwbl5cxbp0y8pl14bsgzc9nhifpxbibfivj5kjbz"))
|
"176jylhzs2ci2r9f3l75k9dpwhp1dn0qv2cy9phdp62cgmlia1gs"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Relax setuptools dependency
|
||||||
|
#~(substitute* "pyproject.toml"
|
||||||
|
(("\"setuptools>=.*\",") "\"setuptools\",")))
|
||||||
(patches (search-patches "python-sip-include-dirs.patch"))))
|
(patches (search-patches "python-sip-include-dirs.patch"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f)) ; No test system found.
|
(list #:tests? #f)) ; No test system found.
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-wrapper python-setuptools python-setuptools-scm-next))
|
(list python-setuptools python-setuptools-scm-next python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-tomli
|
(list python-packaging python-setuptools))
|
||||||
python-packaging
|
|
||||||
python-setuptools
|
|
||||||
python-wheel))
|
|
||||||
(home-page "https://www.riverbankcomputing.com/software/sip/intro")
|
(home-page "https://www.riverbankcomputing.com/software/sip/intro")
|
||||||
(synopsis "Python binding creator for C and C++ libraries")
|
(synopsis "Python binding creator for C and C++ libraries")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue