~ruther/guix-local

a52bd8449b2c5b34264dd7ba15175cd54da86f16 — Sharlatan Hellseher 2 months ago 61f18e6
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
1 files changed, 10 insertions(+), 5 deletions(-)

M gnu/packages/mail.scm
M gnu/packages/mail.scm => gnu/packages/mail.scm +10 -5
@@ 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