[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: python-helpdev: Enable tests.
From: |
guix-commits |
Subject: |
09/10: gnu: python-helpdev: Enable tests. |
Date: |
Mon, 28 Dec 2020 06:22:43 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 9779d089827ed4ba76037187cfd956f8f313b3f5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Dec 28 12:07:01 2020 +0200
gnu: python-helpdev: Enable tests.
* gnu/packages/python-xyz.scm (python-helpdev)[arguments]: Replace check
phase.
[native-inputs]: Add python-pytest.
---
gnu/packages/python-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 069fe91..4918f4f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23264,8 +23264,19 @@ query Watchman to discover file changes.")
(base32
"0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "tests"))
+ #t)))))
(propagated-inputs
`(("python-importlib-metadata" ,python-importlib-metadata)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
(home-page "https://gitlab.com/dpizetta/helpdev")
(synopsis
"Extract information about the Python environment easily")
- branch master updated (98471d5 -> 3742c7f), guix-commits, 2020/12/28
- 01/10: gnu: Add python-qtpy., guix-commits, 2020/12/28
- 03/10: gnu: Add python-qdarkstyle., guix-commits, 2020/12/28
- 04/10: gnu: Add python-bitstring., guix-commits, 2020/12/28
- 05/10: gnu: Add python-socks., guix-commits, 2020/12/28
- 02/10: gnu: Add python-helpdev., guix-commits, 2020/12/28
- 06/10: gnu: python-aiohttp-socks: Update to 0.5.5., guix-commits, 2020/12/28
- 07/10: gnu: libsecp256k1: Update to 20200615-1-dbd41db., guix-commits, 2020/12/28
- 08/10: gnu: electrum: Update to 4.0.9., guix-commits, 2020/12/28
- 10/10: gnu: pythonbitstring: Run tests., guix-commits, 2020/12/28
- 09/10: gnu: python-helpdev: Enable tests.,
guix-commits <=