Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (9b92107728cccfc7c598cedadfa9715cae0ac016)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (9b92107728cccfc7c598cedadfa9715cae0ac016)
  • Date: Wed, 26 Oct 2022 04:42:06 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

crypto/gpgme/DEPENDS | 2 ++
crypto/gpgme/HISTORY | 4 ++++
crypto/gpgme/PRE_BUILD | 4 ++++
crypto/gpgme/patches/python31x.patch | 13 +++++++++++++
4 files changed, 23 insertions(+)

New commits:
commit 9b92107728cccfc7c598cedadfa9715cae0ac016
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

crypto/gpgme: enabled Python 3.10 and 3.11 support

diff --git a/crypto/gpgme/DEPENDS b/crypto/gpgme/DEPENDS
index bf776fb..7471f11 100755
--- a/crypto/gpgme/DEPENDS
+++ b/crypto/gpgme/DEPENDS
@@ -5,5 +5,7 @@ optional_depends qtbase '' '' 'for QT bindings' &&
optional_depends PYTHON '' '' 'for Python bindings' &&
if is_depends_enabled "$SPELL" python3 ||
is_depends_enabled "$SPELL" python; then
+ depends autoconf &&
+ depends automake &&
depends swig
fi
diff --git a/crypto/gpgme/HISTORY b/crypto/gpgme/HISTORY
index 160d41b..a7ca92b 100644
--- a/crypto/gpgme/HISTORY
+++ b/crypto/gpgme/HISTORY
@@ -1,3 +1,7 @@
+2022-10-26 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS, PRE_BUILD, patches/python31x.patch: enabled Python 3.10
and 3.11
+ support
+
2022-09-01 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 1.18.0
* PREPARE: add 1.18 branch
diff --git a/crypto/gpgme/PRE_BUILD b/crypto/gpgme/PRE_BUILD
index 4192bd7..d1000bc 100755
--- a/crypto/gpgme/PRE_BUILD
+++ b/crypto/gpgme/PRE_BUILD
@@ -3,4 +3,8 @@ cd $SOURCE_DIRECTORY &&
# upstream fix
if [[ $GPGME_BRANCH == '1.8' ]];then
sed -i 's/@libsuffix@/.so/' lang/cpp/src/GpgmeppConfig.cmake.in.in
+fi &&
+if is_depends_enabled "$SPELL" python3; then
+ apply_patch_dir patches &&
+ ./autogen.sh
fi
diff --git a/crypto/gpgme/patches/python31x.patch
b/crypto/gpgme/patches/python31x.patch
new file mode 100644
index 0000000..d88ba63
--- /dev/null
+++ b/crypto/gpgme/patches/python31x.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 9d696b9..6d8d488 100644
+--- a/configure.ac
++++ b/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],[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



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (9b92107728cccfc7c598cedadfa9715cae0ac016), Pavel Vinogradov, 10/26/2022

Archive powered by MHonArc 2.6.24.

Top of Page