diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-26 21:18:17 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-26 21:24:02 +0100 |
commit | 29069663fd03b562c80ea64adec96748aa6f4929 (patch) | |
tree | 5e5f8694810084e712357d2a73bc2862f2e7bee1 /gnu/packages/python-xyz.scm | |
parent | edeafb19c4a83eb81fe7e47a6a94f238db9cccf1 (diff) |
gnu: python-pydbus: Fix build.
* gnu/packages/python-xyz.scm (python-pydbus) [bulid-system]: Switch to
pyproject.
[arguments] <tests?>: Disable as no provided in PyPI archive.
<phases>: Add 'fix-comparability-with-pygobject.
[native-inputs]: Add python-setuptools and python-wheel.
[description]: Start from a new line.
Change-Id: Ie859207b700ed9c864b119b25bc3fcb2d1c2b8b4
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 81f2eebe5b..92d1999376 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14874,19 +14874,33 @@ parsing (browser/HTTP) user agent strings.") (name "python-pydbus") (version "0.6.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "pydbus" version)) - (sha256 - (base32 "0b0gipvz7vcfa9ddmwq2jrx16d4apb0hdnl5q4i3h8jlzwp1c1s2")))) - (build-system python-build-system) - (propagated-inputs (list python-pygobject)) + (origin + (method url-fetch) + (uri (pypi-uri "pydbus" version)) + (sha256 + (base32 "0b0gipvz7vcfa9ddmwq2jrx16d4apb0hdnl5q4i3h8jlzwp1c1s2")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f ; no tests in PyPI, git tests require running DBus + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-comparability-with-pygobject + (lambda _ + (substitute* "pydbus/_inspect3.py" + (("getargspec") + "getfullargspec"))))))) + (native-inputs + (list python-setuptools + python-wheel)) + (propagated-inputs + (list python-pygobject)) (home-page "https://github.com/LEW21/pydbus") (synopsis "Pythonic D-Bus library") - (description "Pydbus provides a pythonic interface to the D-Bus -message bus system. Pydbus can be used to access remote objects and -also for object publication. It is based on PyGI, the Python GObject -Introspection bindings, which is the recommended way to use GLib from Python.") + (description + "Pydbus provides a pythonic interface to the D-Bus message bus system. +Pydbus can be used to access remote objects and also for object publication. +It is based on PyGI, the Python GObject Introspection bindings, which is the +recommended way to use GLib from Python.") (license license:lgpl2.1+))) (define-public python-dbus |