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.master
parent
cf659519c9
commit
f2ef961e59
|
@ -1920,14 +1920,14 @@ code introspection, and logging.")
|
||||||
(define-public python-pytest
|
(define-public python-pytest
|
||||||
(package
|
(package
|
||||||
(name "python-pytest")
|
(name "python-pytest")
|
||||||
(version "3.0.7")
|
(version "3.2.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pytest" version))
|
(uri (pypi-uri "pytest" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1asc4b2nd2a4f0g3r12y97rslq5wliji7b73wwkvdrm5s7mrc1mp"))))
|
"0g6w86ks73fnrnsyib9ii2rbyx830vn7aglsjqz9v1n2xwbndyi7"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -1951,29 +1951,24 @@ code introspection, and logging.")
|
||||||
("bash" ,bash)
|
("bash" ,bash)
|
||||||
("python-hypothesis" ,python-hypothesis)
|
("python-hypothesis" ,python-hypothesis)
|
||||||
("python-nose" ,python-nose)
|
("python-nose" ,python-nose)
|
||||||
("python-mock" ,python-mock)))
|
("python-mock" ,python-mock)
|
||||||
|
("python-setuptools-scm" ,python-setuptools-scm)))
|
||||||
(home-page "http://pytest.org")
|
(home-page "http://pytest.org")
|
||||||
(synopsis "Python testing library")
|
(synopsis "Python testing library")
|
||||||
(description
|
(description
|
||||||
"Pytest is a testing tool that provides auto-discovery of test modules
|
"Pytest is a testing tool that provides auto-discovery of test modules
|
||||||
and functions, detailed info on failing assert statements, modular fixtures,
|
and functions, detailed info on failing assert statements, modular fixtures,
|
||||||
and many external plugins.")
|
and many external plugins.")
|
||||||
(properties `((python2-variant . ,(delay python2-pytest))))
|
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-pytest
|
(define-public python2-pytest
|
||||||
(let ((base (package-with-python2
|
(package-with-python2 python-pytest))
|
||||||
(strip-python2-variant python-pytest))))
|
|
||||||
(package (inherit base)
|
|
||||||
(native-inputs
|
|
||||||
`(("python2-enum34" ,python2-enum34)
|
|
||||||
,@(package-native-inputs base))))))
|
|
||||||
|
|
||||||
(define-public python-pytest-bootstrap
|
(define-public python-pytest-bootstrap
|
||||||
(package
|
(package
|
||||||
(inherit python-pytest)
|
(inherit python-pytest)
|
||||||
(name "python-pytest-bootstrap")
|
(name "python-pytest-bootstrap")
|
||||||
(native-inputs '())
|
(native-inputs `(("python-setuptools-scm" ,python-setuptools-scm)))
|
||||||
(arguments `(#:tests? #f))))
|
(arguments `(#:tests? #f))))
|
||||||
|
|
||||||
(define-public python2-pytest-bootstrap
|
(define-public python2-pytest-bootstrap
|
||||||
|
|
Reference in New Issue