[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/37: gnu: python-bandit: Update to 1.4.0.
From: |
Marius Bakke |
Subject: |
21/37: gnu: python-bandit: Update to 1.4.0. |
Date: |
Wed, 28 Feb 2018 10:33:53 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 231bd07e8d4b0a7cb68e2db4ed6893add759d9c6
Author: Marius Bakke <address@hidden>
Date: Wed Feb 28 03:11:43 2018 +0100
gnu: python-bandit: Update to 1.4.0.
* gnu/packages/openstack.scm (python-bandit): Update to 1.4.0.
[source](uri): Use PYPI-URI.
[arguments]: Run CHECK-PHASE after INSTALL-PHASE.
[propagated-inputs]: Remove PYTHON-APPDIRS. Add PYTHON-GITPYTHON.
[native-inputs]: Remove PYTHON-PBR. Add PYTHON-BEAUTIFULSOUP4,
PYTHON-OSLOTEST and PYTHON-SUBUNIT.
---
gnu/packages/openstack.scm | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index be858e1..efb305e 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -41,27 +41,37 @@
(define-public python-bandit
(package
(name "python-bandit")
- (version "0.13.2")
+ (version "1.4.0")
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://pypi.python.org/packages/source/b/bandit/bandit-"
- version ".tar.gz"))
+ (uri (pypi-uri "bandit" version))
(sha256
(base32
- "03g3cflvrc99ncjd611iy5nnnscsc2vgnrx4mjaqyx8glbfw8y7g"))))
+ "1m5bm42120zyazky4k0lp3d9r0jwhjmp6sb108xfr0vz952p15yb"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Tests require the 'bandit' executable in PATH.
+ ;; It's only built during install time.
+ (add-installed-pythonpath inputs outputs)
+ (setenv "PATH" (string-append (assoc-ref outputs "out")
+ "/bin:" (getenv "PATH")))
+ (invoke "python" "setup.py" "testr"))))))
(propagated-inputs
- `(("python-appdirs" ,python-appdirs)
+ `(("python-gitpython" ,python-gitpython)
("python-pyyaml" ,python-pyyaml)
("python-six" ,python-six)
("python-stevedore" ,python-stevedore)))
(native-inputs
- `(("python-pbr" ,python-pbr)
- ;; Tests
+ `(;; Tests.
+ ("python-beautifulsoup4" ,python-beautifulsoup4)
("python-fixtures" ,python-fixtures)
("python-mock" ,python-mock)
+ ("python-subunit" ,python-subunit)
("python-testrepository" ,python-testrepository)
("python-testscenarios" ,python-testscenarios)
("python-testtools" ,python-testtools)))
- 37/37: gnu: python-webencodings: Update to 0.5.1., (continued)
- 37/37: gnu: python-webencodings: Update to 0.5.1., Marius Bakke, 2018/02/28
- 27/37: gnu: python-oslo.context: Update to 2.20.0., Marius Bakke, 2018/02/28
- 12/37: gnu: python-mox3: Update to 0.24.0., Marius Bakke, 2018/02/28
- 20/37: gnu: Add python-gitpython., Marius Bakke, 2018/02/28
- 30/37: gnu: python-msgpack: Run the tests., Marius Bakke, 2018/02/28
- 35/37: gnu: python-netifaces: Update to 0.10.6., Marius Bakke, 2018/02/28
- 17/37: gnu: Add python-rfc3986., Marius Bakke, 2018/02/28
- 28/37: gnu: python-oslo.serialization: Update to 2.24.0., Marius Bakke, 2018/02/28
- 26/37: gnu: Add python-pyinotify., Marius Bakke, 2018/02/28
- 23/37: gnu: python-debtcollector: Update to 1.19.0., Marius Bakke, 2018/02/28
- 21/37: gnu: python-bandit: Update to 1.4.0.,
Marius Bakke <=
- 36/37: gnu: python-html5lib: Update to 1.0.1., Marius Bakke, 2018/02/28
- 32/37: gnu: python-oslo.log: Update to 3.36.0., Marius Bakke, 2018/02/28
- 29/37: gnu: python-msgpack: Update to 0.5.6., Marius Bakke, 2018/02/28
- 31/37: gnu: python-monotonic: Update to 1.4., Marius Bakke, 2018/02/28
- 19/37: gnu: Add python-gitdb., Marius Bakke, 2018/02/28
- 33/37: gnu: python-wrapt: Update to 1.10.11., Marius Bakke, 2018/02/28
- 34/37: gnu: python-psutil: Update to 5.4.3., Marius Bakke, 2018/02/28
- 13/37: gnu: python2-swiftclient: Enable tests., Marius Bakke, 2018/02/28