Subject: [PATCH v2 5/6] gnu: libgnt: Build without python2.

From: Dariqq <[email-masked]>
Date: Thu, 29 Aug 2024 08:35:20 +0000

* 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 --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.")
-- 
2.45.2