From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 03/11] gnu: Add python-kitchen. Date: Wed, 14 Dec 2016 12:25:18 +0000 Message-ID: <20161214122526.4458-4-ng0@libertad.pw> References: <20161212151837.GA24973@jasmine> <20161214122526.4458-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH8dJ-0003l5-3L for guix-devel@gnu.org; Wed, 14 Dec 2016 07:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cH8dE-0005MF-Ve for guix-devel@gnu.org; Wed, 14 Dec 2016 07:26:05 -0500 Received: from aibo.runbox.com ([91.220.196.211]:60743) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cH8dE-0005LG-Om for guix-devel@gnu.org; Wed, 14 Dec 2016 07:26:00 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cH8dD-0000GK-Hp for guix-devel@gnu.org; Wed, 14 Dec 2016 13:25:59 +0100 In-Reply-To: <20161214122526.4458-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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b324f993e..9ebdbc420 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2436,6 +2436,38 @@ 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 (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