$OpenBSD: patch-meson_build,v 1.1.1.1 2021/09/08 09:13:58 landry Exp $

Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -190,13 +190,6 @@ libgnt_headers = [
 	'gnt.h'
 ]
 
-# Check for Python headers
-python_dep = dependency('python2', required : false)
-if not python_dep.found()
-	python_dep = dependency('python-2.7', required : false)
-endif
-gnt_config.set('USE_PYTHON', python_dep.found())
-
 configure_file(output : 'gntconfig.h',
     configuration : gnt_config)
 
@@ -219,7 +212,7 @@ libgnt = library('gnt',
                  version : '@0@.@1@.@2@'.format(gnt_soversion,
                                                 gnt_minor_version,
                                                 gnt_micro_version),
-                 dependencies : [ncurses, libxml, glib, gobject, gmodule, python_dep])
+                 dependencies : [ncurses, libxml, glib, gobject, gmodule])
 libgnt_dep = declare_dependency(
     include_directories : libgnt_inc,
     link_with : libgnt,
