From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHUfW-0007PN-9w for guix-patches@gnu.org; Sun, 04 Jun 2017 08:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHUfT-00028I-5H for guix-patches@gnu.org; Sun, 04 Jun 2017 08:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52025) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHUfT-00027x-1p for guix-patches@gnu.org; Sun, 04 Jun 2017 08:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHUfS-000300-Em for guix-patches@gnu.org; Sun, 04 Jun 2017 08:30:02 -0400 Subject: bug#26524: [PATCH 2/5] gnu: Add python2-couleur Resent-Message-ID: From: Marius Bakke In-Reply-To: <20170528153241.15637-2-fredmanglis@gmail.com> References: <20170528153241.15637-1-fredmanglis@gmail.com> <20170528153241.15637-2-fredmanglis@gmail.com> Date: Sun, 04 Jun 2017 14:29:09 +0200 Message-ID: <87bmq4ym0a.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: Muriithi Frederick Muriuki , 26524@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Muriithi Frederick Muriuki writes: > * gnu/packages/python.scm (python2-couleur): New variable. > --- > gnu/packages/python.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 556d34d0c..989131680 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -14955,3 +14955,28 @@ Sure is heavily inspired by @code{RSpec Expectat= ions} and @code{should.js}.") >=20=20 > (define-public python2-sure > (package-with-python2 python-sure)) > + > +(define-public python2-couleur > + ;; This package does not seem to support python3 at all, hence, > + ;; only the python2 variant definition is provided. > + (package > + (name "python-couleur") Applied with this name changed to python2-couleur... > + (version "0.6.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "couleur" version)) > + (sha256 > + (base32 > + "1qqaxyqz74wvid0cr119dhcwz0h0if5b5by44zl49pd5z65v58k1")))) > + (build-system python-build-system) > + (arguments > + `(#:python ,python-2)) > + (home-page > + "http://github.com/gabrielfalcao/couleur") > + (synopsis > + "ANSI terminal tool for python, colored shell and other handy fancy= features") > + (description > + "@code{Couleur} provides python programs a way to use the ANSI feat= ures in a unix > +terminal such as coloured output in the shell, overwriting output, inden= tation, etc.") > + (license license:asl2.0))) ...oddly, README.md say ASL2.0, but all source code headers are LGPL3+. https://github.com/gabrielfalcao/couleur/issues/11 I committed it as lgpl3+ and added this issue as a comment. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkz/RUACgkQoqBt8qM6 VPqEywf/Zvj2cXof0SbuFr+sGVyibpDZbtGMoF1qBxztriBWdYIpg2UozrO4T0Em nXW8dFruxN6iu0L3VvrxwQckRwbJHXDFffJhGUDWnTFsLvBkL3bS2ryQgO6h5nPy u+LVX0izT26nFCKMlj4KFIk8QIR12/kkfhj8CicpdiIJ7vdCIyjTDV/+EWcU6OEs YIv5xqdtHtgzhakHGsZ2tRcDew0yAadVet/RIy49kQkiWqJH7tda8oF89ij400YP QPTbDSAiHJivxYT/LVG1Rg/bsCME2gmsAr8A2DZghXlLXNSBuMSXYEgxQGGICOaS nChX7MekuDa92PprOEi94e5oiywZBA== =Uv0e -----END PGP SIGNATURE----- --=-=-=--