From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emIKb-0002wL-9O for guix-patches@gnu.org; Thu, 15 Feb 2018 07:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emIKX-00059g-WF for guix-patches@gnu.org; Thu, 15 Feb 2018 07:08:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emIKX-00059W-SL for guix-patches@gnu.org; Thu, 15 Feb 2018 07:08:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emIKX-0001AT-M4 for guix-patches@gnu.org; Thu, 15 Feb 2018 07:08:01 -0500 Subject: [bug#30341] [PATCH 3/4] gnu: Add python-curtsies. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20180203222735.14042-2-h.goebel@crazy-compilers.com> References: <20180203222735.14042-1-h.goebel@crazy-compilers.com> <20180203222735.14042-2-h.goebel@crazy-compilers.com> Date: Thu, 15 Feb 2018 13:07:36 +0100 Message-ID: <87eflmwj5j.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Hartmut Goebel , 30341@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hartmut Goebel writes: > * gnu/packages/python.scm (python-curtsies, python2-curtsies): New variab= les. Also fit for terminals.scm, I think. > --- > gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 61739ceb6..49b698f3d 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12488,3 +12488,39 @@ than a terminal.") >=20=20 > (define-public python2-blessings > (package-with-python2 python-blessings)) > + > +(define-public python-curtsies > + (package > + (name "python-curtsies") > + (version "0.2.11") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "curtsies" version)) > + (sha256 > + (base32 Please run the indentation of all these through emacs :-) > + "1vljmw3sy6lrqahhpyg4gk13mzcx3mwhvg8s41698ms3cpgkjipc")))) > + (build-system python-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (replace 'check > + (lambda _ > + (zero? (system* "nosetests" "-v"))))))) Use (invoke ...) instead of (zero? (system* ...)). Other than that LGTM. > + (propagated-inputs > + `(("python-blessings" ,python-blessings) > + ("python-wcwidth", python-wcwidth))) > + (native-inputs > + `(("python-mock" ,python-mock) > + ("python-pyte" ,python-pyte) > + ("python-nose" ,python-nose))) > + (home-page "https://github.com/thomasballinger/curtsies") > + (synopsis "Library for curses-like terminal interaction with colored > +strings") > + (description "Curtsies is a Python library for interacting with the > +terminal. It features string-like objects which carry formatting inform= ation, > +per-line fullscreen terminal rendering, and keyboard input event reporti= ng.") > + (license license:expat))) > + > +(define-public python2-curtsies > + (package-with-python2 python-curtsies)) > --=20 > 2.13.6 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqFeAgACgkQoqBt8qM6 VPr4WAf/cWfbE0qfUJIfmvzTQwjaRL5teCBW8j43jIg/uK6kz0JMFTHSB4/Gs5d+ RYxDtM80CZjvsQTxzbJVZVdXL8phiIYXcwuwDUzfY/Ny4yo0Ce8lxxh09eOf3nvu KpMTf6BKTfJjP9upAA+PSslD4wieRboY0YRfhNlXdWwQzfchfSQTlepZKAoBZRaV MENDa85x1URVOncxvFzRW9UmsrGr3P0BbLgwQmk3lvv5eeuplkPKYNhE/2DzWZOz rlw1JL89uDPWxeUDUO8cyP4p82zv7IF7R+IkN2pEBJWnn/mWZVB/XvQ0dCXc9tGr n1UF44xfF9NW7nkN4udoGzK9/0OQ2A== =kNUF -----END PGP SIGNATURE----- --=-=-=--