[geany/geany] 1b3851: Switch to Python 3 for GTK doc header generation (#2903)

elextr git-noreply at xxxxx
Sun Feb 6 21:05:47 UTC 2022


Branch:      refs/heads/master
Author:      elextr <elextr at gmail.com>
Committer:   GitHub <noreply at github.com>
Date:        Sun, 06 Feb 2022 21:05:47 UTC
Commit:      1b3851397612ef92b1b12677ce1e33fa70c4bbdb
             https://github.com/geany/geany/commit/1b3851397612ef92b1b12677ce1e33fa70c4bbdb

Log Message:
-----------
Switch to Python 3 for GTK doc header generation (#2903)

Use python3 whenever possible. Python 2 is EOL and the python binary might not be installed.

This obsoletes a Debian patch applied to their package.

Co-authored-by: Enrico Tröger <enrico.troeger at uvena.de>


Modified Paths:
--------------
    m4/geany-gtkdoc-header.m4
    scripts/gen-api-gtkdoc.py

Modified: m4/geany-gtkdoc-header.m4
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -21,7 +21,7 @@ AC_DEFUN([GEANY_CHECK_GTKDOC_HEADER],
 	      [test "x$geany_enable_gtkdoc_header" != "xno"],
 	[
 		dnl python
-		AM_PATH_PYTHON([2.7], [have_python=yes], [have_python=no])
+		AM_PATH_PYTHON([3], [have_python=yes], [have_python=no])
 		dnl lxml module
 		AS_IF([test "x$have_python" = xyes],
 		      [have_python_and_lxml=yes


Modified: scripts/gen-api-gtkdoc.py
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #  Copyright 2015 The Geany contributors
 #



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list