diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-09-12 09:14:11 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-09-12 11:26:05 +0300 |
commit | b555d987b9b89a694bd1f412a5d40d3b73b144ba (patch) | |
tree | 71a86547af435b92a5d69d078da128f966905733 /gnu/packages/patches/pygpgme-disable-problematic-tests.patch | |
parent | 73158a5f6299a07a1581f0f33c5e86be660f6270 (diff) |
gnu: python-pygpgme: Update to 0.4.
* gnu/packages/gnupg.scm (python-pygpgme): Update to 0.4.
[source]: Remove patches.
[build-system]: Switch to the pyproject build system.
[arguments]: Remove custom phases.
[native-inputs]: Remove gnupg-1. Add gnupg.
[home-page]: Update home-page.
* gnu/packages/patches/pygpgme-disable-problematic-tests.patch,
gnu/packages/patches/python-pygpgme-fix-pinentry-tests.patch: Remove
files.
* gnu/local.mk (dist_patch_DATA): Remove patches.
Change-Id: I0986e0f87a1b824bce5cc24f34467132d14296e4
Diffstat (limited to 'gnu/packages/patches/pygpgme-disable-problematic-tests.patch')
-rw-r--r-- | gnu/packages/patches/pygpgme-disable-problematic-tests.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/gnu/packages/patches/pygpgme-disable-problematic-tests.patch b/gnu/packages/patches/pygpgme-disable-problematic-tests.patch deleted file mode 100644 index 2129d2f973..0000000000 --- a/gnu/packages/patches/pygpgme-disable-problematic-tests.patch +++ /dev/null @@ -1,37 +0,0 @@ -These tests require a gpg agent to run, and are difficult to get to work right -in Guix's environment. For more details, see: - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713074 - https://bugs.launchpad.net/pygpgme/+bug/999949 - ---- pygpgme-0.3/tests/test_encrypt_decrypt.py 2012-02-28 19:10:28.000000000 -0800 -+++ pygpgme-0.3/tests/test_encrypt_decrypt.py 2016-02-05 10:21:58.966685384 -0800 -@@ -125,7 +125,7 @@ - ctx.decrypt(ciphertext, plaintext) - self.assertEqual(plaintext.getvalue(), b'Hello World\n') - -- def test_encrypt_symmetric(self): -+ def skip_test_encrypt_symmetric(self): - plaintext = BytesIO(b'Hello World\n') - ciphertext = BytesIO() - def passphrase(uid_hint, passphrase_info, prev_was_bad, fd): - ---- pygpgme-0.3/tests/test_passphrase.py 2012-02-28 19:04:17.000000000 -0800 -+++ pygpgme-0.3/tests/test_passphrase.py 2016-02-05 10:21:47.990630956 -0800 -@@ -30,7 +30,7 @@ - - import_keys = ['passphrase.pub', 'passphrase.sec'] - -- def test_sign_without_passphrase_cb(self): -+ def skip_test_sign_without_passphrase_cb(self): - ctx = gpgme.Context() - key = ctx.get_key('EFB052B4230BBBC51914BCBB54DCBBC8DBFB9EB3') - ctx.signers = [key] -@@ -51,7 +51,7 @@ - self.prev_was_bad = prev_was_bad - os.write(fd, b'test\n') - -- def test_sign_with_passphrase_cb(self): -+ def skip_test_sign_with_passphrase_cb(self): - ctx = gpgme.Context() - key = ctx.get_key('EFB052B4230BBBC51914BCBB54DCBBC8DBFB9EB3') - ctx.signers = [key] |