summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-01-03 18:57:40 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:24:35 +0100
commitccba2021ab2941d239c1beaefe0ff0cb58426905 (patch)
treeca32dbeb8b83ad6e1661c08f47ad51004d8ca453 /gnu
parentc6f7aba33c86fa301877faadca3ce223ebbf2689 (diff)
gnu: python-gnupg: Update to 0.5.6.
* gnu/packages/gnupg.scm (python-gnupg): Update to 0.5.6. [source]: Switch to git-fetch. [arguments]: Use G-Expressions. [native-inputs]: Remove python-wheel. [home-page]: Update. Merges guix/guix#5341 Change-Id: I9b51c220e1d406a91f1022c9a1af9754941a0dd5 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnupg.scm44
1 files changed, 24 insertions, 20 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 2e6987f44a9..3b0404ec669 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -652,35 +652,39 @@ decrypt messages using the OpenPGP format by making use of GPGME.")
(define-public python-gnupg
(package
(name "python-gnupg")
- (version "0.5.0")
+ (version "0.5.6")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "python-gnupg" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vsajip/python-gnupg/")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0ali2zz6k568yzhdgzm8f14v6s5ymihlyffbvfxc9q60gww8wxbh"))))
+ "0p5ijy8fqc84hcjr2np977v784y07b60l53wffwb7znyx570ip6f"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (substitute* "test_gnupg.py"
- ;; Unsure why this test fails.
- (("'test_search_keys'") "True")
- (("def test_search_keys") "def disabled__search_keys"))
- (setenv "USERNAME" "guixbuilder")
- ;; The doctests are extremely slow and sometimes time out,
- ;; so we disable them.
- (invoke "python" "test_gnupg.py" "--no-doctests")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (substitute* "test_gnupg.py"
+ ;; Unsure why this test fails.
+ (("'test_search_keys'") "True")
+ (("def test_search_keys") "def disabled__search_keys"))
+ (setenv "USERNAME" "guixbuilder")
+ ;; The doctests are extremely slow and sometimes time out,
+ ;; so we disable them.
+ (invoke "python" "test_gnupg.py" "--no-doctests")))))))
(native-inputs
- (list gnupg python-setuptools python-wheel))
- (home-page "https://pythonhosted.org/python-gnupg/index.html")
+ (list gnupg python-setuptools))
+ (home-page "https://docs.red-dove.com/python-gnupg/")
(synopsis "Wrapper for the GNU Privacy Guard")
(description
- "This module allows easy access to GnuPG’s key management, encryption
+ "This module allows easy access to GnuPG’s key management, encryption
and signature functionality from Python programs.")
(license license:bsd-3)))