From patchwork Sat Dec 30 14:57:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 58213 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 58CBF27BBEA; Sat, 30 Dec 2023 15:01:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9E96027BBE9 for ; Sat, 30 Dec 2023 15:01:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJapl-0000ky-B4; Sat, 30 Dec 2023 10:01:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJapj-0000k3-Jk for guix-patches@gnu.org; Sat, 30 Dec 2023 10:01:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJapj-0007Du-Bm for guix-patches@gnu.org; Sat, 30 Dec 2023 10:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJapi-000085-Gz for guix-patches@gnu.org; Sat, 30 Dec 2023 10:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68148] [PATCH] gnu: Add python-pytest-dotenv. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Dec 2023 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68148 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68148@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170394843329778 (code B ref -1); Sat, 30 Dec 2023 15:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2023 15:00:33 +0000 Received: from localhost ([127.0.0.1]:44880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJapE-0007ji-SU for submit@debbugs.gnu.org; Sat, 30 Dec 2023 10:00:33 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJapB-0007N4-E1 for submit@debbugs.gnu.org; Sat, 30 Dec 2023 10:00:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJap5-0000ea-4w for guix-patches@gnu.org; Sat, 30 Dec 2023 10:00:23 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rJap2-0006PF-MR for guix-patches@gnu.org; Sat, 30 Dec 2023 10:00:22 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4T2QQm04dDz9sbf for ; Sat, 30 Dec 2023 16:00:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1703948416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NX/et9nPwvkCrudf+AKK/h4rbfAsdN3wO8u1k3X47Dg=; b=0AuCmb9a6OLjdMID3WqO+8aV8AvS0SMKaHO+/5AdejwHXWRIUUFreHOCr1ekinC1L+ob+i jxI5dXGhzRxLpxsVO9Cc505UzlqpRjjWN91V/LplUPmde2BGRtGl7qxze+bxvk+IUnmPFz JshP+7lqCO2Y1sNXBj+N9780ADa3Jl9wbHpGHSxKtk4Mb0HUIP+Lg+IcbLGp8GMcoZi5s5 Ve83xyNB1Oj34a8SYD62fvDaVGky+KAbVhl8MIka/gwTFbllBXV4xmw8qIKq5UGvbfbR5x fY1bmVigSuKPkr8jV9bdvxTf9/IddrPy5t46ZdDXu0QZbUW6+t2EhCfEzMZP3A== From: Troy Figiel Date: Sat, 30 Dec 2023 15:57:51 +0100 Message-ID: <87ttnzu45c.fsf@troyfigiel.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=troy@troyfigiel.com; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/check.scm (python-pytest-dotenv): New variable. --- gnu/packages/check.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) base-commit: f24b14767d362a84e6469682b4fe303b50f4b589 diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 5181d3a164..5b72e5b3a4 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -47,6 +47,7 @@ ;;; Copyright © 2023 Bruno Victal ;;; Copyright © 2023 Reza Housseini ;;; Copyright © 2023 Hilton Chain +;;; Copyright © 2023 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -1416,6 +1417,30 @@ (define-public python-pytest-cov supports coverage of subprocesses.") (license license:expat))) +(define-public python-pytest-dotenv + (package + (name "python-pytest-dotenv") + (version "0.5.2") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/quiqua/pytest-dotenv") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bdxwaak5clhsd63b9q65nf2amqqv5hfn7dskfakyldxsqnnh0y6")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-dotenv)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/quiqua/pytest-dotenv") + (synopsis "Automatically detect and load a .env file before running tests") + (description + "This Pytest plugin automatically detects and loads environment variables +from a .env file before running tests.") + (license license:expat))) + (define-public python-pytest-httpserver (package (name "python-pytest-httpserver")