From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 06/31] gnu: Add python-unidecode. Date: Fri, 5 Sep 2014 11:18:12 -0400 Message-ID: <1409930317-13220-6-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHx-0000s4-Lo for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHp-0003Ym-GX for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:01 -0400 Received: from na3sys009aog133.obsmtp.com ([74.125.149.82]:60528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHp-0003YZ-8j for guix-devel@gnu.org; Fri, 05 Sep 2014 11:18:53 -0400 Received: by mail-yk0-f174.google.com with SMTP id 10so7071588ykt.5 for ; Fri, 05 Sep 2014 08:18:52 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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