gpgme/python311.patch

27 lines
1.1 KiB
Diff

Index: gpgme-1.18.0/configure.ac
===================================================================
--- gpgme-1.18.0.orig/configure.ac
+++ gpgme-1.18.0/configure.ac
@@ -443,7 +443,7 @@ if test "$found_py" = "1"; then
if test "$found_py" = "1" -o "$found_py3" = "1"; then
# Reset everything, so that we can look for another Python.
m4_foreach([mym4pythonver],
- [[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[3.10],[all]],
+ [[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[3.10],[3.11],[all]],
[unset PYTHON
unset PYTHON_VERSION
unset PYTHON_CPPFLAGS
Index: gpgme-1.18.0/m4/python.m4
===================================================================
--- gpgme-1.18.0.orig/m4/python.m4
+++ gpgme-1.18.0/m4/python.m4
@@ -41,7 +41,7 @@ AC_DEFUN([AM_PATH_PYTHON],
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
[python2 python2.7 dnl
python dnl
- python3 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4
+ python3 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4
])
AC_ARG_VAR([PYTHON], [the Python interpreter])