diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-02-24 20:51:39 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-02-24 20:51:39 +0100 |
commit | 041b5932dad0944079118ec97dd0d2317ba1f802 (patch) | |
tree | 550b6c01b3a6e934161bc4de09e14a6d2ccbdbb5 | |
parent | 11a8767b9482f8ff6e89b3ab782b28400e2126d5 (diff) | |
download | gnu-guix-041b5932dad0944079118ec97dd0d2317ba1f802.tar gnu-guix-041b5932dad0944079118ec97dd0d2317ba1f802.tar.gz |
gnu: python2-bandit: Disable tests.
* gnu/packages/openstack.scm (python2-bandit)[arguments]: New field.
(python-bandit)[properties]: Delay it.
-rw-r--r-- | gnu/packages/openstack.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index f6a399aa2f..632534fb3c 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -65,10 +65,16 @@ To do this Bandit processes each file, builds an AST from it, and runs appropriate plugins against the AST nodes. Once Bandit has finished scanning all the files it generates a report.") + (properties `((python2-variant . ,(delay python2-bandit)))) (license asl2.0))) (define-public python2-bandit - (package-with-python2 python-bandit)) + (package (inherit (package-with-python2 + (strip-python2-variant python-bandit))) + (arguments + `(#:python ,python-2 + ;; FIXME: 'subunit.run discover: error: no such option: --list' + #:tests? #f)))) (define-public python-debtcollector (package |