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

Add python24-argparse.

* modules/past/packages/python.scm (python24-argparse): New variable.
parent 7c299047
......@@ -127,6 +127,39 @@ released on 2006-09-19.")))
(define-public python24-argparse
(name "python24-argparse")
(version "1.4.0")
(method url-fetch)
(uri (pypi-uri "argparse" version))
(build-system python-build-system)
`(#:python ,python-2.4
(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
(invoke "python" "test/"))
`(("setuptools" ,python24-setuptools)))
(home-page "")
(properties '((release-date "2015-09-12")))
(synopsis "Python command-line parsing library")
"This package is mostly for people who want to have @code{argparse} on
older Pythons because it was not part of the standard library back then.")
(license license:psfl)))
(define-public python24-nose
(name "python24-nose")
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