From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EF64BgRXd2BYVgAAgWs5BA (envelope-from ) for ; Wed, 14 Apr 2021 22:56:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EC5nAARXd2CMfQAAB5/wlQ (envelope-from ) for ; Wed, 14 Apr 2021 20:56:36 +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 41C5711AC7 for ; Wed, 14 Apr 2021 22:56:34 +0200 (CEST) Received: from localhost ([::1]:60512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWmYr-0008TV-Av for larch@yhetil.org; Wed, 14 Apr 2021 16:56:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWmYN-0008AK-OY for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWmYN-00023r-HO for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWmYN-0000d0-Go for guix-patches@gnu.org; Wed, 14 Apr 2021 16:56:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47593] [PATCH v2 3/6] gnu: Add python-pytest-helpers-namespace. Resent-From: BonfaceKilz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Apr 2021 20:56: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, efraim@flashner.co.il Received: via spool by 47593-submit@debbugs.gnu.org id=B47593.16184337502307 (code B ref 47593); Wed, 14 Apr 2021 20:56:03 +0000 Received: (at 47593) by debbugs.gnu.org; 14 Apr 2021 20:55:50 +0000 Received: from localhost ([127.0.0.1]:35878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWmY7-0000ax-0q for submit@debbugs.gnu.org; Wed, 14 Apr 2021 16:55:50 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWmY3-0000a6-Eu for 47593@debbugs.gnu.org; Wed, 14 Apr 2021 16:55:45 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 9EAC715EF; Wed, 14 Apr 2021 16:55:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 14 Apr 2021 16:55:37 -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=evO4ZoeIa+G9Qr2WKQnEXr/5Wy l4yGQwjBPOKvl29o4=; b=LsH5NuC/x/SLp6sLuKjCDh/WnEw00B6xKFcVxFQ3w5 70IruA39AR0vrXei4rZepeEVh48hPX/fynrCBCRPXG90JRYTxstZo5oIcqzLLr34 3D1xBpwJOFSdELcSPbCcghv3rkr8lJRUd6P2EPPuZPxjgpst2nleYOrbh8LEkyde DDH3tI/K2kk0CKfpO70B4148dg/92Moz/H4pEpCZRKIXmnjDIf+6EcTIzqFHlmsr UUlt9rd+FS1NbwqdkEiO3Drce+jjtNEJcdc1VY3xD/MXvZibmvXVTUufeZqyoVuA xyUKj6syhBIvgEJCzUH0gMQU9UJo1QTOxYLLJiwYGAuQ== 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=evO4ZoeIa+G9Qr2WKQnEXr/5Wyl4yGQwjBPOKvl29 o4=; b=Lwphdu4xr67ff3EaxmNGk3BAoDH5liLXSuF01nHbgALY2EwchsY87b4UJ qYQHJ2VjiygtMS37ctwsB94s8Bxahdj4ZLgtAj3qyjxLuH3vROwSnSGYD/mJHhsm DC5PwkYWqkcTWy/JBnLEuzEbUurXxg4ndNNeETbXotZEEaEhL2ZbCj1KtzVFFH9q VfSNI5BT9QHjL6bGxRf3FtHl4nnEbIMuI/vn9TRl5cbj6I/TFKlYnpFcaSV7vMaV 9eRdwl7VXZ7r1JW+5nEPyYREyCQEMlLC/p93/VDwypQAWWRGzLmtl5pvIVU1ZrPj Sbg0WNK6nIZFcNC7RGFfquiGF13WQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeluddgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesth ekredtredtjeenucfhrhhomhepuehonhhfrggtvgfmihhliicuoehmvgessghonhhfrggt vghmuhhnhihokhhirdgtohhmqeenucggtffrrghtthgvrhhnpeettdfggfekudfgueehud eivdefudekhedtfefgueefveevkedvueejieeuheffkeenucffohhmrghinhepghhithhh uhgsrdgtohhmnecukfhppeeguddrkedurddvrddufeehnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvsegsohhnfhgrtggvmhhunhihohhk ihdrtghomh X-ME-Proxy: Received: from localhost.localdomain (unknown [41.81.2.135]) by mail.messagingengine.com (Postfix) with ESMTPA id 638BD108005F; Wed, 14 Apr 2021 16:55:35 -0400 (EDT) From: BonfaceKilz Date: Wed, 14 Apr 2021 23:54:59 +0300 Message-Id: <20210414205502.28792-4-me@bonfacemunyoki.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210414205502.28792-1-me@bonfacemunyoki.com> References: <20210414205502.28792-1-me@bonfacemunyoki.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618433794; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=evO4ZoeIa+G9Qr2WKQnEXr/5Wyl4yGQwjBPOKvl29o4=; b=nWHrzbQb86kuDPOnS4oEG11R2IJ36EtIhboW6y2h/6bVBumHkQx+M+jPBqzPuAjf0J9Fk0 SQnEeeJT1rSRx4+Q/Olk1meWg0DmKVtr9cS2L6mJ6bUna59zkyVDFMd5abGxFn9TZUaHTu 8he5221PTxspx7Pt3CmYGU23XBW/IrTBWBHPzBeC02/Sh57g0A4SzzAavpjS3vnmg7yXrl Ra162fIBS8UMjUJff6X7BYGHg2nXQPa6f8GBZhXiDuhE/BXcbK4tQFJVp3+tHWzqzdZAJ7 i7EvCxInAlktZ9npYHOfXs5sYhlS1dWFAIBNoc6eTenV86MPQCTJgd5WCKko0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618433794; a=rsa-sha256; cv=none; b=EoAij6Na1XoXozISFryPHzWUObWyhVq58ADSo9YEGIo1LtwfPnjIyyUFt/Od1apnSizeSS tm41YFAPTJfr74P5hf4ZcKqFXG/EtFS2YQKdYzGV2gTsqRAPvljJjowAhHM+lDbGK76szw eEnuDw2XlAbZMi0fNrsYW1xdafejOFS70NLRv+cnrSH7hJjRbYC8JJzKzDdUPWfylQmxMR pJPwyc3vOSMD6orcfi5OGeQ9cLlq4VENHMoNLvRCPp2gXjIgQ1tGwj+Ggc9B0N0zAS5iMv 5VzKmlW1iH1a7xqNYCEYim+32ie9fyr3BbKjtS9+yu6zXPeHfR1Js3FcEvn/dA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm1 header.b="LsH5NuC/"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=Lwphdu4x; 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-Migadu-Spam-Score: -0.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm1 header.b="LsH5NuC/"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=Lwphdu4x; 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-Migadu-Queue-Id: 41C5711AC7 X-Spam-Score: -0.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: SpTeIGciCQHx * gnu/packages/python-check.scm (python-pytest-helpers-namespace): New variable. Co-authored-by: jgart --- gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index bde836a931..92887ef625 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Sharlatan Hellseher ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021 Guillaume Le Vaillant +;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; ;;; This file is part of GNU Guix. ;;; @@ -374,6 +375,40 @@ provides a shortcut to testing all code and documentation for a given sub-package.") (license license:bsd-3))) +(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) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-pytest" ,python-pytest-6) + ("python-setuptools" ,python-setuptools) + ("python-setuptools-scm" ,python-setuptools-scm) + ("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))) + (define-public python-pytest-openfiles (package (name "python-pytest-openfiles") -- 2.31.1