From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qOqdJPECvmDaCQEAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 13:28:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gAzvH/ECvmCWfQAAB5/wlQ (envelope-from ) for ; Mon, 07 Jun 2021 11:28:49 +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 533BD1F4D3 for ; Mon, 7 Jun 2021 13:28:49 +0200 (CEST) Received: from localhost ([::1]:37570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDR2-0007Zj-9t for larch@yhetil.org; Mon, 07 Jun 2021 07:28:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKU-0000qf-Ik for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKU-0006TX-AL for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKU-0002Ju-6T for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 1/7] gnu: Add python-pytest-datadir. References: <20210605014517.18212-1-monego@posteo.net> In-Reply-To: <20210605014517.18212-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48842@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48842-submit@debbugs.gnu.org id=B48842.16230648948834 (code B ref 48842); Mon, 07 Jun 2021 11:22:02 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:34 +0000 Received: from localhost ([127.0.0.1]:54557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJx-0002Hy-SA for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJu-0002HO-Aa for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E2E03240029 for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064879; bh=bpg8io0MNyXqlXbOJGqoHQZcRvnh/I63dQBjXZlstF4=; h=From:To:Cc:Subject:Date:From; b=mvCnlvjyGr/uzsyNIzOp6GhIC9JhDY0hB2/8Sh0DzzDQRQPzD8uUCHaPGBkHMtdKM p2CeJIPCAGuUZJkGcrT6jJu0vTS+SyJhIev9tilzlKpMBMu1N/Lb9/wF+Ctf9NGna3 WPTEfD+AYFX8pX5Z5xsK+rgvM1rVv7KdoXMcT/jbOVhj1SgounGUS4wTGDw8h1miMF naXFJZjPG66uVD3t5CcCdWAzKMyBqmQPGzbsR/BuxPkDxVqyLw/XYBix0ohCQ2b+u2 O3PWCOsKGWcC/lPWGOPjAS23uACfWgBkBidiFXJbqeAK59DNjKyWqAUVC/VjNOruhJ IxafhUgjqQIEA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9t62DrXz9rxB; Mon, 7 Jun 2021 13:21:17 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:45 +0000 Message-Id: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 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=1623065329; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=/N3mglZohWDp6UXYZMrlrQFlqRe98KFiTmMjTnCs1C0=; b=ben/kU/JStgEXZ8kv7OQPKuudO7FjQbS3iQSq5TljJUXJxUnEheduu0kCE9BqgFYvs2LvV 35kZSXQYTBvxFxsCJbIDbUtDnDOd9VCnu2yKk/e9yqBmlJRZ+BTUXQ8oakcK1T7flVKCSn KP3EhLWQnPE1CdlM1yhOUKDd8lmbIWqKwQwPrie5TARQRta75uTyU5yOp9mr8BhpxXVEfN eZpV1gZXlqhEwhCiHz76AAXhApV/JTipHeNa5dwiJv9ch4gzv6qvCYm3SlhDixHp34A7A5 Y5wCskwdIVM5bxtB/9cg/5elIJLhOmFhQ45Y4D7nnI9hqIB7VSFLWkCJaW4Wlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623065329; a=rsa-sha256; cv=none; b=pr2CqdAXlCgC4mlo1EAsdVyQC1eVH23O8Bd1WY7SV2ZAtOVa8uhCHw1AEKSj2Z3A4w/pNt 7enWxAdS5f5Fxv7NJVEzXwifmlIWEHi9WIV1YLB61iEein5CAuvKcQwbgOb5VziZQY4ewm or+oiX0CpYCPvZSbcf/B+zpmJhMiQopImh3YYZpML1zpotlvNqXk6E0E89Hu3lVUIz+kiO Bk0H9EC33JsPX8szvFyGVmER44UoG5UOVKCTRgQ1tRy2KpukRJh8lVVi+lrntaLpvLn4d8 YqSlZ6EzzGY2fbn3m3Ao3kvjAGUXLvT3qUtEJ1vPiUG+HcWAJcBqU2Dz7aKzaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mvCnlvjy; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 5.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mvCnlvjy; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 533BD1F4D3 X-Spam-Score: 5.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: Bs6LOpYAAGqS * gnu/packages/python-check.scm (python-pytest-datadir): New variable. --- Changed synopsis and description. gnu/packages/python-check.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1206dda5c4..3bdd11d4f5 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -882,6 +882,36 @@ framework.") for the @code{pytest} framework.") (license license:expat))) +(define-public python-pytest-datadir + (package + (name "python-pytest-datadir") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-datadir" version)) + (sha256 + (base32 "066bg6wlzgq2pqnjp73dfrcmk8951xw3aqcxa3p1axgqimrixbyk")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (propagated-inputs + `(("python-pathlib2" ,python-pathlib2))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-setuptools-scm" ,python-setuptools-scm))) + (home-page "https://github.com/gabrielcnr/pytest-datadir") + (synopsis "Pytest plugin to manipulate test data directories and files") + (description "This package provides a Pytest plugin for manipulating test +data directories and files.") + (license license:expat))) + (define-public python-pytest-benchmark (package (name "python-pytest-benchmark") -- 2.31.1