From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 03/11] gnu: Add python-kitchen. Date: Sun, 11 Dec 2016 18:12:29 +0000 Message-ID: <20161211181237.24485-4-ng0@libertad.pw> References: <20161211181237.24485-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG8cw-0003n8-TD for guix-devel@gnu.org; Sun, 11 Dec 2016 13:13:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG8cv-0006le-QF for guix-devel@gnu.org; Sun, 11 Dec 2016 13:13:34 -0500 Received: from aibo.runbox.com ([91.220.196.211]:54616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cG8cv-0006l0-K2 for guix-devel@gnu.org; Sun, 11 Dec 2016 13:13:33 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cG8cu-0002fN-MJ for guix-devel@gnu.org; Sun, 11 Dec 2016 19:13:32 +0100 In-Reply-To: <20161211181237.24485-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 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f3e0142f5..6b355b723 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2432,6 +2432,39 @@ version numbers.") (propagated-inputs `(("python2-functools32" ,python2-functools32)))))) +;; The source on github and pypi is newer than on fedorahosted. +(define-public python-kitchen + (package + (name "python-kitchen") + (version "1.2.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/fedora-infra/" + "kitchen/archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ybx8nccbh6j1v6xj60j8dkbwnhlj0i1hizfrxzcdvrm9wn6a8wa")))) + (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