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
This commit is contained in:
Sharlatan Hellseher 2025-04-26 21:18:17 +01:00
parent edeafb19c4
commit 29069663fd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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