unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43980] Update offlineimap to 7.3.3
       [not found] <87y2ka0x80.fsf.ref@yahoo.de>
@ 2020-10-13 18:58 ` Tim Gesthuizen via Guix-patches via
  2020-10-14  8:17   ` bug#43980: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Gesthuizen via Guix-patches via @ 2020-10-13 18:58 UTC (permalink / raw)
  To: 43980

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

Hi all.

The attached patches update offlineimap to 7.3.3. This requires rfc6555
which is not yet packaged. Please tell me when there is something wrong
with the patches.

Tim.

PS: Is adding copyrights as I did still required? I could not find
information about it in the manual.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python2-rfc6555.patch --]
[-- Type: text/x-patch, Size: 1721 bytes --]

From 1c73e48511cf28e20eb6968f944f5341c610958a Mon Sep 17 00:00:00 2001
From: Tim Gesthuizen <tim.gesthuizen@yahoo.de>
Date: Tue, 13 Oct 2020 14:16:58 +0200
Subject: [PATCH 1/2] gnu: Add python2-rfc6555

* gnu/packages/python-xyz.scm (python2-rfc6555): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 56c7bb84ab..6377af990a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15969,6 +15969,31 @@ validation of URIs (see RFC 3986) and IRIs (see RFC 3987).")
 (define-public python2-rfc3987
   (package-with-python2 python-rfc3987))
 
+(define-public python2-rfc6555
+  (package
+    (name "python2-rfc6555")
+    (version "0.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "rfc6555" version))
+              (sha256
+               (base32
+                "05sjrd6jc0sdvx0z7d3llk82rx366jlmc7ijam0nalsv66hbn70r"))))
+    (build-system python-build-system)
+    (arguments `(#:python ,python-2))
+    (native-inputs
+     `(("python2-pytest" ,python2-pytest)
+       ("python2-mock" ,python2-mock)))
+    (inputs
+     `(("python2-selectors2" ,python2-selectors2)))
+    (home-page "https://pypi.org/project/rfc6555/")
+    (synopsis "Python implementation of RFC 6555")
+    (description
+     "Python implementation of the Happy Eyeballs Algorithm described in RFC
+6555.  Provided with a single file and dead-simple API to allow easy vendoring
+and integration into other projects.")
+    (license license:asl2.0)))
+
 (define-public python-validators
   (package
     (name "python-validators")
-- 
2.28.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-offlineimap-Update-to-7.3.3.patch --]
[-- Type: text/x-patch, Size: 1511 bytes --]

From 96e874f3982088090261f0c8b8f329fc2b527aaa Mon Sep 17 00:00:00 2001
From: Tim Gesthuizen <tim.gesthuizen@yahoo.de>
Date: Tue, 13 Oct 2020 14:17:53 +0200
Subject: [PATCH 2/2] gnu: offlineimap: Update to 7.3.3

---
 gnu/packages/mail.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 2bab7b4645..2fda7980e8 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -776,7 +776,7 @@ and corrections.  It is based on a Bayesian filter.")
 (define-public offlineimap
   (package
     (name "offlineimap")
-    (version "7.2.4")
+    (version "7.3.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -785,12 +785,14 @@ and corrections.  It is based on a Bayesian filter.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0h5q5nk2p2vx86w6rrbs7v70h81dpqqr68x6l3klzl3m0yj9agb1"))))
+                "1gg8ry67i20qapj4z20am9bm67m2q28kixcj7ja75m897vhzarnq"))))
     (build-system python-build-system)
     (native-inputs
      `(("asciidoc" ,asciidoc)))
     (inputs `(("python2-pysqlite" ,python2-pysqlite)
-              ("python2-six" ,python2-six)))
+              ("python2-six" ,python2-six)
+              ("python2-rfc6555" ,python2-rfc6555)
+              ("python2-selectors2" ,python2-selectors2)))
     (arguments
      ;; The setup.py script expects python-2.
      `(#:python ,python-2
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#43980: Update offlineimap to 7.3.3
  2020-10-13 18:58 ` [bug#43980] Update offlineimap to 7.3.3 Tim Gesthuizen via Guix-patches via
@ 2020-10-14  8:17   ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-10-14  8:17 UTC (permalink / raw)
  To: Tim Gesthuizen; +Cc: 43980-done

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

I changed python-rfc6555 to pull from the latest commit so it would
build with python3 also. The main thing was moving python2-selectors2 to
propagated-inputs so it gets carried along to the dependant
applications. With this I removed python2-selectors2 from inputs in
offlineimap.

I also added a copyright line for you in both files.

Thanks! Patches pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-14  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87y2ka0x80.fsf.ref@yahoo.de>
2020-10-13 18:58 ` [bug#43980] Update offlineimap to 7.3.3 Tim Gesthuizen via Guix-patches via
2020-10-14  8:17   ` bug#43980: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).