forked from mirrors/nixpkgs
Merge pull request #54462 from dotlambda/python-pkgs-remove
pythonPackages: remove some packages representing outdated versions
This commit is contained in:
commit
01efca4a54
|
@ -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
|
||||
|
|
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
fontforge
|
||||
(pythonFull.withPackages (ps: [
|
||||
ps.jinja2
|
||||
ps."3to2"
|
||||
ps.py3to2
|
||||
ps.fonttools
|
||||
]))
|
||||
];
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
{ stdenv, lib, fetchFromBitbucket, buildPythonPackage, python, smpeg, libX11
|
||||
, SDL, SDL_image, SDL_mixer, SDL_ttf, libpng, libjpeg, portmidi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygame";
|
||||
version = "2016-05-17";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "pygame";
|
||||
repo = "pygame";
|
||||
rev = "575c7a74d85a37db7c645421c02cf0b6b78a889f";
|
||||
sha256 = "1i5xqmw93kfidcji2wacgkm5y4mcnbksy8iimih0729k19rbhznc";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
SDL SDL_image SDL_mixer SDL_ttf libpng libjpeg
|
||||
smpeg portmidi libX11
|
||||
];
|
||||
|
||||
# Tests fail because of no audio device and display.
|
||||
doCheck = false;
|
||||
|
||||
preConfigure = ''
|
||||
sed \
|
||||
-e "s/^origincdirs = .*/origincdirs = []/" \
|
||||
-e "s/^origlibdirs = .*/origlibdirs = []/" \
|
||||
-i config_unix.py
|
||||
${lib.concatMapStrings (dep: ''
|
||||
sed \
|
||||
-e "/^origincdirs =/aorigincdirs += ['${lib.getDev dep}/include']" \
|
||||
-e "/^origlibdirs =/aoriglibdirs += ['${lib.getLib dep}/lib']" \
|
||||
-i config_unix.py
|
||||
'') buildInputs
|
||||
}
|
||||
LOCALBASE=/ ${python.interpreter} config.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python library for games";
|
||||
homepage = http://www.pygame.org/;
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymongo";
|
||||
version = "2.9.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "912516ac6a355d7624374a38337b8587afe3eb535c0a5456b3bd12df637a6e70";
|
||||
};
|
||||
|
||||
# Tests call a running mongodb instance
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/mongodb/mongo-python-driver;
|
||||
license = licenses.asl20;
|
||||
description = "Python driver for MongoDB ";
|
||||
};
|
||||
|
||||
}
|
|
@ -1,20 +1,20 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymongo";
|
||||
version = "3.7.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8c74e2a9b594f7962c62cef7680a4cb92a96b4e6e3c2f970790da67cc0213a7e";
|
||||
};
|
||||
|
||||
# Tests call a running mongodb instance
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/mongodb/mongo-python-driver;
|
||||
license = licenses.asl20;
|
||||
description = "Python driver for MongoDB ";
|
||||
description = "Python driver for MongoDB";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,30 +1,41 @@
|
|||
{ stdenv, fetchFromGitHub, pythonPackages
|
||||
{ stdenv, fetchFromGitHub, python
|
||||
, unzip, makeWrapper }:
|
||||
let
|
||||
inherit (pythonPackages) python;
|
||||
docker_1_10 = pythonPackages.buildPythonPackage rec {
|
||||
name = "docker-${version}";
|
||||
version = "1.10.6";
|
||||
python' = python.override {
|
||||
packageOverrides = self: super: {
|
||||
docker = self.buildPythonPackage rec {
|
||||
name = "docker-${version}";
|
||||
version = "1.10.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "docker-py";
|
||||
rev = version;
|
||||
sha256 = "1awzpbrkh4fympqzddz5i3ml81b7f0i0nwkvbpmyxjjfqx6l0m4m";
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "docker-py";
|
||||
rev = version;
|
||||
sha256 = "1awzpbrkh4fympqzddz5i3ml81b7f0i0nwkvbpmyxjjfqx6l0m4m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
six
|
||||
requests
|
||||
websocket_client
|
||||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
uptime
|
||||
];
|
||||
|
||||
# due to flake8
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
pymongo = super.pymongo.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.9.5";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "912516ac6a355d7624374a38337b8587afe3eb535c0a5456b3bd12df637a6e70";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
six
|
||||
requests
|
||||
websocket_client
|
||||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
uptime
|
||||
];
|
||||
|
||||
# due to flake8
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
|
@ -41,21 +52,21 @@ in stdenv.mkDerivation rec {
|
|||
patches = [ ./40103-iostat-fix.patch ];
|
||||
|
||||
buildInputs = [
|
||||
python
|
||||
unzip
|
||||
makeWrapper
|
||||
pythonPackages.requests
|
||||
pythonPackages.psycopg2
|
||||
pythonPackages.psutil
|
||||
pythonPackages.ntplib
|
||||
pythonPackages.simplejson
|
||||
pythonPackages.pyyaml
|
||||
pythonPackages.pymongo_2_9_1
|
||||
pythonPackages.python-etcd
|
||||
pythonPackages.consul
|
||||
docker_1_10
|
||||
];
|
||||
propagatedBuildInputs = with pythonPackages; [ python tornado ];
|
||||
] ++ (with python'.pkgs; [
|
||||
requests
|
||||
psycopg2
|
||||
psutil
|
||||
ntplib
|
||||
simplejson
|
||||
pyyaml
|
||||
pymongo
|
||||
python-etcd
|
||||
consul
|
||||
docker
|
||||
]);
|
||||
propagatedBuildInputs = with python'.pkgs; [ python tornado ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -143,8 +143,6 @@ in {
|
|||
acoustics = callPackage ../development/python-modules/acoustics { };
|
||||
|
||||
py3to2 = callPackage ../development/python-modules/3to2 { };
|
||||
# Left for backwards compatibility
|
||||
"3to2" = self.py3to2;
|
||||
|
||||
absl-py = callPackage ../development/python-modules/absl-py { };
|
||||
|
||||
|
@ -584,8 +582,6 @@ in {
|
|||
|
||||
pygame = callPackage ../development/python-modules/pygame { };
|
||||
|
||||
pygame-git = callPackage ../development/python-modules/pygame/git.nix { };
|
||||
|
||||
pygame_sdl2 = callPackage ../development/python-modules/pygame_sdl2 { };
|
||||
|
||||
pygdbmi = callPackage ../development/python-modules/pygdbmi { };
|
||||
|
@ -947,9 +943,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 { };
|
||||
|
||||
|
@ -1985,9 +1978,6 @@ in {
|
|||
|
||||
pamela = callPackage ../development/python-modules/pamela { };
|
||||
|
||||
# These used to be here but were moved to all-packages, but I'll leave them around for a while.
|
||||
pants = pkgs.pants;
|
||||
|
||||
paperspace = callPackage ../development/python-modules/paperspace { };
|
||||
|
||||
paperwork-backend = callPackage ../applications/office/paperwork/backend.nix { };
|
||||
|
@ -3793,8 +3783,6 @@ in {
|
|||
|
||||
pymongo = callPackage ../development/python-modules/pymongo {};
|
||||
|
||||
pymongo_2_9_1 = callPackage ../development/python-modules/pymongo/2_9_1.nix { };
|
||||
|
||||
pyperclip = callPackage ../development/python-modules/pyperclip { };
|
||||
|
||||
pysqlite = callPackage ../development/python-modules/pysqlite { };
|
||||
|
|
Loading…
Reference in a new issue