From f2ef961e59676f6c40d25f108225b0f86f3c4ec9 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 31 Jul 2017 00:23:39 +0200 Subject: [PATCH] gnu: python-pytest: Update to 3.2.3. * gnu/packages/python.scm (python-pytest): Update to 3.2.3. [native-inputs]: Add PYTHON-SETUPTOOLS-SCM. (python-pytest)[native-inputs]: Likewise. (python2-pytest)[native-inputs]: Remove PYTHON2-ENUM34. --- gnu/packages/python.scm | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d65bd79876..bc05d22790 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1920,14 +1920,14 @@ code introspection, and logging.") (define-public python-pytest (package (name "python-pytest") - (version "3.0.7") + (version "3.2.3") (source (origin (method url-fetch) (uri (pypi-uri "pytest" version)) (sha256 (base32 - "1asc4b2nd2a4f0g3r12y97rslq5wliji7b73wwkvdrm5s7mrc1mp")))) + "0g6w86ks73fnrnsyib9ii2rbyx830vn7aglsjqz9v1n2xwbndyi7")))) (build-system python-build-system) (arguments `(#:phases @@ -1951,29 +1951,24 @@ code introspection, and logging.") ("bash" ,bash) ("python-hypothesis" ,python-hypothesis) ("python-nose" ,python-nose) - ("python-mock" ,python-mock))) + ("python-mock" ,python-mock) + ("python-setuptools-scm" ,python-setuptools-scm))) (home-page "http://pytest.org") (synopsis "Python testing library") (description "Pytest is a testing tool that provides auto-discovery of test modules and functions, detailed info on failing assert statements, modular fixtures, and many external plugins.") - (properties `((python2-variant . ,(delay python2-pytest)))) (license license:expat))) (define-public python2-pytest - (let ((base (package-with-python2 - (strip-python2-variant python-pytest)))) - (package (inherit base) - (native-inputs - `(("python2-enum34" ,python2-enum34) - ,@(package-native-inputs base)))))) + (package-with-python2 python-pytest)) (define-public python-pytest-bootstrap (package (inherit python-pytest) (name "python-pytest-bootstrap") - (native-inputs '()) + (native-inputs `(("python-setuptools-scm" ,python-setuptools-scm))) (arguments `(#:tests? #f)))) (define-public python2-pytest-bootstrap