guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: python-dbus: Register 'python2-dbus' as the Python 2 variant


From: guix-commits
Subject: 01/05: gnu: python-dbus: Register 'python2-dbus' as the Python 2 variant.
Date: Sun, 28 Nov 2021 18:04:52 -0500 (EST)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit 2ec5a1a576c45bd63e2ae11c081802deae66ed3b
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Nov 28 22:55:22 2021 +0100

    gnu: python-dbus: Register 'python2-dbus' as the Python 2 variant.
    
    This allows things like 'python2-notify2' to actually use the Python 2
    variant of 'python-dbus'.
    
    * gnu/packages/python-xyz.scm (python-dbus)[properties]: New field.
    (python2-dbus)[inputs]: Remove unnecessary 'alist-delete' argument.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cc35781..7ff9537 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8877,6 +8877,7 @@ parsing (browser/HTTP) user agent strings.")
     (description "python-dbus provides bindings for libdbus, the reference
 implementation of D-Bus.")
     (home-page "https://www.freedesktop.org/wiki/Software/DBusBindings/";)
+    (properties `((python2-variant . ,(delay python2-dbus))))
     (license license:expat)))
 
 (define-public python2-dbus
@@ -8884,8 +8885,7 @@ implementation of D-Bus.")
     (name "python2-dbus")
     (inputs `(("python" ,python-2)
               ,@(alist-delete "python"
-                              (package-inputs python-dbus)
-                              equal?)))
+                              (package-inputs python-dbus))))
     (arguments
      `(#:configure-flags '("PYTHON_VERSION=2")))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]