Verified Commit cc38fa02 authored by Efraim Flashner's avatar Efraim Flashner
Browse files

Add python24-pytest 2.4.2

parent 80efa1f9
......@@ -427,6 +427,44 @@ animated, and interactive visualizations in Python.")
I/O, code introspection, and logging.")
(license license:expat)))
(define-public python24-pytest
(name "python24-pytest")
(version "2.4.2")
(method url-fetch)
(uri (pypi-uri "pytest" version))
(build-system python-build-system)
`(#:python ,python-2.4
#:tests? #f
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(when tests?
;; Taken from tox.ini
(with-directory-excursion "testing"
(invoke "python" "-m" "pytest" "--lsof" "-rfsxX")))
`(("argparse" ,python24-argparse) ; python < 2.7
("py" ,python24-py)))
`(("setuptools" ,python24-setuptools)))
(home-page "")
(properties '((release-date "2013-10-04")))
(synopsis "Py.test 2.4.2, released 2013-10-04")
(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.")
(license license:expat)))
(define-public python24-pytz
(inherit python-pytz)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment