Merge pull request #54462 from dotlambda/python-pkgs-remove
pythonPackages: remove some packages representing outdated versions
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user