guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31241] [PATCH 05/13] gnu: Add python-idna-ssl.


From: Nicolas Goaziou
Subject: [bug#31241] [PATCH 05/13] gnu: Add python-idna-ssl.
Date: Mon, 23 Apr 2018 01:04:12 +0200

* gnu/packages/python.scm (python-idna-ssl): New variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e437ea77d..6ffd1ebbb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2018 Mathieu Lirzin <address@hidden>
 ;;; Copyright © 2018 Adam Massmann <address@hidden>
 ;;; Copyright © 2016, 2018 Tomáš Čech <address@hidden>
+;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6250,6 +6251,26 @@ specification.")
 (define-public python2-idna
   (package-with-python2 python-idna))
 
+(define-public python-idna-ssl
+  (package
+    (name "python-idna-ssl")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "idna-ssl" version))
+       (sha256
+        (base32
+         "0ydrc8hpg9mdr5hqq1lqfsfbn6sjq69slwpfrnlrm3k0phqg14qj"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))          ;circular dependency with python-aiohttp
+    (home-page "https://github.com/aio-libs/idna-ssl";)
+    (synopsis "Patch @code{ssl.match_hostname} for Unicode(idna) domains 
support")
+    (description "Patch @code{ssl.match_hostname} for Unicode(idna)
+domains support.")
+    (license license:expat)))
+
 (define-public python-pretend
   (package
     (name "python-pretend")
-- 
2.17.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]