diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-02-27 19:49:42 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-02-28 13:58:43 +0100 |
commit | be3f88c29c0f729dab5744957d321ab6a5a4d001 (patch) | |
tree | 3d3a698790f117c99000d23afe4b0e53b3c2b497 /gnu/packages/openstack.scm | |
parent | ae565a9a6d3329a0be11fa021f046260b35a4958 (diff) | |
download | patches-be3f88c29c0f729dab5744957d321ab6a5a4d001.tar patches-be3f88c29c0f729dab5744957d321ab6a5a4d001.tar.gz |
gnu: python-oslotest: Update to 3.2.0.
* gnu/packages/openstack.scm (python-oslotest): Update to 3.2.0.
[source](uri): Use PYPI-URI.
[native-inputs]: Move PYTHON-OS-CLIENT-CONFIG, PYTHON-SIX, PYTHON-SUBUNIT,
PYTHON-TESTREPOSITORY and PYTHON-TESTTOOLS ...
[propagated-inputs]: ... here.
[properties]: Remove field.
(python2-oslotest)[arguments]: Remove.
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r-- | gnu/packages/openstack.scm | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 2a55a80842..1fb0cabb3b 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -623,45 +623,36 @@ from the OpenStack project.") (define-public python-oslotest (package (name "python-oslotest") - (version "1.10.0") + (version "3.2.0") (source (origin (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/o/oslotest/oslotest-" - version - ".tar.gz")) + (uri (pypi-uri "oslotest" version)) (sha256 (base32 - "0l3ny48ddz5xbf0v4r0jv1yhbdzinc2vy0lybhdkmx3xy0b886fs")))) + "1xay6wjxzqm4bg87fahqas84dhvhgf1gghzldkcczsfx897mqdkh")))) (build-system python-build-system) (propagated-inputs `(("python-fixtures" ,python-fixtures) ("python-mock" ,python-mock) ("python-mox3" ,python-mox3) - ("python-six" ,python-six))) - (native-inputs - `(("python-pbr" ,python-pbr) ("python-os-client-config" ,python-os-client-config) + ("python-six" ,python-six) ("python-subunit" ,python-subunit) ("python-testrepository" ,python-testrepository) - ("python-testscenarios" ,python-testscenarios) ("python-testtools" ,python-testtools))) + (native-inputs + `(("python-pbr" ,python-pbr) + ("python-testscenarios" ,python-testscenarios))) (home-page "https://launchpad.net/oslo") (synopsis "Oslo test framework") (description "The Oslo Test framework provides common fixtures, support for debugging, and better support for mocking results.") - (properties `((python2-variant . ,(delay python2-oslotest)))) (license asl2.0))) (define-public python2-oslotest - (package (inherit (package-with-python2 - (strip-python2-variant python-oslotest))) - (arguments - `(#:python ,python-2 - ;; FIXME: 'subunit.run discover: error: no such option: --list' - #:tests? #f)))) + (package-with-python2 python-oslotest)) (define-public python-oslo.utils (package |