From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei6DB-0007jg-U9 for guix-patches@gnu.org; Sat, 03 Feb 2018 17:23:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ei6D8-0003HX-OP for guix-patches@gnu.org; Sat, 03 Feb 2018 17:23:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ei6D8-0003HJ-Jt for guix-patches@gnu.org; Sat, 03 Feb 2018 17:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ei6D8-0004jg-DB for guix-patches@gnu.org; Sat, 03 Feb 2018 17:23:02 -0500 Subject: [bug#30341] [PATCH 1/4] gnu: Add python-pyte. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei6Co-0007Yj-Bg for guix-patches@gnu.org; Sat, 03 Feb 2018 17:22:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ei6Cl-0003Ac-1E for guix-patches@gnu.org; Sat, 03 Feb 2018 17:22:42 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:46416) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ei6Ck-0003AN-OH for guix-patches@gnu.org; Sat, 03 Feb 2018 17:22:38 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zYpJD4mD3z1qsVV for ; Sat, 3 Feb 2018 23:22:36 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zYpJD4g0Tz1sQwt for ; Sat, 3 Feb 2018 23:22:36 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id NFlZWH-_Ehus for ; Sat, 3 Feb 2018 23:22:35 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-93-104-168-48.dynamic.mnet-online.de [93.104.168.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sat, 3 Feb 2018 23:22:35 +0100 (CET) Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.23]) by hermia.goebel-consult.de (Postfix) with ESMTP id 0FAFF60652 for ; Sat, 3 Feb 2018 23:22:34 +0100 (CET) From: Hartmut Goebel Date: Sat, 3 Feb 2018 23:22:33 +0100 Message-Id: <20180203222233.13657-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 30341@debbugs.gnu.org * gnu/packages/python.scm (python-pyte, python2-pyte): New variables. --- gnu/packages/python.scm | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9483ad6b1..c5f8ee43f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -19,7 +19,7 @@ ;;; Copyright =C2=A9 2015, 2016 Chris Marusich ;;; Copyright =C2=A9 2016 Danny Milosavljevic ;;; Copyright =C2=A9 2016 Lukas Gradl -;;; Copyright =C2=A9 2016 Hartmut Goebel +;;; Copyright =C2=A9 2016, 2018 Hartmut Goebel ;;; Copyright =C2=A9 2016 Daniel Pimentel ;;; Copyright =C2=A9 2016 Sou Bunnbu ;;; Copyright =C2=A9 2016, 2017 Troy Sankey @@ -12417,3 +12417,43 @@ style guide, even if the original code didn't vi= olate the style guide.") =20 (define-public python2-yapf (package-with-python2 python-yapf)) + +(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")))))) + (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 termina= l +emulators. + +pyte is as a fork of vt102, which was an incomplete pure Python implemen= tation +of VT100 terminal.") + (license license:lgpl3))) + +(define-public python2-pyte + (package-with-python2 python-pyte)) --=20 2.13.6