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 wMaFG2gMFl+BfgAA0tVLHw (envelope-from ) for ; Mon, 20 Jul 2020 21:28:08 +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 KHx2F2gMFl8HQAAAB5/wlQ (envelope-from ) for ; Mon, 20 Jul 2020 21:28:08 +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 030B59403C9 for ; Mon, 20 Jul 2020 21:28:08 +0000 (UTC) Received: from localhost ([::1]:47512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxdKQ-0002s6-Vz for larch@yhetil.org; Mon, 20 Jul 2020 17:28:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxdKM-0002pf-Og for guix-patches@gnu.org; Mon, 20 Jul 2020 17:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxdKM-0003Zk-GR for guix-patches@gnu.org; Mon, 20 Jul 2020 17:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxdKM-0004uI-Dy for guix-patches@gnu.org; Mon, 20 Jul 2020 17:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42086] [PATCH 5/6] gnu: Add python-pytest-env. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Jul 2020 21:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42086 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vinicius Monego , 42086@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 42086-submit@debbugs.gnu.org id=B42086.159528048118854 (code B ref 42086); Mon, 20 Jul 2020 21:28:02 +0000 Received: (at 42086) by debbugs.gnu.org; 20 Jul 2020 21:28:01 +0000 Received: from localhost ([127.0.0.1]:36542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxdKL-0004u2-5r for submit@debbugs.gnu.org; Mon, 20 Jul 2020 17:28:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxdKK-0004tq-EK for 42086@debbugs.gnu.org; Mon, 20 Jul 2020 17:28:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41862) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxdKF-0003ZC-6q; Mon, 20 Jul 2020 17:27:55 -0400 Received: from 84-52-226.102.3p.ntebredband.no ([84.52.226.102]:58072 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jxdKC-0003kx-IO; Mon, 20 Jul 2020 17:27:53 -0400 From: Marius Bakke In-Reply-To: <20200627154645.64264-5-monego@posteo.net> References: <20200627154645.64264-1-monego@posteo.net> <20200627154645.64264-5-monego@posteo.net> Date: Mon, 20 Jul 2020 23:27:43 +0200 Message-ID: <87r1t5ho6o.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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=none; 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: -3.11 X-TUID: W3of/u707PXC --=-=-= Content-Type: text/plain Vinicius Monego writes: > * gnu/packages/check.scm (python-pytest-env): New variable. python-check.scm is better here too, even though pytest lives elsewhere. [...] > +(define-public python-pytest-env > + (package > + (name "python-pytest-env") > + (version "0.6.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "pytest-env" version)) > + (sha256 > + (base32 "1hl0ln0cicdid4qjk7mv90lw9xkb0v71dlj7q7rn89vzxxm9b53y")))) > + (build-system python-build-system) > + (propagated-inputs > + `(("python-pytest" ,python-pytest))) As mentioned in another patch, it's good not to propagate the package that this one "plugs in to", in order to allow using it with other versions. > + (home-page "https://github.com/MobileDynasty/pytest-env") > + (synopsis "Pytest plugin that allows you to add environment variables") > + (description > + "This is a py.test plugin that enables you to set environment variables > +in the pytest.ini file.") @command{py.test} and @file{pytest.ini}. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl8WDE8ACgkQoqBt8qM6 VPpg4AgAvPYLo833gbsLFa7ruwXXlsoU3JJzggDeABGeIAscuojycAWbbUmvbDEn JKtUhofaRMqcowwVapRmtXaiNRoRtjd+dMr2++97RwLXVVKqvEhvgBnK4ov/DQPV bCf3fdTuiWo1Cb0a+gXvQyyuE7XV2FnmaX5aS+0YBiNXBtWhf5p0FffRzj6nRGZM CPUE7c5zffKIYU1uIHBRP9JsfJAm+1eNdMcIVq+rmH/PSRfI6b2ClPoZKtpRjTQR GN1BJmdzO+pQmLvW60hNvT+lQNGcj31SwYAu/oQ6HaUnerN6FP9XxdJMiWKZwc9f NLrEZCpoNoEUFcG04qiF9Jh1RsppEA== =uxCa -----END PGP SIGNATURE----- --=-=-=--