From patchwork Mon Dec 28 21:32:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 26085 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8360A27BC05; Mon, 28 Dec 2020 21:34:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BB4D727BC04 for ; Mon, 28 Dec 2020 21:34:42 +0000 (GMT) Received: from localhost ([::1]:36434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ku0A5-0004Jp-O1 for patchwork@mira.cbaines.net; Mon, 28 Dec 2020 16:34:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku09T-0004IG-Ls for guix-patches@gnu.org; Mon, 28 Dec 2020 16:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku09T-0005qw-F0 for guix-patches@gnu.org; Mon, 28 Dec 2020 16:34:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ku09T-0007LT-DP for guix-patches@gnu.org; Mon, 28 Dec 2020 16:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45514] [PATCH 2/8] gnu: Add python-urwid-readline. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Dec 2020 21:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45514@debbugs.gnu.org Received: via spool by 45514-submit@debbugs.gnu.org id=B45514.160919122728174 (code B ref 45514); Mon, 28 Dec 2020 21:34:03 +0000 Received: (at 45514) by debbugs.gnu.org; 28 Dec 2020 21:33:47 +0000 Received: from localhost ([127.0.0.1]:37085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku09D-0007KF-5t for submit@debbugs.gnu.org; Mon, 28 Dec 2020 16:33:47 -0500 Received: from latitanza.investici.org ([82.94.249.234]:56883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku099-0007JE-GX for 45514@debbugs.gnu.org; Mon, 28 Dec 2020 16:33:44 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4D4W523xHjz8sgN; Mon, 28 Dec 2020 21:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1609191222; bh=uwfSmCqsRPmNn7ljbDZDixl5gD5xMO+zK8hdF+NESHY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AJUfpBKw72BZlpA6ZJz5gRfTf/1UdehvaHlY8pduEJqEojO/E5Y9DGoE29JWnpiUa khkh5Yr70AyOGLci6ZViyuBH/ubE23K9/rRfxSboSWZijMLLjkYuUUeGaFBFJZ+6p7 Oot5oF8jhji1+POaafhuDFeAbBxbjK2+PG+0Wc54= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4D4W5220QRz8sfw; Mon, 28 Dec 2020 21:33:42 +0000 (UTC) From: Giacomo Leidi Date: Mon, 28 Dec 2020 22:32:39 +0100 Message-Id: <20201228213245.12577-2-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228213245.12577-1-goodoldpaul@autistici.org> References: <20201228213245.12577-1-goodoldpaul@autistici.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Giacomo Leidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-urwid-readline): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 739943b116..307608adf6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23201,3 +23201,33 @@ backport of the @code{dataclasses} module for Python 3.6.") (description "@code{python-pywatchman} is a library to connect and query Watchman to discover file changes.") (license license:bsd-3))) + +(define-public python-urwid-readline + (package + (name "python-urwid-readline") + (version "0.12") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/rr-/urwid_readline") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0sq5qgxj7gcfww3ww7idr87isnmp0hi36n241b3q395x1zafdv22")))) + (build-system python-build-system) + (propagated-inputs + `(("python-urwid" ,python-urwid))) + (native-inputs + `(("python-black" ,python-black) + ("python-pytest" ,python-pytest))) + (home-page + "https://github.com/rr-/urwid_readline") + (synopsis + "Text input widget for urwid that supports readline shortcuts") + (description + "This package provides a textbox edit widget for @code{python-urwid} that +supports @code{readline} shortcuts.") + (license license:expat)))