diff mbox series

[bug#72851,v2,5/6] gnu: libgnt: Build without python2.

Message ID 6eeb02fe44c1ac6c2587d07fed799fead1442dde.1724920170.git.dariqq@posteo.net
State New
Headers show
Series Pidgin updates | expand

Commit Message

Dariqq Aug. 29, 2024, 8:35 a.m. UTC
* gnu/packages/messaging.scm (libgnt)
[#:configure-flags]: Disable python2.
[porpagated-inputs]: Remove python2.

Change-Id: I247089a02473c526d7facd8e7b7b6133426535a2
---
 gnu/packages/messaging.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 4992db1bee..748cb783ea 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -271,6 +271,7 @@  (define-public libgnt
     (outputs '("out" "doc"))
     (arguments
      (list #:glib-or-gtk? #t         ; To wrap binaries and/or compile schemas
+           #:configure-flags #~'("-Dpython2=false")
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'patch-ncurses-path
@@ -292,7 +293,8 @@  (define-public libgnt
            gtk-doc
            pkg-config))
     (inputs (list ncurses))
-    (propagated-inputs (list glib libxml2 python-2))
+    ;; Required by libgnt.pc
+    (propagated-inputs (list glib libxml2))
     (synopsis "GLib Ncurses Toolkit")
     (description "GNT is an ncurses toolkit for creating text-mode graphical
 user interfaces in a fast and easy way.  It is based on GLib and ncurses.")