[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/46: gnu: python-jinja2: Run the tests.
From: |
guix-commits |
Subject: |
38/46: gnu: python-jinja2: Run the tests. |
Date: |
Fri, 14 Feb 2020 12:41:06 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit dce9b8b52c0726805e4e8f223e7cc9839d7bf7cf
Author: Marius Bakke <address@hidden>
AuthorDate: Wed Feb 12 20:13:40 2020 +0100
gnu: python-jinja2: Run the tests.
* gnu/packages/python-xyz.scm (python-jinja2)[native-inputs]: Add
PYTHON-PYTEST.
[arguments]: New field.
---
gnu/packages/python-xyz.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0457fa9..63d6f4b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2459,6 +2459,20 @@ for Python.")
(base32
"0l72c11n959yzb8d3ankckb6yhjhm6x729zm7rkpk040qzxpy64k"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ (setenv "PYTHONPATH"
+ (string-append "./build/lib:"
+ (getenv "PYTHONPATH")))
+ (invoke "pytest" "-vv"))
+ (format #t "test suite not run~%"))
+ #t)))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
(propagated-inputs
`(("python-markupsafe" ,python-markupsafe)))
(home-page "http://jinja.pocoo.org/")
- 41/46: gnu: nspr: Update to 4.25., (continued)
- 41/46: gnu: nspr: Update to 4.25., guix-commits, 2020/02/14
- 42/46: gnu: nss, nss-certs: Update to 3.50., guix-commits, 2020/02/14
- 20/46: gnu: perl-test-nowarnings: Remove obsolete input., guix-commits, 2020/02/14
- 44/46: gnu: postgresql@10: Update to 10.12., guix-commits, 2020/02/14
- 22/46: gnu: perl-test-trap: Remove obsolete input., guix-commits, 2020/02/14
- 27/46: gnu: cups-filters: Update to 1.27.0., guix-commits, 2020/02/14
- 28/46: gnu: python-mako: Update to 1.1.1., guix-commits, 2020/02/14
- 33/46: gnu: python-babel: Update to 2.8.0., guix-commits, 2020/02/14
- 35/46: gnu: python-docutils: Update to 0.16., guix-commits, 2020/02/14
- 36/46: gnu: python-docutils: Run the tests., guix-commits, 2020/02/14
- 38/46: gnu: python-jinja2: Run the tests.,
guix-commits <=
- 37/46: gnu: python-jinja2: Update to 2.11.1., guix-commits, 2020/02/14
- 39/46: gnu: python-imagesize: Update to 1.2.0., guix-commits, 2020/02/14
- 40/46: gnu: Remove gdb@8.3., guix-commits, 2020/02/14
- 43/46: gnu: nss: Delete bundled SQLite and Zlib., guix-commits, 2020/02/14
- 45/46: gnu: xkeyboard-config: Update to 2.29., guix-commits, 2020/02/14
- 46/46: gnu: mesa: Update to 19.3.4., guix-commits, 2020/02/14