Skip to content

Commit

Permalink
gpgme: add python3.13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Nov 15, 2024
1 parent 5826159 commit e96cc57
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/libraries/gpgme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
patches = [
# Support Python 3.10-3.12, remove distutils, https://dev.gnupg.org/D545
./python-310-312-remove-distutils.patch
# Support Python 3.13
./python313-support.patch
# Fix a test after disallowing compressed signatures in gpg (PR #180336)
./test_t-verify_double-plaintext.patch
# Don't use deprecated LFS64 APIs (removed in musl 1.2.4)
Expand Down
13 changes: 13 additions & 0 deletions pkgs/development/libraries/gpgme/python313-support.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index ae4c7da0..9a0401aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -591,7 +591,7 @@ if test "$found_py" = "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],
- [3.11],[3.12],[all]],
+ [3.11],[3.12],[3.13],[all]],
[unset PYTHON
unset PYTHON_VERSION
unset PYTHON_CPPFLAGS

0 comments on commit e96cc57

Please sign in to comment.