aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-02-24 20:51:39 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-02-24 20:51:39 +0100
commit041b5932dad0944079118ec97dd0d2317ba1f802 (patch)
tree550b6c01b3a6e934161bc4de09e14a6d2ccbdbb5 /gnu/packages/openstack.scm
parent11a8767b9482f8ff6e89b3ab782b28400e2126d5 (diff)
downloadguix-041b5932dad0944079118ec97dd0d2317ba1f802.tar
guix-041b5932dad0944079118ec97dd0d2317ba1f802.tar.gz
gnu: python2-bandit: Disable tests.
* gnu/packages/openstack.scm (python2-bandit)[arguments]: New field. (python-bandit)[properties]: Delay it.
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r--gnu/packages/openstack.scm8
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