From 52c86fe8c9df402ee5046a6b0daf9138f0bcf3d5 Mon Sep 17 00:00:00 2001 From: Reza Alizadeh Majd Date: Thu, 22 Oct 2020 18:12:04 +0330 Subject: gnu: Add python-imap-tools. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-web.scm (python-imap-tools): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b8b7ce9d31..da0a986084 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5164,3 +5164,30 @@ Encoding for HTTP.") "This module acts as a webbrowser solving Cloudflare's Javascript challenges.") (license license:expat))) + +(define-public python-imap-tools + (package + (name "python-imap-tools") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "imap_tools" version)) + (sha256 + (base32 + "0zd3dkahjc3np9b9zs9cqgmif1gd64ykl1ydw60k5l5zli4ydlk8")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; tests require internet access + (home-page "https://github.com/ikvk/imap_tools") + (synopsis "Work with email and mailbox by IMAP") + (description + "This Python library provides tools to deal with email and mailboxes +over IMAP: + +@itemize +@item Parsed email message attributes +@item Query builder for searching emails +@item Work with emails in folders (copy, delete, flag, move, seen) +@item Work with mailbox folders (list, set, get, create, exists, rename, delete, status) +@end itemize") + (license license:asl2.0))) -- cgit v1.2.3 From e220b77828e9a4ccf5748771b6d61be7a3c84dae Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 25 Oct 2020 01:04:59 +0200 Subject: gnu: python-imap-tools: Update to 0.29.0. * gnu/packages/python-web.scm (python-imap-tools): Update to 0.29.0. --- gnu/packages/python-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index da0a986084..1b6f0290ab 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5168,14 +5168,14 @@ challenges.") (define-public python-imap-tools (package (name "python-imap-tools") - (version "0.27.0") + (version "0.29.0") (source (origin (method url-fetch) (uri (pypi-uri "imap_tools" version)) (sha256 (base32 - "0zd3dkahjc3np9b9zs9cqgmif1gd64ykl1ydw60k5l5zli4ydlk8")))) + "0x122jwpc74wwyw2rsv2fvh6p12y31019ndfr9717jzjkj2d3lhb")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; tests require internet access (home-page "https://github.com/ikvk/imap_tools") -- cgit v1.2.3 From 70876b0793765b882f3fae3d8465b68b38e1eeb8 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 29 Oct 2020 10:47:54 +0100 Subject: gnu: httpie: Update to 2.3.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-web.scm (httpie): Update to 2.3.0. [propagated-inputs]: Add python-requests-toolbelt. [home-page]: Update URL. Signed-off-by: Ludovic Courtès --- gnu/packages/python-web.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1b6f0290ab..cf71a64e7c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -30,7 +30,7 @@ ;;; Copyright © 2019 Vagrant Cascadian ;;; Copyright © 2019 Brendan Tildesley ;;; Copyright © 2019 Pierre Langlois -;;; Copyright © 2019 Tanguy Le Carrour +;;; Copyright © 2019, 2020 Tanguy Le Carrour ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Evan Straw ;;; Copyright © 2020 Alexandros Theodotou @@ -429,14 +429,14 @@ other HTTP libraries.") (define-public httpie (package (name "httpie") - (version "2.2.0") + (version "2.3.0") (source (origin (method url-fetch) (uri (pypi-uri "httpie" version)) (sha256 (base32 - "18058k0i3cc4ixvgzj882w693lf40283flvspbrvd876iq42ib1i")))) + "15ngl3yc186gkgqdx8iav9bpj8gxjpzz26y32z92jwyhj4cmfh6m")))) (build-system python-build-system) (arguments ;; The tests attempt to access external web servers, so we cannot run them. @@ -444,8 +444,9 @@ other HTTP libraries.") (propagated-inputs `(("python-colorama" ,python-colorama) ("python-pygments" ,python-pygments) - ("python-requests" ,python-requests))) - (home-page "https://httpie.org/") + ("python-requests" ,python-requests) + ("python-requests-toolbelt" ,python-requests-toolbelt-0.9.1))) + (home-page "https://httpie.io") (synopsis "cURL-like tool for humans") (description "A command line HTTP client with an intuitive UI, JSON support, -- cgit v1.2.3