python.pkgs.argparse: remove
argparse is part of stdlib in 2.7 and 3.2+
This commit is contained in:
parent
abf05bd7d1
commit
8c57113e14
|
@ -14,7 +14,7 @@ buildPythonApplication rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pytz six tzlocal keyring argparse dateutil
|
pytz six tzlocal keyring dateutil
|
||||||
parsedatetime pycrypto
|
parsedatetime pycrypto
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ in with python.pkgs; buildPythonApplication rec {
|
||||||
atomicwrites
|
atomicwrites
|
||||||
configobj
|
configobj
|
||||||
vobject
|
vobject
|
||||||
argparse
|
|
||||||
ruamel_yaml
|
ruamel_yaml
|
||||||
ruamel_base
|
ruamel_base
|
||||||
unidecode
|
unidecode
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||||
, agate, agate-excel, agate-dbf, agate-sql, six
|
, agate, agate-excel, agate-dbf, agate-sql, six
|
||||||
, argparse, ordereddict, simplejson
|
, ordereddict, simplejson
|
||||||
, glibcLocales, nose, mock, unittest2
|
, glibcLocales, nose, mock, unittest2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
agate agate-excel agate-dbf agate-sql six
|
agate agate-excel agate-dbf agate-sql six
|
||||||
] ++ lib.optionals (!isPy3k) [
|
] ++ lib.optionals (!isPy3k) [
|
||||||
argparse ordereddict simplejson
|
ordereddict simplejson
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ buildPythonPackage, stdenv, glibcLocales, mock, nose, isPy3k, argparse, jinja2, six
|
{ buildPythonPackage, stdenv, glibcLocales, mock, nose, isPy3k, jinja2, six
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
LC_ALL="en_US.UTF-8" nosetests
|
LC_ALL="en_US.UTF-8" nosetests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ argparse jinja2 six ];
|
propagatedBuildInputs = [ jinja2 six ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/domenkozar/mr.bob;
|
homepage = https://github.com/domenkozar/mr.bob;
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, numpy
|
, numpy
|
||||||
, llvmlite
|
, llvmlite
|
||||||
, argparse
|
|
||||||
, funcsigs
|
, funcsigs
|
||||||
, singledispatch
|
, singledispatch
|
||||||
, libcxx
|
, libcxx
|
||||||
|
@ -24,7 +23,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
||||||
|
|
||||||
propagatedBuildInputs = [numpy llvmlite argparse] ++ stdenv.lib.optional (!isPy3k) funcsigs ++ stdenv.lib.optional (isPy27 || isPy33) singledispatch;
|
propagatedBuildInputs = [numpy llvmlite] ++ stdenv.lib.optional (!isPy3k) funcsigs ++ stdenv.lib.optional (isPy27 || isPy33) singledispatch;
|
||||||
|
|
||||||
# Copy test script into $out and run the test suite.
|
# Copy test script into $out and run the test suite.
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchgit
|
, fetchgit
|
||||||
, pyptlib
|
, pyptlib
|
||||||
, argparse
|
|
||||||
, twisted
|
, twisted
|
||||||
, pycrypto
|
, pycrypto
|
||||||
, pyyaml
|
, pyyaml
|
||||||
|
@ -23,7 +22,7 @@ buildPythonPackage rec {
|
||||||
substituteInPlace setup.py --replace "argparse" ""
|
substituteInPlace setup.py --replace "argparse" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyptlib argparse twisted pycrypto pyyaml ];
|
propagatedBuildInputs = [ pyptlib twisted pycrypto pyyaml ];
|
||||||
|
|
||||||
# No tests in archive
|
# No tests in archive
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
, paste
|
, paste
|
||||||
, PasteDeploy
|
, PasteDeploy
|
||||||
, cheetah
|
, cheetah
|
||||||
, argparse
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -19,7 +18,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nose ];
|
buildInputs = [ nose ];
|
||||||
propagatedBuildInputs = [ six paste PasteDeploy cheetah argparse ];
|
propagatedBuildInputs = [ six paste PasteDeploy cheetah ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
, setuptoolsTrial
|
, setuptoolsTrial
|
||||||
, simplejson
|
, simplejson
|
||||||
, zbase32
|
, zbase32
|
||||||
, argparse
|
|
||||||
, twisted
|
, twisted
|
||||||
, isPyPy
|
, isPyPy
|
||||||
}:
|
}:
|
||||||
|
@ -20,7 +19,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
|
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
|
||||||
propagatedBuildInputs = [ argparse twisted ];
|
propagatedBuildInputs = [ twisted ];
|
||||||
|
|
||||||
# Tests fail because they try to write new code into the twisted
|
# Tests fail because they try to write new code into the twisted
|
||||||
# package, apparently some kind of plugin.
|
# package, apparently some kind of plugin.
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pillow, argparse, pyres, nose
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pillow, pyres, nose
|
||||||
, preggy, numpy, yanc, nose-focus, mock, opencv }:
|
, preggy, numpy, yanc, nose-focus, mock, opencv }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "remotecv";
|
pname = "remotecv";
|
||||||
version = "2.2.2";
|
version = "2.2.2";
|
||||||
|
|
||||||
propagatedBuildInputs = [ pillow argparse pyres ];
|
propagatedBuildInputs = [ pillow pyres ];
|
||||||
|
|
||||||
checkInputs = [ nose preggy numpy yanc nose-focus mock opencv ];
|
checkInputs = [ nose preggy numpy yanc nose-focus mock opencv ];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchPypi, buildPythonPackage, pyparsing, argparse, robotframework, allpairspy }:
|
{ stdenv, fetchPypi, buildPythonPackage, pyparsing, robotframework, allpairspy }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "RoboMachine";
|
pname = "RoboMachine";
|
||||||
|
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "242cfd9be0f7591138eaeba03c9c190f894ce045e1767ab7b90eca330259fc45";
|
sha256 = "242cfd9be0f7591138eaeba03c9c190f894ce045e1767ab7b90eca330259fc45";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyparsing argparse robotframework allpairspy ];
|
propagatedBuildInputs = [ pyparsing robotframework allpairspy ];
|
||||||
|
|
||||||
# Remove Windows .bat files
|
# Remove Windows .bat files
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi, pbr, six, argparse }:
|
{ stdenv, buildPythonPackage, fetchPypi, pbr, six }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "stevedore";
|
pname = "stevedore";
|
||||||
|
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
propagatedBuildInputs = [ pbr six argparse ];
|
propagatedBuildInputs = [ pbr six ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Manage dynamic plugins for Python applications";
|
description = "Manage dynamic plugins for Python applications";
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
, pyplatec
|
, pyplatec
|
||||||
, protobuf
|
, protobuf
|
||||||
, purepng
|
, purepng
|
||||||
, argparse
|
|
||||||
, h5py
|
, h5py
|
||||||
, gdal
|
, gdal
|
||||||
}:
|
}:
|
||||||
|
@ -35,7 +34,7 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ nose ];
|
buildInputs = [ nose ];
|
||||||
propagatedBuildInputs = [ noise numpy pyplatec protobuf purepng argparse h5py gdal ];
|
propagatedBuildInputs = [ noise numpy pyplatec protobuf purepng h5py gdal ];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
|
|
|
@ -9,12 +9,9 @@ python.pkgs.buildPythonApplication rec {
|
||||||
sha256 = "1mnh0h9m96p78b9ln1gbl4lw1mgl16qbyfi9fj2l13p3nxaq1sib";
|
sha256 = "1mnh0h9m96p78b9ln1gbl4lw1mgl16qbyfi9fj2l13p3nxaq1sib";
|
||||||
};
|
};
|
||||||
|
|
||||||
argparse = null;
|
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
python.pkgs.requests
|
python.pkgs.requests
|
||||||
python.pkgs.argparse
|
|
||||||
python.pkgs.pyyaml
|
python.pkgs.pyyaml
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ in
|
||||||
checkInputs = with python3Packages; [ vcrpy mock hiro ];
|
checkInputs = with python3Packages; [ vcrpy mock hiro ];
|
||||||
buildInputs = [ libffi openssl ];
|
buildInputs = [ libffi openssl ];
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
argparse ordereddict requests six suds-jurko termcolor keyring
|
ordereddict requests six suds-jurko termcolor keyring
|
||||||
jira keyrings-alt
|
jira keyrings-alt
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,6 @@ let
|
||||||
ceph-python-env = python2Packages.python.withPackages (ps: [
|
ceph-python-env = python2Packages.python.withPackages (ps: [
|
||||||
ps.sphinx
|
ps.sphinx
|
||||||
ps.flask
|
ps.flask
|
||||||
ps.argparse
|
|
||||||
ps.cython
|
ps.cython
|
||||||
ps.setuptools
|
ps.setuptools
|
||||||
ps.pip
|
ps.pip
|
||||||
|
|
|
@ -12,8 +12,7 @@ pythonPackages.buildPythonApplication rec {
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ gdata IMAPClient Logbook
|
propagatedBuildInputs = with pythonPackages; [ gdata IMAPClient Logbook chardet ];
|
||||||
argparse chardet ];
|
|
||||||
|
|
||||||
startScript = ./gmvault.py;
|
startScript = ./gmvault.py;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ in buildPythonApplication rec {
|
||||||
sha256 = "17yj5n8byxp09l5zkap73hpphjy35px84wy68ps824w8l0l8kcd4";
|
sha256 = "17yj5n8byxp09l5zkap73hpphjy35px84wy68ps824w8l0l8kcd4";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ argparse pytz ];
|
propagatedBuildInputs = [ pytz ];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
siteDir=$out/${python.sitePackages}
|
siteDir=$out/${python.sitePackages}
|
||||||
|
|
|
@ -941,9 +941,6 @@ in {
|
||||||
|
|
||||||
atomicwrites = callPackage ../development/python-modules/atomicwrites { };
|
atomicwrites = callPackage ../development/python-modules/atomicwrites { };
|
||||||
|
|
||||||
# argparse is part of stdlib in 2.7 and 3.2+
|
|
||||||
argparse = null;
|
|
||||||
|
|
||||||
astroid = if isPy3k then callPackage ../development/python-modules/astroid { }
|
astroid = if isPy3k then callPackage ../development/python-modules/astroid { }
|
||||||
else callPackage ../development/python-modules/astroid/1.6.nix { };
|
else callPackage ../development/python-modules/astroid/1.6.nix { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user