From patchwork Sun Apr 4 12:20:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Munyoki Kilyungi X-Patchwork-Id: 28319 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 94CE327BC66; Sun, 4 Apr 2021 13:21:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED,URIBL_SBL,URIBL_SBL_A autolearn=unavailable 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 0994C27BC68 for ; Sun, 4 Apr 2021 13:21:36 +0100 (BST) Received: from localhost ([::1]:49256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lT1l1-0001a5-7i for patchwork@mira.cbaines.net; Sun, 04 Apr 2021 08:21:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lT1kY-0001PU-2V for guix-patches@gnu.org; Sun, 04 Apr 2021 08:21:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lT1kV-0000UO-7B for guix-patches@gnu.org; Sun, 04 Apr 2021 08:21:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lT1kV-0000Th-3H for guix-patches@gnu.org; Sun, 04 Apr 2021 08:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47593] [PATCH 2/6] gnu: python-check: Add python-pytest-helpers-namespace. Resent-From: BonfaceKilz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Apr 2021 12:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47593@debbugs.gnu.org Cc: BonfaceKilz , jgart@dismail.de Received: via spool by 47593-submit@debbugs.gnu.org id=B47593.16175388311716 (code B ref 47593); Sun, 04 Apr 2021 12:21:03 +0000 Received: (at 47593) by debbugs.gnu.org; 4 Apr 2021 12:20:31 +0000 Received: from localhost ([127.0.0.1]:35021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lT1jz-0000Ra-6X for submit@debbugs.gnu.org; Sun, 04 Apr 2021 08:20:31 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lT1jv-0000R6-Rs for 47593@debbugs.gnu.org; Sun, 04 Apr 2021 08:20:28 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C69DD5C00B8; Sun, 4 Apr 2021 08:20:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 04 Apr 2021 08:20:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= bonfacemunyoki.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=gsj6iuOqg29rpMbZBSYUkq9Ot7 K48+C3H0wjZDjvLhU=; b=tX03nM/thgWCXWLNKdHfQaHkWTRM4aiGGCBu70sc5z REfH+1F5wiiCZEoN+10KsvF+gwmuBWftjFtFbOC33nI69iJOQgKmsJ3xDkHOM7Ul hEtENEAA0UxbsOK+RzPT2z+Ggi6jei8LoyV2pEs+cp46+sBOE2ZwJsj9ncvvs3Sr G7jh7RpIvY8wsmQ3jvIkg1PT5tW7ZOS8hr11MrMRTP5QMEnV4Sa3/abcd8efihtm 2HECJvYBL8ovkRnmWM2gMtWs23phO/mM6nZReCg5eCuiL/zd4Vjs371ymYyY/05S vDtwKKhZvlDKYfaIpqBuzjKiw9to/C8xm7rt3+KTdxOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=gsj6iuOqg29rpMbZBSYUkq9Ot7K48+C3H0wjZDjvL hU=; b=YsZafCE1Dpi1g4mG7xaK3iNRvtgODcdvx+rJZVzKwCQGTOnChae/WLLCt O6lLeUfuRUJN2Vckhm2lBbZ/CwG7cSOuKDnXK5wyaTW/3jkX6E+vu0aAeSOaP/Y4 5CBi7U/cwy88EmOCULPaa2Afi+ITZwFGsejP2xcYlFi8nIj9sMXIaytucXRWmLfS MHceuvksJmi13H4kliadSW6ZNv5DW5jhE0TbHL+VGes2AmRWJbY/bFVJ3FFCqNt+ ePJi+5BKWn4d45qXkcq9CFzsx1HwWfTSjE6HOAWuJZoh7Y2e0vifo+hQAdgnOvIO +6IfqTG65s9Lk/PXLUax+4RhDA+2Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejtddghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtke ertdertdejnecuhfhrohhmpeeuohhnfhgrtggvmfhilhiiuceomhgvsegsohhnfhgrtggv mhhunhihohhkihdrtghomheqnecuggftrfgrthhtvghrnheptedtgffgkedugfeuheduie dvfedukeehtdefgfeufeevveekvdeujeeiueehffeknecuffhomhgrihhnpehgihhthhhu sgdrtghomhenucfkphepgedurdektddrkeelrdduiedunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvsegsohhnfhgrtggvmhhunhihohhk ihdrtghomh X-ME-Proxy: Received: from localhost.localdomain (unknown [41.80.89.161]) by mail.messagingengine.com (Postfix) with ESMTPA id 43D95240054; Sun, 4 Apr 2021 08:20:20 -0400 (EDT) From: BonfaceKilz Date: Sun, 4 Apr 2021 15:20:01 +0300 Message-Id: <20210404122005.33127-3-me@bonfacemunyoki.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210404122005.33127-1-me@bonfacemunyoki.com> References: <20210404122005.33127-1-me@bonfacemunyoki.com> 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/check.scm (python-pytest-helpers-namespace): New variable. Co-authored-by: jgart --- gnu/packages/check.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 7c95ea6950..13a57c5201 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Tanguy Le Carrour ;;; Copyright © 2020 Maxim Cournoyer +;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; ;;; This file is part of GNU Guix. ;;; @@ -2878,3 +2879,27 @@ system. The code under test requires no modification to work with pyfakefs.") (description "Aiounittest is a library that helps write tests using asynchronous code in Python (asyncio).") (license license:expat))) + +(define-public python-pytest-helpers-namespace + (package + (name "python-pytest-helpers-namespace") + (version "2021.3.24") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-helpers-namespace" version)) + (sha256 + (base32 + "0pyj2d45zagmzlajzqdnkw5yz8k49pkihbydsqkzm413qnkzb38q")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pytest" ,python-pytest) + ("python-setuptools-declarative-requirements" + ,python-setuptools-declarative-requirements))) + (home-page + "https://github.com/saltstack/pytest-helpers-namespace") + (synopsis "Pytest Helpers Namespace Plugin") + (description "Pytest Helpers Namespace Plugin provides a helpers pytest +namespace which can be used to register helper functions without requiring +someone to import them in their actual tests to use them.") + (license license:asl2.0)))