From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 03/11] gnu: Add python-kitchen. Date: Mon, 19 Dec 2016 09:07:34 +0000 Message-ID: <20161219090741.5446-4-ng0@libertad.pw> References: <20161214164718.GA31108@jasmine> <20161219090741.5446-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cItvT-0005Sy-6k for guix-devel@gnu.org; Mon, 19 Dec 2016 04:08:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cItvS-0005zi-36 for guix-devel@gnu.org; Mon, 19 Dec 2016 04:08:07 -0500 Received: from aibo.runbox.com ([91.220.196.211]:41778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cItvR-0005z9-Ro for guix-devel@gnu.org; Mon, 19 Dec 2016 04:08:06 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cItvQ-0006tS-P5 for guix-devel@gnu.org; Mon, 19 Dec 2016 10:08:04 +0100 In-Reply-To: <20161219090741.5446-1-ng0@libertad.pw> 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" To: guix-devel@gnu.org * gnu/packages/python.scm (python-kitchen): New variable. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5f7533011..b2a13f52b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2435,6 +2435,36 @@ version numbers.") (propagated-inputs `(("python2-functools32" ,python2-functools32)))))) +(define-public python-kitchen + (package + (name "python-kitchen") + (version "1.2.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "kitchen" version)) + (sha256 + (base32 + "0ggv3p4x8jvmmzhp0xm00h6pvh1g0gmycw71rjwagnrj8n23vxrq")))) + (build-system python-build-system) + (propagated-inputs + `(("python-chardet" ,python-chardet))) + (home-page "https://fedorahosted.org/kitchen") + (synopsis "Python API for snippets") + (description + "@code{kitchen} module provides a python API for all sorts +of little useful snippets of code that everybody ends up +writing for their projects but never seem big enough to build +an independent release. Use kitchen and stop cutting and +pasting that code over and over.") + (license (list license:lgpl2.1+ + ;; subprocess.py, test_subprocess.py, + ;; kitchen/pycompat25/defaultdict.py: + license:psfl)))) + +(define-public python2-kitchen + (package-with-python2 python-kitchen)) + (define-public python-unidecode (package (name "python-unidecode") -- 2.11.0