[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: Add python-idna.
From: |
Ricardo Wurmus |
Subject: |
02/09: gnu: Add python-idna. |
Date: |
Fri, 25 Sep 2015 19:45:08 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 3f00e07866925712b837ca5b513ec499bc4bc06e
Author: Ricardo Wurmus <address@hidden>
Date: Fri Sep 25 10:04:22 2015 +0200
gnu: Add python-idna.
* gnu/packages/python.scm (python-idna, python2-idna): New variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 025f3b4..1aa249a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4964,3 +4964,33 @@ in Python. This library is used to create, poke at, and
manipulate IPv4 and
IPv6 addresses and networks. This is a port of the Python 3.3 ipaddress
module to older versions of Python.")
(license psfl)))
+
+(define-public python-idna
+ (package
+ (name "python-idna")
+ (version "2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/i/"
+ "idna/idna-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0frxgmgi234lr9hylg62j69j4ik5zhg0wz05w5dhyacbjfnrl68n"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/kjd/idna")
+ (synopsis "Internationalized domain names in applications")
+ (description
+ "This is a library to support the Internationalised Domain Names in
+Applications (IDNA) protocol as specified in RFC 5891. This version of the
+protocol is often referred to as “IDNA2008” and can produce different results
+from the earlier standard from 2003. The library is also intended to act as a
+suitable drop-in replacement for the “encodings.idna” module that comes with
+the Python standard library but currently only supports the older 2003
+specification.")
+ (license bsd-4)))
+
+(define-public python2-idna
+ (package-with-python2 python-idna))
- branch master updated (d708b7a -> 1f321f8), Ricardo Wurmus, 2015/09/25
- 02/09: gnu: Add python-idna.,
Ricardo Wurmus <=
- 01/09: gnu: Add python-ipaddress., Ricardo Wurmus, 2015/09/25
- 03/09: gnu: Add python-pretend., Ricardo Wurmus, 2015/09/25
- 04/09: gnu: Add python-cryptography-vectors., Ricardo Wurmus, 2015/09/25
- 05/09: gnu: Add python-cryptography., Ricardo Wurmus, 2015/09/25
- 06/09: gnu: Add pyOpenSSL., Ricardo Wurmus, 2015/09/25
- 07/09: gnu: Add python-gnupg., Ricardo Wurmus, 2015/09/25
- 08/09: gnu: Add python-nbxmpp., Ricardo Wurmus, 2015/09/25
- 09/09: gnu: Add Gajim., Ricardo Wurmus, 2015/09/25