From a52bd8449b2c5b34264dd7ba15175cd54da86f16 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 17 Dec 2025 23:15:42 +0000 Subject: [PATCH] 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 635d3774f6363af84f6079d52579f04bbbf42712..cd109704c056f3c8d1f85f46788dceede44ba286 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