* [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding optional dependencies
@ 2021-12-28 14:09 Sébastien Lerique
2021-12-28 14:24 ` [bug#52849] [PATCH 1/2] gnu: Add python-pydbus Sébastien Lerique
2021-12-28 15:19 ` [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding " Aleksandr Vityazev
0 siblings, 2 replies; 6+ messages in thread
From: Sébastien Lerique @ 2021-12-28 14:09 UTC (permalink / raw)
To: 52849
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#52849] [PATCH 1/2] gnu: Add python-pydbus.
2021-12-28 14:09 [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding optional dependencies Sébastien Lerique
@ 2021-12-28 14:24 ` Sébastien Lerique
2021-12-28 14:24 ` [bug#52849] [PATCH 2/2] gnu: pantalaimon: Add optional dependencies Sébastien Lerique
2021-12-28 15:19 ` [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding " Aleksandr Vityazev
1 sibling, 1 reply; 6+ messages in thread
From: Sébastien Lerique @ 2021-12-28 14:24 UTC (permalink / raw)
To: 52849; +Cc: Sébastien Lerique
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#52849] [PATCH 2/2] gnu: pantalaimon: Add optional dependencies.
2021-12-28 14:24 ` [bug#52849] [PATCH 1/2] gnu: Add python-pydbus Sébastien Lerique
@ 2021-12-28 14:24 ` Sébastien Lerique
0 siblings, 0 replies; 6+ messages in thread
From: Sébastien Lerique @ 2021-12-28 14:24 UTC (permalink / raw)
To: 52849; +Cc: Sébastien Lerique
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding optional dependencies
2021-12-28 14:09 [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding optional dependencies Sébastien Lerique
2021-12-28 14:24 ` [bug#52849] [PATCH 1/2] gnu: Add python-pydbus Sébastien Lerique
@ 2021-12-28 15:19 ` Aleksandr Vityazev
2021-12-29 12:18 ` Sébastien Lerique
1 sibling, 1 reply; 6+ messages in thread
From: Aleksandr Vityazev @ 2021-12-28 15:19 UTC (permalink / raw)
To: Sébastien Lerique; +Cc: 52849
Hi,
On 2021-12-28, 23:09 +0900, Sébastien Lerique <sl@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding optional dependencies
2021-12-28 15:19 ` [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding " Aleksandr Vityazev
@ 2021-12-29 12:18 ` Sébastien Lerique
2021-12-29 15:50 ` bug#52849: " Michael Rohleder
0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Lerique @ 2021-12-29 12:18 UTC (permalink / raw)
To: Aleksandr Vityazev; +Cc: 52849
On 28 Dec 2021 at 15:19, Aleksandr Vityazev <avityazev@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#52849: [PATCH 0/2] Fix pantalaimon build by adding optional dependencies
2021-12-29 12:18 ` Sébastien Lerique
@ 2021-12-29 15:50 ` Michael Rohleder
0 siblings, 0 replies; 6+ messages in thread
From: Michael Rohleder @ 2021-12-29 15:50 UTC (permalink / raw)
To: Sébastien Lerique; +Cc: 52849-done
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
Sébastien Lerique <sl@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@debbugs.gnu.org, see
https://debbugs.gnu.org/Developer.html or CC:
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-12-29 15:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-28 14:09 [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding optional dependencies Sébastien Lerique
2021-12-28 14:24 ` [bug#52849] [PATCH 1/2] gnu: Add python-pydbus Sébastien Lerique
2021-12-28 14:24 ` [bug#52849] [PATCH 2/2] gnu: pantalaimon: Add optional dependencies Sébastien Lerique
2021-12-28 15:19 ` [bug#52849] [PATCH 0/2] Fix pantalaimon build by adding " Aleksandr Vityazev
2021-12-29 12:18 ` Sébastien Lerique
2021-12-29 15:50 ` bug#52849: " Michael Rohleder
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).