From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emIHj-000111-3B for guix-patches@gnu.org; Thu, 15 Feb 2018 07:05:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emIHf-000329-1E for guix-patches@gnu.org; Thu, 15 Feb 2018 07:05:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emIHe-000323-Rx for guix-patches@gnu.org; Thu, 15 Feb 2018 07:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emIHe-00016B-HM for guix-patches@gnu.org; Thu, 15 Feb 2018 07:05:02 -0500 Subject: [bug#30341] [PATCH 2/4] gnu: Add python-blessings. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20180203222735.14042-1-h.goebel@crazy-compilers.com> References: <20180203222233.13657-1-h.goebel@crazy-compilers.com> <20180203222735.14042-1-h.goebel@crazy-compilers.com> Date: Thu, 15 Feb 2018 13:04:19 +0100 Message-ID: <87h8qiwjb0.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hartmut Goebel writes: > * gnu/packages/python.scm (python-blessings, python2-blessings): New > variables. Perhaps this too can go in terminals.scm? > --- > gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index c5f8ee43f..61739ceb6 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12457,3 +12457,34 @@ of VT100 terminal.") >=20=20 > (define-public python2-pyte > (package-with-python2 python-pyte)) > + > +(define-public python-blessings > + (package > + (name "python-blessings") > + (version "1.6.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "blessings" version)) > + (sha256 > + (base32 ^^^ Indentation is off. > + "1smngy65p8mi62lgm04icasx22v976szhs2aq95y2ljmi1srb4bl")))) > + (build-system python-build-system) > + (arguments > + ;; TODO: For py3, 2to2 is used to convert the code, but test-suite = fails > + `(#:tests? #f)) > + (native-inputs > + `(("python-nose" ,python-nose))) > + (home-page "https://pypi.python.org/pypi/blessings") I think is more home-page-y, but no strong opinion. > + (synopsis "Simple but powerful module to manage terminal color, styl= ing, > +and positioning") Maybe s/Simple but powerful/Python/ to keep the synopsis "dry". LGTM otherwise. > + (description "Blessings is a pythonic API to manipulate terminal col= or, > +styling, and positioning. It provides similar features to curses but av= oids > +some of curses=E2=80=99s limitations: it does not require clearing the w= hole screen > +for little changes, provides a scroll-back buffer after the program exit= s, and > +avoids styling altogether when the output is redirected to something oth= er > +than a terminal.") > + (license license:expat))) > + > +(define-public python2-blessings > + (package-with-python2 python-blessings)) > --=20 > 2.13.6 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqFd0MACgkQoqBt8qM6 VPrUmgf+MNGGCtZtwNya580uF7qQadzl06EIG8bd8cpEpTTXR2UzAq6224InStVP 0ByOQW3g2dsK3HA5h+Pu28/7TkBd0RFw9mtDFvncDGhW1Zdno9JQedgRQaVY7oCF 99nyX2Xk3ToUgVJclwP+221j+vHfJeymoGVyZmFPrh6MPIQxwJ1brkDtl57Mmp1Y qjqPgqjSOkKe9X/WU8QG6MA6mbbkAASqlEGd7404cocIlkyaBEejyF8Rquar6Fac PUCKjqlci0Iad7gODrJpHaAxOFao99VEaZ5xYmfQKmYxBYtv+lZ+Wpgav4f8HzqR Bnt56tYl4xTAa5TPR93CeSGnuO/FOA== =vAI1 -----END PGP SIGNATURE----- --=-=-=--