From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 03/10] gnu: Add python-inflection and python2-inflection. Date: Sat, 25 Jun 2016 13:58:29 -0400 Message-ID: <20160625175829.GF22624@jasmine> References: <20160623151857.23978-1-iyzsong@gmail.com> <20160623151857.23978-2-iyzsong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGrqx-0001Vb-S6 for guix-devel@gnu.org; Sat, 25 Jun 2016 13:58:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGrqu-0002CH-Ur for guix-devel@gnu.org; Sat, 25 Jun 2016 13:58:47 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGrqt-00027r-O5 for guix-devel@gnu.org; Sat, 25 Jun 2016 13:58:44 -0400 Content-Disposition: inline In-Reply-To: <20160623151857.23978-2-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: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org On Thu, Jun 23, 2016 at 11:18:50PM +0800, 宋文武 wrote: > * 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")))) The indentation should be shifted to the right. > + (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 > >