[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/51: gnu: python-mako: Do not use pytest nose compatibility layer.
From: |
guix-commits |
Subject: |
27/51: gnu: python-mako: Do not use pytest nose compatibility layer. |
Date: |
Fri, 24 Jan 2020 14:48:18 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 0e648e616094b20ffc3b296a27fb01e3085acf38
Author: Marius Bakke <address@hidden>
AuthorDate: Thu Jan 16 08:31:39 2020 +0100
gnu: python-mako: Do not use pytest nose compatibility layer.
* gnu/packages/python-xyz.scm (python-mako)[native-inputs]: Replace
PYTHON-PYTEST with PYTHON-NOSE.
[arguments]: Adjust check phase accordingly. While at it, allow overriding
the #:tests? key.
---
gnu/packages/python-xyz.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 12faca7..1de855f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8990,13 +8990,16 @@ python-xdo for newer bindings.)")
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "pytest" "-vv"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (invoke "nosetests" "-v")
+ (format #t "test suite not run~%"))
+ #t)))))
(propagated-inputs
`(("python-markupsafe" ,python-markupsafe)))
(native-inputs
`(("python-mock" ,python-mock)
- ("python-pytest" ,python-pytest)))
+ ("python-nose" ,python-nose)))
(home-page "https://www.makotemplates.org/")
(synopsis "Templating language for Python")
(description "Mako is a templating language for Python that compiles
- 21/51: gnu: python-pluggy: Update to 0.13.1., (continued)
- 21/51: gnu: python-pluggy: Update to 0.13.1., guix-commits, 2020/01/24
- 22/51: gnu: python-pytest: Update to 5.3.2., guix-commits, 2020/01/24
- 32/51: gnu: python-dateutil: Update to 2.8.1., guix-commits, 2020/01/24
- 34/51: gnu: network-manager: Fix build with Python 3.8., guix-commits, 2020/01/24
- 35/51: gnu: python-freezegun: Update to 0.3.13., guix-commits, 2020/01/24
- 41/51: gnu: python-freezegun: Update to 0.3.14., guix-commits, 2020/01/24
- 37/51: gnu: python-six: Update to 1.14.0., guix-commits, 2020/01/24
- 38/51: gnu: python-hypothesis: Update to 5.3.0., guix-commits, 2020/01/24
- 36/51: gnu: python-cffi: Update to 1.13.2., guix-commits, 2020/01/24
- 40/51: gnu: python-pycairo: Update to 1.19.0., guix-commits, 2020/01/24
- 27/51: gnu: python-mako: Do not use pytest nose compatibility layer.,
guix-commits <=
- 30/51: gnu: python-pygobject: Update to 3.34.0., guix-commits, 2020/01/24
- 42/51: gnu: python-pytest-runner: Update to 5.2., guix-commits, 2020/01/24
- 48/51: gnu: meson: Update to 0.53.1., guix-commits, 2020/01/24
- 08/51: gnu: python-py: Update to 1.8.1., guix-commits, 2020/01/24
- 26/51: gnu: python2-pytest: Update to 4.6.9., guix-commits, 2020/01/24
- 33/51: gnu: libimobiledevice: Fix build with Python 3.8., guix-commits, 2020/01/24
- 45/51: gnu: util-linux: Update to 2.35., guix-commits, 2020/01/24
- 23/51: gnu: python2-flake8: Add missing input., guix-commits, 2020/01/24
- 25/51: gnu: python2-pluggy: Update to 0.13.1., guix-commits, 2020/01/24
- 24/51: gnu: python2-importlib-resources: Drop 'wheel' dependency., guix-commits, 2020/01/24