From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emIBu-0005Hb-Et for guix-patches@gnu.org; Thu, 15 Feb 2018 06:59:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emIBq-0006mo-IY for guix-patches@gnu.org; Thu, 15 Feb 2018 06:59:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35802) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emIBq-0006mZ-Bu for guix-patches@gnu.org; Thu, 15 Feb 2018 06:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emIBq-0000vX-1Z for guix-patches@gnu.org; Thu, 15 Feb 2018 06:59:02 -0500 Subject: [bug#30341] [PATCH 1/4] gnu: Add python-pyte. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20180203222233.13657-1-h.goebel@crazy-compilers.com> References: <20180203222233.13657-1-h.goebel@crazy-compilers.com> Date: Thu, 15 Feb 2018 12:58:40 +0100 Message-ID: <87k1vewjkf.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-pyte, python2-pyte): New variables. Perhaps we can add this to "terminals.scm" to try and prevent python.scm from growing out of control again. [...] > +(define-public python-pyte > + (package > + (name "python-pyte") > + (version "0.7.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "pyte" version)) > + (sha256 > + (base32 > + "1an54hvyjm8gncx8cgabz9mkpgjkdb0bkyjlkh7g7f94nr3wnfl7")))) > + (build-system python-build-system) > + (arguments > + '(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'remove-failing-test > + ;; TODO: Reenable when the `captured` files required by this = test > + ;; are included in the archive. > + (lambda _ > + (delete-file "tests/test_input_output.py")))))) (delete-file ...) has an unspecified return value, so add a #t here. > + (propagated-inputs > + `(("python-wcwidth", python-wcwidth))) > + (native-inputs > + `(("python-pytest-runner" ,python-pytest-runner) > + ("python-pytest" ,python-pytest))) > + (home-page "https://pyte.readthedocs.io/") > + (synopsis "Simple VTXXX-compatible terminal emulator") > + (description "@code{pyte} is an in-memory VTxxx-compatible terminal > +emulator. @var{VTxxx} stands for a series of video terminals, developed= by > +DEC between 1970 and 1995. The first and probably most famous one was t= he > +VT100 terminal, which is now a de-facto standard for all virtual terminal > +emulators. > + > +pyte is as a fork of vt102, which was an incomplete pure Python implemen= tation s/is as/is/ ? > +of VT100 terminal.") > + (license license:lgpl3))) Since the source files don't specify which version, this is LGPL3+. Other than that LGTM. > + > +(define-public python2-pyte > + (package-with-python2 python-pyte)) > --=20 > 2.13.6 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqFdfAACgkQoqBt8qM6 VPr4eAgAjJBk4shBosSxfgY5ZnE8hkfucyoldeixcIZ/AIGf9Y9QDrWkG+lZ44xB fTMZTVFPcSllq1AsmF7QKSIPXZvvsTkxpcq+wDbAS4pqSA+ZNHGZpy4RHYWHl1E+ +FKT1bjKQjtserCaodk3lGLh3HmE8xA8cfhIwWtAYsmxVzGB8u1TCwtItand4PNQ m9+RsS8qw6tyxaSzeU5WhsrNU0YItrIeKR16XcNIxqhstpB+sfAU4jpInDgWVyiv pzXhmcBYnfK+j6gEl1IsxeBQL/Taf8HwEYJaFQPCADucumq8jgIdwwzog9ZZx3Ol +D9yRUxw+CZ2gwXw9+x966KRr5x/pQ== =4DDP -----END PGP SIGNATURE----- --=-=-=--