[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/15: gnu: python-pgpy: Run the tests.
From: |
guix-commits |
Subject: |
07/15: gnu: python-pgpy: Run the tests. |
Date: |
Wed, 14 Oct 2020 10:32:29 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit ed0e8c7cc92df8deec15edd097c03a82cdc2e58b
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Oct 14 14:56:40 2020 +0200
gnu: python-pgpy: Run the tests.
* gnu/packages/python-crypto.scm (python-pgpy)[arguments]: Replace the
default ‘check’ phase.
[native-inputs]: Add python-pytest.
---
gnu/packages/python-crypto.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index a86151b..81a5c21 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1545,9 +1545,17 @@ signatures.")
(sha256
(base32 "11rrq15gmn6qbahli7czflfcngjl7zyybjlvk732my6axnf2d754"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")))))))
(native-inputs
`(("python-cryptography" ,python-cryptography)
("python-pyasn1" ,python-pyasn1)
+ ("python-pytest" ,python-pytest)
("python-singledispatch" ,python-singledispatch)
("python-six" ,python-six)
("python-wheel" ,python-wheel)))
- branch master updated (3c1b0b9 -> 2bfe99b), guix-commits, 2020/10/14
- 08/15: gnu: vim: Update to 8.2.1844., guix-commits, 2020/10/14
- 03/15: gnu: python-aiohttp: Update to 3.6.3., guix-commits, 2020/10/14
- 06/15: gnu: python-pgpy: Update to 0.5.3., guix-commits, 2020/10/14
- 07/15: gnu: python-pgpy: Run the tests.,
guix-commits <=
- 02/15: gnu: python-passlib: Update to 1.7.4., guix-commits, 2020/10/14
- 04/15: gnu: libgphoto2: Update to 2.5.26., guix-commits, 2020/10/14
- 09/15: gnu: plantuml: Update to 1.2020.19., guix-commits, 2020/10/14
- 11/15: gnu: oil: Update to 0.8.2., guix-commits, 2020/10/14
- 13/15: gnu: jasper: Update to 2.0.22., guix-commits, 2020/10/14
- 10/15: gnu: osinfo-db: Update to 20201011., guix-commits, 2020/10/14
- 12/15: gnu: python-pastedeploy: Update to 2.1.1., guix-commits, 2020/10/14
- 14/15: gnu: cpuid: Update to 20201006., guix-commits, 2020/10/14
- 01/15: gnu: perl-crypt-rijndael: Update to 1.15., guix-commits, 2020/10/14
- 05/15: gnu: gphoto2: Update to 2.5.26., guix-commits, 2020/10/14