From 3b66438983cb6ca33b637e6db495c02ff5a8361a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 19 Jun 2017 13:29:06 +0200 Subject: gnu: python-hacking: Update to 0.13.0. * gnu/packages/openstack.scm (python-hacking): Update to 0.13.0. [arguments]: Re-enable tests. [propagated-inputs]: Use latest python-flake8. [native-inputs]: Add python-eventlet, python-mock, python-reno, and python-testrepository for tests. --- gnu/packages/openstack.scm | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 23859b85c2..86d1ce9978 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -113,32 +113,33 @@ manner.") (define-public python-hacking (package (name "python-hacking") - (version "0.10.2") + (version "0.13.0") (source (origin (method url-fetch) (uri (pypi-uri "hacking" version)) (sha256 (base32 - "1a310k3dv04jg7zvmk37h2ql7y9kf4hvdxb74bjlwdxgmy6h4wap")))) + "1s1wq2sds6fjp8rwz31vkp33kjl9nyk5y2g2pri8shic75dr00h4")))) (build-system python-build-system) - (arguments - ;; TODO: Requires unpackaged 'eventlet'. - '(#:tests? #f)) (propagated-inputs - `(("python-flake8-2.2.4" ,python-flake8-2.2.4) - ("python-mccabe-0.2.1" ,python-mccabe-0.2.1) - ("python-pbr" ,python-pbr) - ("python-pep8-1.5.7" ,python-pep8-1.5.7) - ("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1) - ("python-six" ,python-six))) + `(("python-flake8" ,python-flake8) + ("python-mccabe-0.2.1" ,python-mccabe-0.2.1) + ("python-pbr" ,python-pbr) + ("python-pep8-1.5.7" ,python-pep8-1.5.7) + ("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1) + ("python-six" ,python-six))) (native-inputs - `(;; Tests - ("python-testscenarios" ,python-testscenarios))) + `( ;; Tests + ("python-eventlet" ,python-eventlet) + ("python-mock" ,python-mock) + ("python-reno" ,python-reno) + ("python-testrepository" ,python-testrepository) + ("python-testscenarios" ,python-testscenarios))) (home-page "https://github.com/openstack-dev/hacking") (synopsis "OpenStack hacking guideline enforcement") (description - "Python-hacking is a set of flake8 plugins that test and enforce the + "Python-hacking is a set of flake8 plugins that test and enforce the @uref{http://docs.openstack.org/developer/hacking/, OpenStack style guidelines}.") (license asl2.0))) -- cgit v1.2.3