[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add python-pytest-repeat.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add python-pytest-repeat. |
Date: |
Thu, 30 Sep 2021 10:33:20 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new e2c58b9 gnu: Add python-pytest-repeat.
e2c58b9 is described below
commit e2c58b91500b4df0979a6e823fc66b0ed1da2d84
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Sep 30 10:27:55 2021 -0400
gnu: Add python-pytest-repeat.
* gnu/packages/python-check.scm (python-pytest-repeat): New variable.
---
gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index de0a989..d5ebb91 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -553,6 +553,35 @@ developers to control unit tests that require access to
data from the
internet.")
(license license:bsd-3)))
+(define-public python-pytest-repeat
+ (package
+ (name "python-pytest-repeat")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-repeat" version))
+ (sha256
+ (base32 "0nxdbghjz6v4xidl5ky9wlx6z4has3vygj5r7va5ccdb8nbjilsw"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")))))))
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)))
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)))
+ (home-page "https://github.com/pytest-dev/pytest-repeat")
+ (synopsis "Pytest plugin for repeating tests")
+ (description "@code{pytest-repeat} is a plugin for Pytest that makes it
+enables repeating a single test, or multiple tests, a specific number of
+times.")
+ (license license:mpl2.0)))
+
(define-public python-pytest-mpl
(package
(name "python-pytest-mpl")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add python-pytest-repeat.,
guix-commits <=