[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/166: gnu: Add python-pytest-enabler.
From: |
guix-commits |
Subject: |
55/166: gnu: Add python-pytest-enabler. |
Date: |
Tue, 19 Apr 2022 09:17:56 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 606037178a66a63cfa4b1021094853ba1f3c71da
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 00:28:29 2022 -0400
gnu: Add python-pytest-enabler.
* gnu/packages/check.scm (python-pytest-enabler): New variable.
---
gnu/packages/check.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 135fd671a2..8ed53f7e27 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2225,6 +2225,36 @@ failures.")
(description "Enable installed pytest plugins")
(license license:expat))))
+(define-public python-pytest-enabler
+ (package/inherit python-pytest-enabler-bootstrap
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments python-pytest-enabler-bootstrap)
+ ((#:tests? _ #f)
+ #t)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-vv" "tests"))))))))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-pytest-enabler-bootstrap)
+ (replace "python-jaraco-context-bootstrap" python-jaraco-context)
+ (replace "python-jaraco-functools-bootstrap" python-jaraco-functools)))
+ (native-inputs
+ (modify-inputs (package-native-inputs python-pytest-enabler-bootstrap)
+ (append python-pytest
+ python-pytest-black
+ python-pytest-checkdocs
+ python-pytest-cov
+ python-pytest-flake8
+ python-pytest-mypy
+ python-types-toml)))
+ (properties (alist-delete 'hidden?
+ (package-properties
+ python-pytest-enabler-bootstrap)))))
+
(define-public python-pytest-freezegun
(package
(name "python-pytest-freezegun")
- 34/166: gnu: Add python-ufoprocessor., (continued)
- 34/166: gnu: Add python-ufoprocessor., guix-commits, 2022/04/19
- 51/166: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/19
- 70/166: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/19
- 43/166: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/19
- 67/166: gnu: Add python-ubelt., guix-commits, 2022/04/19
- 68/166: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/19
- 76/166: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/19
- 82/166: gnu: Add python-ufolib2., guix-commits, 2022/04/19
- 84/166: gnu: Add python-ufo2ft., guix-commits, 2022/04/19
- 48/166: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/19
- 55/166: gnu: Add python-pytest-enabler.,
guix-commits <=
- 57/166: gnu: Add python-pip-run., guix-commits, 2022/04/19
- 59/166: gnu: Add python-pytest-perf., guix-commits, 2022/04/19
- 61/166: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/19
- 62/166: gnu: Add python-pytest-randomly., guix-commits, 2022/04/19
- 64/166: gnu: Add psautohint., guix-commits, 2022/04/19
- 65/166: gnu: Add python-ordered-set., guix-commits, 2022/04/19
- 71/166: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/19
- 72/166: gnu: Add python-scikit-build., guix-commits, 2022/04/19
- 77/166: gnu: Add python-fonttools-next., guix-commits, 2022/04/19
- 78/166: gnu: Add python-afdko., guix-commits, 2022/04/19