Pedro Monreal Gonzalez
1d3f3745f0
- add python311.patch to build language bindings for python 3.11 OBS-URL: https://build.opensuse.org/request/show/1060160 OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=141
27 lines
1.1 KiB
Diff
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])
|