guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a52bd8449b2c5b34264dd7ba15175cd54da86f16
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Dec 17 23:15:42 2025 +0000
gnu: python-imaplib2: Switch to pyproject.
* gnu/packages/mail.scm (python-imaplib2):
[source]: Switch to git-fetch providing tests.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest and python-setuptools.
Change-Id: I31fc960675ff97e9a769b1c1a5e37836fe9f0162
---
gnu/packages/mail.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 635d3774f6..cd109704c0 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4773,12 +4773,17 @@ based on asyncio.")
(version "3.6")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "imaplib2" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jazzband/imaplib2/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0nqyb274hq30agg1c0zkb5ijmcirgg35sp4dp4n292l665dlijwn"))))
- (build-system python-build-system)
+ (base32 "14asi3xnvf4bb394k5j8c3by6svvmrr75pawzy6kaax5jx0h793m"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools))
(home-page "https://github.com/jazzband/imaplib2/")
(synopsis "Threaded Python IMAP4 client")
(description "This package provides a threaded Python IMAP4 client, based