mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 06:07:34 +00:00
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 = [
|
||||
pytz six tzlocal keyring argparse dateutil
|
||||
pytz six tzlocal keyring dateutil
|
||||
parsedatetime pycrypto
|
||||
];
|
||||
|
||||
|
@ -34,7 +34,6 @@ in with python.pkgs; buildPythonApplication rec {
|
||||
atomicwrites
|
||||
configobj
|
||||
vobject
|
||||
argparse
|
||||
ruamel_yaml
|
||||
ruamel_base
|
||||
unidecode
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
, agate, agate-excel, agate-dbf, agate-sql, six
|
||||
, argparse, ordereddict, simplejson
|
||||
, ordereddict, simplejson
|
||||
, glibcLocales, nose, mock, unittest2
|
||||
}:
|
||||
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
agate agate-excel agate-dbf agate-sql six
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
argparse ordereddict simplejson
|
||||
ordereddict simplejson
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ buildPythonPackage, stdenv, glibcLocales, mock, nose, isPy3k, argparse, jinja2, six
|
||||
{ buildPythonPackage, stdenv, glibcLocales, mock, nose, isPy3k, jinja2, six
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
LC_ALL="en_US.UTF-8" nosetests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ argparse jinja2 six ];
|
||||
propagatedBuildInputs = [ jinja2 six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/domenkozar/mr.bob;
|
||||
|
@ -7,7 +7,6 @@
|
||||
, isPy3k
|
||||
, numpy
|
||||
, llvmlite
|
||||
, argparse
|
||||
, funcsigs
|
||||
, singledispatch
|
||||
, libcxx
|
||||
@ -24,7 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
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.
|
||||
checkPhase = ''
|
||||
|
@ -2,7 +2,6 @@
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, pyptlib
|
||||
, argparse
|
||||
, twisted
|
||||
, pycrypto
|
||||
, pyyaml
|
||||
@ -23,7 +22,7 @@ buildPythonPackage rec {
|
||||
substituteInPlace setup.py --replace "argparse" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ pyptlib argparse twisted pycrypto pyyaml ];
|
||||
propagatedBuildInputs = [ pyptlib twisted pycrypto pyyaml ];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
@ -6,7 +6,6 @@
|
||||
, paste
|
||||
, PasteDeploy
|
||||
, cheetah
|
||||
, argparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -19,7 +18,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ six paste PasteDeploy cheetah argparse ];
|
||||
propagatedBuildInputs = [ six paste PasteDeploy cheetah ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
, setuptoolsTrial
|
||||
, simplejson
|
||||
, zbase32
|
||||
, argparse
|
||||
, twisted
|
||||
, isPyPy
|
||||
}:
|
||||
@ -20,7 +19,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
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
|
||||
# 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 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "remotecv";
|
||||
version = "2.2.2";
|
||||
|
||||
propagatedBuildInputs = [ pillow argparse pyres ];
|
||||
propagatedBuildInputs = [ pillow pyres ];
|
||||
|
||||
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 {
|
||||
pname = "RoboMachine";
|
||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
sha256 = "242cfd9be0f7591138eaeba03c9c190f894ce045e1767ab7b90eca330259fc45";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyparsing argparse robotframework allpairspy ];
|
||||
propagatedBuildInputs = [ pyparsing robotframework allpairspy ];
|
||||
|
||||
# Remove Windows .bat files
|
||||
postInstall = ''
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pbr, six, argparse }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pbr, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stevedore";
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ pbr six argparse ];
|
||||
propagatedBuildInputs = [ pbr six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Manage dynamic plugins for Python applications";
|
||||
|
@ -7,7 +7,6 @@
|
||||
, pyplatec
|
||||
, protobuf
|
||||
, purepng
|
||||
, argparse
|
||||
, h5py
|
||||
, gdal
|
||||
}:
|
||||
@ -35,7 +34,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ noise numpy pyplatec protobuf purepng argparse h5py gdal ];
|
||||
propagatedBuildInputs = [ noise numpy pyplatec protobuf purepng h5py gdal ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
|
@ -9,12 +9,9 @@ python.pkgs.buildPythonApplication rec {
|
||||
sha256 = "1mnh0h9m96p78b9ln1gbl4lw1mgl16qbyfi9fj2l13p3nxaq1sib";
|
||||
};
|
||||
|
||||
argparse = null;
|
||||
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [
|
||||
python.pkgs.requests
|
||||
python.pkgs.argparse
|
||||
python.pkgs.pyyaml
|
||||
];
|
||||
|
||||
|
@ -19,7 +19,7 @@ in
|
||||
checkInputs = with python3Packages; [ vcrpy mock hiro ];
|
||||
buildInputs = [ libffi openssl ];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
argparse ordereddict requests six suds-jurko termcolor keyring
|
||||
ordereddict requests six suds-jurko termcolor keyring
|
||||
jira keyrings-alt
|
||||
];
|
||||
|
||||
|
@ -83,7 +83,6 @@ let
|
||||
ceph-python-env = python2Packages.python.withPackages (ps: [
|
||||
ps.sphinx
|
||||
ps.flask
|
||||
ps.argparse
|
||||
ps.cython
|
||||
ps.setuptools
|
||||
ps.pip
|
||||
|
@ -12,8 +12,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ gdata IMAPClient Logbook
|
||||
argparse chardet ];
|
||||
propagatedBuildInputs = with pythonPackages; [ gdata IMAPClient Logbook chardet ];
|
||||
|
||||
startScript = ./gmvault.py;
|
||||
|
||||
|
@ -40,7 +40,7 @@ in buildPythonApplication rec {
|
||||
sha256 = "17yj5n8byxp09l5zkap73hpphjy35px84wy68ps824w8l0l8kcd4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ argparse pytz ];
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
|
||||
prePatch = ''
|
||||
siteDir=$out/${python.sitePackages}
|
||||
|
@ -941,9 +941,6 @@ in {
|
||||
|
||||
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 { }
|
||||
else callPackage ../development/python-modules/astroid/1.6.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user