From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 05/10] gnu: Add python-cleo and python2-cleo. Date: Sat, 25 Jun 2016 13:58:33 -0400 Message-ID: <20160625175833.GG22624@jasmine> References: <20160623152004.24065-1-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]:46748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGrqz-0001Vn-Uc for guix-devel@gnu.org; Sat, 25 Jun 2016 13:58:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGrqy-0002DE-UL for guix-devel@gnu.org; Sat, 25 Jun 2016 13:58:49 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGrqx-00028u-O4 for guix-devel@gnu.org; Sat, 25 Jun 2016 13:58:48 -0400 Content-Disposition: inline In-Reply-To: <20160623152004.24065-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: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org On Thu, Jun 23, 2016 at 11:19:59PM +0800, 宋文武 wrote: > * gnu/packages/python.scm (python-cleo, python2-cleo): New variables. > --- > gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 1dc5212..d1d127b 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -9391,3 +9391,31 @@ Wikipedia code samples at > (define-public python2-pylev > (package-with-python2 python-pylev)) > > +(define-public python-cleo > + (package > + (name "python-cleo") > + (version "0.4.1") > + (source (origin > + (method url-fetch) > + (uri (pypi-uri "cleo" version)) > + (sha256 > + (base32 > + "1k2dcl6mqpn5bljyl6w42rqyd9mb3y9kh2mg7m2x3kfjwvg0rpva")))) > + (build-system python-build-system) > + (native-inputs > + `(("python-psutil" ,python-psutil) > + ("python-pylev" ,python-pylev) > + ("python-setuptools" ,python-setuptools) > + ;; For testing > + ("python-mock" ,python-mock) > + ("python-pytest" ,python-pytest))) > + (home-page "https://github.com/sdispater/cleo") > + (synopsis "Command-line arguments library for Python") > + (description > + "Cleo allows you to create command-line commands with signature in > +docstring and colored output.") How about "command-line interfaces"? Also, I don't know what "signature in docstring" means? Is that something that Python programmers (not me) would understand? > + (license license:expat))) > + > +(define-public python2-cleo > + (package-with-python2 python-cleo)) > + > -- > 2.8.4 > >