[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: pythonbitstring: Run tests.
From: |
guix-commits |
Subject: |
10/10: gnu: pythonbitstring: Run tests. |
Date: |
Mon, 28 Dec 2020 06:22:44 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 3742c7f6dc0e9e7e2bf9375f063f1439361a7137
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Dec 28 12:19:14 2020 +0200
gnu: pythonbitstring: Run tests.
* gnu/packages/python-xyx.scm (python-bitstring)[arguments]: Replace
check phase.
[native-inputs]: Add python-pytesst.
---
gnu/packages/python-xyz.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4918f4f..43d767b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23324,6 +23324,18 @@ Qt applications.")
(base32
"0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (with-directory-excursion "test"
+ (invoke "pytest")))
+ #t)))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
(home-page "https://github.com/scott-griffiths/bitstring")
(synopsis
"Simple construction, analysis and modification of binary data")
- 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 <=
- 09/10: gnu: python-helpdev: Enable tests., guix-commits, 2020/12/28