python3Packages.dask-image: 0.2.0 -> 0.3.0
This commit is contained in:
parent
4d83f4510a
commit
c256671411
@ -1,25 +1,43 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, dask
|
, dask
|
||||||
, numpy, toolz # dask[array]
|
, numpy, toolz # dask[array]
|
||||||
, scipy
|
, scipy
|
||||||
, pims
|
, pims
|
||||||
, pytest
|
, pytest
|
||||||
|
, pytest-flake8
|
||||||
, scikitimage
|
, scikitimage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.2.0";
|
version = "0.3.0";
|
||||||
pname = "dask-image";
|
pname = "dask-image";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "bece2ea347f963dc0168c7d5fdfd11e51b47d9c857d3bc56144d7c146964a23f";
|
sha256 = "15svy8y57i30878pijyd0pxn10bnk7ffmmgwva5rpip4b7grsgv0";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest scikitimage ];
|
nativeBuildInputs = [ pytest-flake8 ];
|
||||||
propagatedBuildInputs = [ dask numpy toolz scipy pims ];
|
propagatedBuildInputs = [ dask numpy toolz scipy pims ];
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
scikitimage
|
||||||
|
];
|
||||||
|
|
||||||
|
# ignore errors from newer versions of flake8
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "docs/conf.py,versioneer.py" \
|
||||||
|
"docs/conf.py,versioneer.py,dask_image/ndfilters/_utils.py"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# scikit.external is not exported
|
||||||
|
checkPhase = ''
|
||||||
|
pytest --ignore=tests/test_dask_image/
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/dask/dask-image";
|
homepage = "https://github.com/dask/dask-image";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user