diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-02-27 18:51:44 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-02-28 13:58:43 +0100 |
commit | ae565a9a6d3329a0be11fa021f046260b35a4958 (patch) | |
tree | 2c92f0c76431f85afb38403e90fac7ccf91b08b0 /gnu/packages/check.scm | |
parent | 8b93f7e4371ac53d56314f8a6a4061566b92e28c (diff) | |
download | guix-ae565a9a6d3329a0be11fa021f046260b35a4958.tar guix-ae565a9a6d3329a0be11fa021f046260b35a4958.tar.gz |
gnu: python-testscenarios: Update to 0.5.0.
* gnu/packages/check.scm (python-testscenarios-bootstrap): Update to 0.5.0.
[source](uri): Use PYPI-URI.
[arguments]: Replace CHECK-PHASE.
[propagated-inputs]: Add PYTHON-PBR-MINIMAL.
(python-testscenarios)[propagated-inputs]: Add PYTHON-PBR.
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r-- | gnu/packages/check.scm | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 6b6d0376e8..19d7dec393 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -896,19 +896,24 @@ compatibility."))) (define-public python-testscenarios-bootstrap (package (name "python-testscenarios-bootstrap") - (version "0.4") + (version "0.5.0") (source (origin (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/t/testscenarios/testscenarios-" - version ".tar.gz")) + (uri (pypi-uri "testscenarios" version)) (sha256 (base32 - "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg")))) + "1dm2aydqpv76vnsk1pw7k8n42hq58cfi4n1ixy7nyzpaj1mwnmy2")))) (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "python" "-m" "testtools.run" + "testscenarios.test_suite")))))) (propagated-inputs - `(("python-testtools" ,python-testtools-bootstrap))) + `(("python-pbr" ,python-pbr-minimal) + ("python-testtools" ,python-testtools-bootstrap))) (home-page "https://launchpad.net/testscenarios") (synopsis "Pyunit extension for dependency injection") (description @@ -923,7 +928,8 @@ compatibility."))) (inherit python-testscenarios-bootstrap) (name "python-testscenarios") (propagated-inputs - `(("python-testtools" ,python-testtools))) + `(("python-pbr" ,python-pbr) + ("python-testtools" ,python-testtools))) (description "Testscenarios provides clean dependency injection for Python unittest style tests."))) |