From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 03/11] gnu: Add python-kitchen. Date: Wed, 21 Dec 2016 11:47:11 +0000 Message-ID: <20161221114718.12679-4-ng0@libertad.pw> References: <20161221001039.3a6f6037@scratchpost.org> <20161221114718.12679-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJfMk-00060c-57 for guix-devel@gnu.org; Wed, 21 Dec 2016 06:47:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJfMh-0002W1-GJ for guix-devel@gnu.org; Wed, 21 Dec 2016 06:47:26 -0500 Received: from aibo.runbox.com ([91.220.196.211]:50035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJfMh-0002Vp-9T for guix-devel@gnu.org; Wed, 21 Dec 2016 06:47:23 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cJfMg-0006bh-8E for guix-devel@gnu.org; Wed, 21 Dec 2016 12:47:22 +0100 In-Reply-To: <20161221114718.12679-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 eb4289161..5c4ae5025 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