3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #6573 from desiderius/master

python-packages: updates for existing packages and new ones
This commit is contained in:
lethalman 2015-02-27 13:22:56 +01:00
commit 452107dd7c

View file

@ -1766,11 +1766,11 @@ let
}; };
coverage = buildPythonPackage rec { coverage = buildPythonPackage rec {
name = "coverage-3.6"; name = "coverage-3.7";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/coverage/${name}.tar.gz"; url = "http://pypi.python.org/packages/source/c/coverage/${name}.tar.gz";
md5 = "67d4e393f4c6a5ffc18605409d2aa1ac"; md5 = "c47b36ceb17eaff3ecfab3bcd347d0df";
}; };
meta = { meta = {
@ -1781,10 +1781,10 @@ let
}; };
covCore = buildPythonPackage rec { covCore = buildPythonPackage rec {
name = "cov-core-1.7"; name = "cov-core-1.15.0";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/cov-core/cov-core-1.7.tar.gz"; url = "http://pypi.python.org/packages/source/c/cov-core/${name}.tar.gz";
md5 = "59c1e22e636633e10120beacbf45b28c"; md5 = "f519d4cb4c4e52856afb14af52919fe6";
}; };
meta = { meta = {
description = "plugin core for use by pytest-cov, nose-cov and nose2-cov"; description = "plugin core for use by pytest-cov, nose-cov and nose2-cov";
@ -2007,6 +2007,25 @@ let
}; };
}; };
pytestcov = buildPythonPackage (rec {
name = "pytest-cov-1.8.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pytest-cov/${name}.tar.gz";
md5 = "76c778afa2494088270348be42d759fc";
};
buildInputs = with self; [ covCore pytest ];
meta = {
description = "py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing";
homepage = https://github.com/schlamar/pytest-cov;
license = stdenv.lib.licenses.mit;
};
});
pytest_xdist = buildPythonPackage rec { pytest_xdist = buildPythonPackage rec {
name = "pytest-xdist-1.8"; name = "pytest-xdist-1.8";
@ -2550,6 +2569,51 @@ let
}; };
elasticsearch = buildPythonPackage (rec {
name = "elasticsearch-1.4.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/e/elasticsearch/${name}.tar.gz";
md5 = "14a758debd2296d923cb6c958db98eba";
};
# Check is disabled because running them destroy the content of the local cluster!
# https://github.com/elasticsearch/elasticsearch-py/tree/master/test_elasticsearch
doCheck = false;
meta = {
description = "Official low-level client for Elasticsearch";
homepage = https://github.com/elasticsearch/elasticsearch-py;
license = stdenv.lib.licenses.asl20;
};
});
elasticsearchdsl = buildPythonPackage (rec {
name = "elasticsearch-dsl-0.0.3";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/e/elasticsearch-dsl/${name}.tar.gz";
md5 = "6cbc9ed7aefb3ef804be4e3b318b2570";
};
buildInputs = with self; [ covCore dateutil elasticsearch mock pytest pytestcov unittest2 urllib3 ];
# ImportError: No module named test_elasticsearch_dsl
doCheck = false;
meta = {
description = "Python client for Elasticsearch";
homepage = https://github.com/elasticsearch/elasticsearch-dsl-py;
license = stdenv.lib.licenses.asl20;
};
});
evdev = buildPythonPackage rec { evdev = buildPythonPackage rec {
version = "0.4.6"; version = "0.4.6";
name = "evdev-${version}"; name = "evdev-${version}";
@ -3741,6 +3805,23 @@ let
}; };
}; };
ddt = buildPythonPackage (rec {
name = "ddt-1.0.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/ddt/${name}.tar.gz";
md5 = "29688456f9ee42d09d7d7c864ce6e17b";
};
meta = {
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
homepage = https://github.com/txels/ddt;
license = stdenv.lib.licenses.mit;
};
});
distutils_extra = buildPythonPackage rec { distutils_extra = buildPythonPackage rec {
name = "distutils-extra-2.26"; name = "distutils-extra-2.26";
@ -4450,6 +4531,25 @@ let
}; };
}); });
falcon = buildPythonPackage (rec {
name = "falcon-0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/f/falcon/${name}.tar.gz";
md5 = "bf9e8bdd20700f1ff7ce6397cd441fbd";
};
propagatedBuildInputs = with self; [ coverage ddt nose pyyaml requests2 six testtools python_mimeparse ];
meta = {
description = "An unladen web framework for building APIs and app backends";
homepage = http://falconframework.org;
license = stdenv.lib.licenses.asl20;
};
});
flup = buildPythonPackage (rec { flup = buildPythonPackage (rec {
name = "flup-1.0.2"; name = "flup-1.0.2";
disabled = isPy3k; disabled = isPy3k;
@ -6622,6 +6722,25 @@ let
doCheck = false; doCheck = false;
}); });
nosexcover = buildPythonPackage (rec {
name = "nosexcover-1.0.10";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/n/nosexcover/${name}.tar.gz";
md5 = "12bf494a801b376debeb6a167c247391";
};
propagatedBuildInputs = with self; [ coverage nose ];
meta = {
description = "Extends nose.plugins.cover to add Cobertura-style XML reports";
homepage = http://github.com/cmheisel/nose-xcover/;
license = stdenv.lib.licenses.bsd3;
};
});
nosejs = buildPythonPackage { nosejs = buildPythonPackage {
name = "nosejs-0.9.4"; name = "nosejs-0.9.4";
src = pkgs.fetchurl { src = pkgs.fetchurl {
@ -7368,6 +7487,20 @@ let
propagatedBuildInputs = with self; [ unittest2 ]; propagatedBuildInputs = with self; [ unittest2 ];
}; };
python3pika = buildPythonPackage {
name = "python3-pika-0.9.14";
disabled = !isPy3k;
src = pkgs.fetchurl {
url = https://pypi.python.org/packages/source/p/python3-pika/python3-pika-0.9.14.tar.gz;
md5 = "f3a3ee58afe0ae06f1fa553710e1aa28";
};
buildInputs = with self; [ nose mock pyyaml ];
propagatedBuildInputs = with self; [ unittest2 ];
};
pil = buildPythonPackage rec { pil = buildPythonPackage rec {
name = "PIL-${version}"; name = "PIL-${version}";
version = "1.1.7"; version = "1.1.7";
@ -9032,6 +9165,24 @@ let
}); });
pyaml = buildPythonPackage (rec {
name = "pyaml-15.02.1";
disabled = !isPy27;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pyaml/${name}.tar.gz";
md5 = "e98cf27f50b9ca291ca4937c135db1c9";
};
buildInputs = with self; [ pyyaml ];
meta = {
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
homepage = https://github.com/mk-fg/pretty-yaml;
};
});
pyyaml = buildPythonPackage (rec { pyyaml = buildPythonPackage (rec {
name = "PyYAML-3.10"; name = "PyYAML-3.10";