From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oFJXAVyuw141FQAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 10:01:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8FnNOFuuw15PHAAAB5/wlQ (envelope-from ) for ; Tue, 19 May 2020 10:00:59 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3A3BE940B2B for ; Tue, 19 May 2020 10:00:59 +0000 (UTC) Received: from localhost ([::1]:58238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaz3R-0005tO-Gk for larch@yhetil.org; Tue, 19 May 2020 06:00:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaz2Y-00050m-Ei for guix-patches@gnu.org; Tue, 19 May 2020 06:00:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaz2Y-0004wQ-1R for guix-patches@gnu.org; Tue, 19 May 2020 06:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaz2X-0007kz-Ve for guix-patches@gnu.org; Tue, 19 May 2020 06:00:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41395] [PATCH 2/2] gnu: Add python-questionary References: <87v9ksckt3.fsf@alice.lan> In-Reply-To: <87v9ksckt3.fsf@alice.lan> Resent-From: Edouard Klein Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 May 2020 10:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41395 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41395@debbugs.gnu.org Received: via spool by 41395-submit@debbugs.gnu.org id=B41395.158988237929762 (code B ref 41395); Tue, 19 May 2020 10:00:01 +0000 Received: (at 41395) by debbugs.gnu.org; 19 May 2020 09:59:39 +0000 Received: from localhost ([127.0.0.1]:49275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaz2A-0007jx-SE for submit@debbugs.gnu.org; Tue, 19 May 2020 05:59:39 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaz2A-0007jq-2S for 41395@debbugs.gnu.org; Tue, 19 May 2020 05:59:38 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589882376; cv=none; d=zohomail.com; s=zohoarc; b=E8k6Wc2kqt53xCIPfoZ6bJZinQsptgx2lpadbB4cLu725DJ8/dApfi/dWd4fG7WnP4WGEADu9tVQEyfkdHfI9KKgLSZ0658tPxqA+r54M1lVLwbJmWvBiXR6nMVQMKl4GybWueUZIgp1CWPlkGhNKSaW0AGKX6ofKS6KZUi88P0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589882376; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=xCIVOuN46F4JUCjgkr9ClskYg6xMUadtoW+0IwqiFlU=; b=LdMJ5iVDJYfSZB49b7eeJJgXahcTe448ega4KoO5DZM/m8HsgfWzVfCatL4K3JqLmkx5lq1PLxmZSVXznUdA8IUSVwiWtvVqY/KD9B3m5OBYO2ulGFzvEPp1CTAq2neOeytrzJISsSowdD0UpeaE4XN6r63nzX9P/AxUCU1MT9Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589882376; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=xCIVOuN46F4JUCjgkr9ClskYg6xMUadtoW+0IwqiFlU=; b=JNrZjwvJZWdFGMaIdDQOXXPdJe5MCkd0OfopLi+2veGV8xcMDk1jAVXmFWGRDnyK FzVzs1+pMWFB4f8KG5rGtKm9/ZuFwGPjl3NaxlbU4Rkjfk+cDFr8QIv8FT6cRslnnY8 grReXD0jws/P6CRCtWuDYGAFrFiGojiOekPMTFZ0= Received: from alice.lan (lfbn-idf1-1-1299-119.w90-79.abo.wanadoo.fr [90.79.23.119]) by mx.zohomail.com with SMTPS id 1589882374297979.2454998740251; Tue, 19 May 2020 02:59:34 -0700 (PDT) User-agent: mu4e 1.4.4; emacs 26.3 From: Edouard Klein Message-ID: <87pnb0ckjh.fsf@alice.lan> Date: Tue, 19 May 2020 11:59:30 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=beaver-labs.com header.s=zoho header.b=JNrZjwvJ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: BELNYyB+NoQQ * /gnu/packages/python-xyz.scm (python-questionary): New variable * /gnu/packages/python-check.scm (python-pytest-pycodestyle): New variable --- gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 22b9ea8df5..50911673b2 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -337,6 +337,31 @@ testing framework.") framework.") (license license:expat))) =20 +(define-public python-pytest-pycodestyle + (package + (name "python-pytest-pycodestyle") + (version "2.0.0") ;; Any version higher than that requires python-pyt= est~=3D5.4 + ;; (python-pytest is at version 5.3.5 as I write this comment + ;; and 5478 packages depend on it.) + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-pycodestyle" version)) + (sha256 + (base32 + "02i5gl7pm9cwxk15sn29inz3n8flpj1r3p1l110h43f2na5w8h7z")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pycodestyle" ,python-pycodestyle))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page + "https://github.com/henry0312/pytest-pycodestyle") + (synopsis "Pytest plugin to run pycodestyle") + (description "This package provides a plugin to run pycodestyle for th= e py.test +framework.") + (license license:expat))) + (define-public python-codacy-coverage (package (name "python-codacy-coverage") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5fd7e274e9..26a737febb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19985,3 +19985,37 @@ allows you, from Python code, to =E2=80=9Cfix=E2= =80=9D invalid (X)HTML markup.") It builds upon tmux's target and formats to create an object mapping to tr= averse, inspect and interact with live tmux sessions.") (license license:expat))) + +(define-public python-questionary + (package + (name "python-questionary") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "questionary" version)) + (sha256 + (base32 + "09n737qmvzbibl8hmbd5zfg1502fd9n0r8qjzz1y0vy8nqv1xr7n")))) + (build-system python-build-system) + (propagated-inputs + `(("python-prompt-toolkit" ,python-prompt-toolkit))) + (native-inputs + `(("python-coveralls" ,python-coveralls) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-pycodestyle" + ,python-pytest-pycodestyle) + )) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "py.test")))))) + (home-page "https://github.com/tmbo/questionary") + (synopsis + "Pretty command line user prompts") + (description + "Questionary helps make the input prompts easy to read and answer for = the user +using multi-select lists, confirmations, free text prompts, completion, et= c.") + (license license:expat))) --=20 2.26.2