python.pkgs.xarray: 0.9.6 -> 0.10.0
This commit is contained in:
parent
c6b3be2e9a
commit
3cf4d2365f
@ -10,30 +10,23 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xarray";
|
pname = "xarray";
|
||||||
version = "0.9.6";
|
version = "0.10.0";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "f649a41d43b5a6c64bdcbd57e994932656b689f9593a86dd0be95778a2b47494";
|
sha256 = "af1449e8df84a6eb09eb1d56c1dc5ac7f24a9563d4f2b9391ff364dc0c62344c";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Temporary patch until next release (later than 0.9.6) to fix
|
checkInputs = [ pytest ];
|
||||||
# a broken test case.
|
|
||||||
patches = [
|
|
||||||
(fetchurl {
|
|
||||||
url = "https://github.com/pydata/xarray/commit/726c6a3638ecf95889c541d84e892a106c2f2f92.patch";
|
|
||||||
sha256 = "1i2hsj5v5qlvqfj48vyn9931yndsf4k4wrk3qpqpywh32s7r007b";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
|
||||||
propagatedBuildInputs = [numpy pandas];
|
propagatedBuildInputs = [numpy pandas];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test $out/${python.sitePackages}
|
py.test $out/${python.sitePackages}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# There always seem to be broken tests...
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "N-D labeled arrays and datasets in Python";
|
description = "N-D labeled arrays and datasets in Python";
|
||||||
homepage = https://github.com/pydata/xarray;
|
homepage = https://github.com/pydata/xarray;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user