emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68148: closed ([PATCH] gnu: Add python-pytest-dotenv.)


From: GNU bug Tracking System
Subject: bug#68148: closed ([PATCH] gnu: Add python-pytest-dotenv.)
Date: Tue, 09 Jan 2024 08:57:01 +0000

Your message dated Tue, 09 Jan 2024 09:56:43 +0100
with message-id <871qaqevg4.fsf@gnu.org>
and subject line Re: [bug#68148] [PATCH] gnu: Add python-pytest-dotenv.
has caused the debbugs.gnu.org bug report #68148,
regarding [PATCH] gnu: Add python-pytest-dotenv.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68148: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68148
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-pytest-dotenv. Date: Sat, 30 Dec 2023 15:57:51 +0100
* gnu/packages/check.scm (python-pytest-dotenv): New variable.
---
 gnu/packages/check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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 <mirai@makinata.eu>
 ;;; Copyright © 2023 Reza Housseini <reza@housseini.me>
 ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
 ;;;
 ;;; 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")

base-commit: f24b14767d362a84e6469682b4fe303b50f4b589
-- 
2.40.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#68148] [PATCH] gnu: Add python-pytest-dotenv. Date: Tue, 09 Jan 2024 09:56:43 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
> * gnu/packages/check.scm (python-pytest-dotenv): New variable.

Applied, thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]