[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/31] gnu: Add python-unidecode.
From: |
David Thompson |
Subject: |
[PATCH 06/31] gnu: Add python-unidecode. |
Date: |
Fri, 5 Sep 2014 11:18:12 -0400 |
* gnu/packages/python.scm (python-unidecode, python2-unidecode): New
variables.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f5c5a14..6dd4922 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1099,3 +1099,32 @@ human beings.")
(define-public python2-jsonschema
(package-with-python2 python-jsonschema))
+
+(define-public python-unidecode
+ (package
+ (name "python-unidecode")
+ (version "0.04.16")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://pypi.python.org/packages/source/U/Unidecode/Unidecode-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0yv56vc49rvippyxgxvcyz7jklc07ky38rcspax7p00sgmriiljc"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://pypi.python.org/pypi/Unidecode")
+ (synopsis "ASCII transliterations of Unicode text")
+ (description
+ "Unidecode provides ASCII transliterations of Unicode text. Unidecode is
+useful when integrating with legacy code that doesn't support Unicode, or for
+ease of entry of non-Roman names on a US keyboard, or when constructing ASCII
+machine identifiers from human-readable Unicode strings that should still be
+somewhat intelligeble.")
+ (license gpl2)))
+
+(define-public python2-unidecode
+ (package-with-python2 python-unidecode))
--
2.0.1
- Re: [PATCH 02/31] gnu: Add python-pyld., (continued)
- [PATCH 03/31] gnu: Add python-certifi., David Thompson, 2014/09/05
- [PATCH 07/31] gnu: Add python-mimeparse., David Thompson, 2014/09/05
- [PATCH 05/31] gnu: Add python-jsonschema., David Thompson, 2014/09/05
- [PATCH 04/31] gnu: Add python2-requests., David Thompson, 2014/09/05
- [PATCH 06/31] gnu: Add python-unidecode.,
David Thompson <=
- [PATCH 08/31] gnu: Add python-extras., David Thompson, 2014/09/05
- [PATCH 09/31] gnu: Add python-nose., David Thompson, 2014/09/05
- [PATCH 11/31] gnu: Add python-py., David Thompson, 2014/09/05
- [PATCH 13/31] gnu: Add python-scripttest., David Thompson, 2014/09/05