From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: [PATCH 17/18] gnu: Add python-translitcodec. Date: Fri, 19 Feb 2016 18:37:16 -0800 Message-ID: <87ziuwm7j0.fsf@dustycloud.org> References: <8737stsg54.fsf@dustycloud.org> <20160216020655.GM3984@jasmine> <87oabcnrbn.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/x-diff Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWxQF-0006Bt-FQ for guix-devel@gnu.org; Fri, 19 Feb 2016 21:37:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWxQC-0001Ia-8L for guix-devel@gnu.org; Fri, 19 Feb 2016 21:37:27 -0500 Received: from dustycloud.org ([50.116.34.160]:45714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWxQC-0001IW-43 for guix-devel@gnu.org; Fri, 19 Feb 2016 21:37:24 -0500 In-reply-to: <87oabcnrbn.fsf@dustycloud.org> Content-Disposition: inline; filename=0016-gnu-Add-python-translitcodec.patch 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: Leo Famulari Cc: guix-devel@gnu.org >From a80923d359965a1694f9417e17186e0f5c696785 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 14 Feb 2016 16:23:11 -0800 Subject: [PATCH 16/18] gnu: Add python-translitcodec. * gnu/packages/python.scm (python-translitcodec, python2-translitcodec): New variables. --- gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 48946a7..ab7b276 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8046,3 +8046,34 @@ synchronously (wait until ready).") ("python2-unittest2" ,python2-unittest2) ("python2-mock" ,python2-mock) ,@(package-native-inputs celery)))))) + +(define-public python-translitcodec + (package + (name "python-translitcodec") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "translitcodec" version)) + (sha256 + (base32 + "10x6pvblkzky1zhjs8nmx64nb9jdzxad4bxhq4iwv0j4z2aqjnki")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; no tests provided + (home-page + "https://github.com/claudep/translitcodec") + (synopsis + "Unicode to 8-bit charset transliteration codec") + (description + "This package contains codecs for transliterating ISO 10646 texts into +best-effort representations using smaller coded character sets (ASCII, +ISO 8859, etc.).") + (license license:expat) + (properties `((python2-variant . ,(delay python2-translitcodec)))))) + +(define-public python2-translitcodec + (package + (inherit (package-with-python2 + (strip-python2-variant python-translitcodec))) + (native-inputs `(("python2-setuptools" ,python2-setuptools))))) -- 2.6.3