pythonPackages.argparse: remove because argparse is part of stdlib in 2.7 and 3.2+
This commit is contained in:
parent
9cee10973d
commit
49edb1138a
@ -1287,36 +1287,8 @@ in {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
argparse = buildPythonPackage (rec {
|
# argparse is part of stdlib in 2.7 and 3.2+
|
||||||
name = "argparse-1.4.0";
|
argparse = null;
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/a/argparse/${name}.tar.gz";
|
|
||||||
sha256 = "1r6nznp64j68ih1k537wms7h57nvppq0szmwsaf99n71bfjqkc32";
|
|
||||||
};
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
export PYTHONPATH=`pwd`/build/lib:$PYTHONPATH
|
|
||||||
${python.interpreter} test/test_argparse.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
# ordering issues in tests
|
|
||||||
doCheck = !isPy3k;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://code.google.com/p/argparse/;
|
|
||||||
license = licenses.asl20;
|
|
||||||
description = "argparse: Python command line parser";
|
|
||||||
longDescription = ''
|
|
||||||
The argparse module makes writing command line tools in Python
|
|
||||||
easy. Just briefly describe your command line interface and
|
|
||||||
argparse will take care of the rest, including: parsing the
|
|
||||||
arguments and flags from sys.argv, converting arg strings into
|
|
||||||
objects for your program, formatting and printing any help
|
|
||||||
messages, and much more.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
astroid = callPackage ../development/python-modules/astroid { };
|
astroid = callPackage ../development/python-modules/astroid { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user