GNU bug report logs - #52849
[PATCH 0/2] Fix pantalaimon build by adding optional dependencies

Previous Next

Package: guix-patches;

Reported by: Sébastien Lerique <sl <at> eauchat.org>

Date: Tue, 28 Dec 2021 14:18:02 UTC

Severity: normal

Tags: patch

Done: Michael Rohleder <mike <at> rohleder.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52849 in the body.
You can then email your comments to 52849 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#52849; Package guix-patches. (Tue, 28 Dec 2021 14:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sébastien Lerique <sl <at> eauchat.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 Dec 2021 14:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] Fix pantalaimon build by adding optional dependencies
Date: Tue, 28 Dec 2021 23:09:33 +0900
With the introduction of the sanity check in python-build-system, pantalaimon's build fails because of missing optional dependencies. This patchset fixes the full build.

I'm a little confused as to why this did not appear earlier to me, as git blame shows the sanity check was introduced in February 2021, and my initial patchset for pantalaimon was in October 2021. Possibly this comes from my recent upgrade of guix-daemon on foreign distro.

Sébastien Lerique (2):
  gnu: Add python-pydbus.
  gnu: pantalaimon: Add optional dependencies.

 gnu/packages/matrix.scm     |  7 ++++++-
 gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 1 deletion(-)


base-commit: e48b9d57129a9e7e680f5988b53ac87ebf946a39
--
2.34.0




Information forwarded to guix-patches <at> gnu.org:
bug#52849; Package guix-patches. (Tue, 28 Dec 2021 14:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 52849 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 52849 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 1/2] gnu: Add python-pydbus.
Date: Tue, 28 Dec 2021 23:24:16 +0900
* gnu/packages/python-xyz.scm (python-pydbus): New variable.
---
 gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ca0b1668d..a9ea4e69b4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8950,6 +8950,38 @@ (define-public python-user-agents
 (define-public python2-user-agents
   (package-with-python2 python-user-agents))
 
+(define-public python-pydbus
+  (package
+    (name "python-pydbus")
+    (version "0.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/LEW21/pydbus")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0v0cyb4ffjrrmd6pxk1vr94k81ggqrfv8aisdm26jxdvdxf8llhp"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "tests/run.sh")))))))
+    (native-inputs
+     (list dbus glib gobject-introspection))
+    (propagated-inputs
+     (list python-pygobject))
+    (home-page "https://github.com/LEW21/pydbus")
+    (synopsis "Pythonic D-Bus library")
+    (description "A modern, pythonic D-Bus library built on top of PyGI and
+GDBus.")
+    (license license:lgpl2.1+)))
+
 (define-public python-dbus
   (package
     (name "python-dbus")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#52849; Package guix-patches. (Tue, 28 Dec 2021 14:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 52849 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: 52849 <at> debbugs.gnu.org
Cc: Sébastien Lerique <sl <at> eauchat.org>
Subject: [PATCH 2/2] gnu: pantalaimon: Add optional dependencies.
Date: Tue, 28 Dec 2021 23:24:17 +0900
* gnu/packages/matrix.scm (pantalaimon)[propagated-inputs]: Add
python-dbus, python-notify2, python-pydbus, python-pygobject.
---
 gnu/packages/matrix.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 8cdfa38b32..9d7b43632e 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -24,6 +24,7 @@ (define-module (gnu packages matrix)
   #:use-module (gnu packages check)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages monitoring)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-check)
@@ -264,12 +265,16 @@ (define-public pantalaimon
            python-attrs
            python-cachetools
            python-click
+           python-dbus
            python-janus
            python-keyring
            python-logbook
            python-matrix-nio
+           python-notify2
            python-peewee
-           python-prompt-toolkit))
+           python-prompt-toolkit
+           python-pydbus
+           python-pygobject))
     (home-page "https://github.com/matrix-org/pantalaimon")
     (synopsis "Matrix proxy daemon that adds E2E encryption capabilities")
     (description
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#52849; Package guix-patches. (Tue, 28 Dec 2021 15:20:01 GMT) Full text and rfc822 format available.

Message #14 received at 52849 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: Sébastien Lerique <sl <at> eauchat.org>
Cc: 52849 <at> debbugs.gnu.org
Subject: Re: bug#52849: [PATCH 0/2] Fix pantalaimon build by adding optional
 dependencies
Date: Tue, 28 Dec 2021 15:19:21 +0000
Hi,

On 2021-12-28, 23:09 +0900, Sébastien Lerique <sl <at> eauchat.org> wrote:

> With the introduction of the sanity check in python-build-system, pantalaimon's build fails because of missing optional dependencies. This patchset fixes the full build.
>
> I'm a little confused as to why this did not appear earlier to me, as git blame shows the sanity check was introduced in February 2021, and my initial patchset for pantalaimon was in October 2021. Possibly this comes from my recent upgrade of guix-daemon on foreign distro.
>
> Sébastien Lerique (2):
>   gnu: Add python-pydbus.
>   gnu: pantalaimon: Add optional dependencies.
>
>  gnu/packages/matrix.scm     |  7 ++++++-
>  gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++
>  2 files changed, 38 insertions(+), 1 deletion(-)
>
>
> base-commit: e48b9d57129a9e7e680f5988b53ac87ebf946a39

Patches have already been sent before: https://issues.guix.gnu.org/52700

-- 
Best regards,
Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#52849; Package guix-patches. (Wed, 29 Dec 2021 12:20:02 GMT) Full text and rfc822 format available.

Message #17 received at 52849 <at> debbugs.gnu.org (full text, mbox):

From: Sébastien Lerique <sl <at> eauchat.org>
To: Aleksandr Vityazev <avityazev <at> posteo.org>
Cc: 52849 <at> debbugs.gnu.org
Subject: Re: bug#52849: [PATCH 0/2] Fix pantalaimon build by adding optional
 dependencies
Date: Wed, 29 Dec 2021 21:18:12 +0900
On 28 Dec 2021 at 15:19, Aleksandr Vityazev <avityazev <at> posteo.org> wrote:
>
> Patches have already been sent before: https://issues.guix.gnu.org/52700

Oh, hadn't seen this. I guess this can be closed then (I don't know how
that is done).

Best,
Sébastien




Reply sent to Michael Rohleder <mike <at> rohleder.de>:
You have taken responsibility. (Wed, 29 Dec 2021 15:51:02 GMT) Full text and rfc822 format available.

Notification sent to Sébastien Lerique <sl <at> eauchat.org>:
bug acknowledged by developer. (Wed, 29 Dec 2021 15:51:02 GMT) Full text and rfc822 format available.

Message #22 received at 52849-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Rohleder <mike <at> rohleder.de>
To: Sébastien Lerique <sl <at> eauchat.org>
Cc: 52849-done <at> debbugs.gnu.org
Subject: Re: [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding
 optional dependencies
Date: Wed, 29 Dec 2021 16:50:44 +0100
[Message part 1 (text/plain, inline)]
Sébastien Lerique <sl <at> eauchat.org> writes:
> Oh, hadn't seen this. I guess this can be closed then (I don't know how
> that is done).

This can be done with sending to nnn-done <at> debbugs.gnu.org, see
https://debbugs.gnu.org/Developer.html or CC:
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Jan 2022 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.