From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 03/10] gnu: Add python-inflection and python2-inflection. Date: Thu, 23 Jun 2016 23:18:50 +0800 Message-ID: <20160623151857.23978-2-iyzsong@gmail.com> References: <20160623151857.23978-1-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6PU-0005lO-B9 for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6PS-0005V5-6m for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:15 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:33231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6PS-0005Uz-11 for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:14 -0400 In-Reply-To: <20160623151857.23978-1-iyzsong@gmail.com> 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 Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * gnu/packages/python.scm (python-inflection, python2-inflection): New variables. --- gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6e30377..ced8232 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9344,3 +9344,27 @@ datetime type.") (define-public python2-arrow (package-with-python2 python-arrow)) +(define-public python-inflection + (package + (name "python-inflection") + (version "0.3.1") + (source + (origin (method url-fetch) + (uri (pypi-uri "inflection" version)) + (sha256 + (base32 + "1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://github.com/jpvanhal/inflection") + (synopsis "Python string transformation library") + (description + "Inflection is a string transformation library. It singularizes +and pluralizes English words, and transforms strings from CamelCase to +underscored string.") + (license license:expat))) + +(define-public python2-inflection + (package-with-python2 python-inflection)) + -- 2.8.4