[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/15: gnu: Add python-pytest-dotenv.
From: |
guix-commits |
Subject: |
04/15: gnu: Add python-pytest-dotenv. |
Date: |
Tue, 9 Jan 2024 04:30:04 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository guix.
commit 687a1fdaaeebf845593c36823abf58212333bfb3
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sat Dec 30 15:57:51 2023 +0100
gnu: Add python-pytest-dotenv.
* 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 80e0b94d01..93582a4b5f 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 @@ distributed testing in both @code{load} and @code{each}
modes. It also
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")
- branch master updated (b26926189e -> a1a645337a), guix-commits, 2024/01/09
- 01/15: gnu: glew: Fix cross-compiling., guix-commits, 2024/01/09
- 05/15: gnu: Add python-zc-lockfile., guix-commits, 2024/01/09
- 08/15: gnu: Add python-portend., guix-commits, 2024/01/09
- 09/15: gnu: python-h5py: Enable tests., guix-commits, 2024/01/09
- 03/15: gnu: Add python-python-snappy., guix-commits, 2024/01/09
- 04/15: gnu: Add python-pytest-dotenv.,
guix-commits <=
- 06/15: gnu: Add python-jaraco-text., guix-commits, 2024/01/09
- 10/15: gnu: python-h5py: Reformat with guix style., guix-commits, 2024/01/09
- 14/15: gnu: Add python-persim., guix-commits, 2024/01/09
- 02/15: gnu: Add python-hdf5storage., guix-commits, 2024/01/09
- 07/15: gnu: Add python-jaraco-collections., guix-commits, 2024/01/09
- 11/15: gnu: Add python-pyreadstat., guix-commits, 2024/01/09
- 13/15: gnu: Add python-hopcroftkarp., guix-commits, 2024/01/09
- 15/15: gnu: Add python-ripser., guix-commits, 2024/01/09
- 12/15: gnu: Add python-multimethod., guix-commits, 2024/01/09