pythonPackages.smart_open: rename to smart-open
This commit is contained in:
parent
0197f1dc41
commit
d6ff646b3f
|
@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
pyyaml
|
pyyaml
|
||||||
ratelimiter
|
ratelimiter
|
||||||
requests
|
requests
|
||||||
smart_open
|
smart-open
|
||||||
toposort
|
toposort
|
||||||
wrapt
|
wrapt
|
||||||
];
|
];
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
, numpy
|
, numpy
|
||||||
, six
|
, six
|
||||||
, scipy
|
, scipy
|
||||||
, smart_open
|
, smart-open
|
||||||
, scikit-learn, testfixtures, unittest2
|
, scikit-learn, testfixtures, unittest2
|
||||||
, isPy3k
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "0rx37vnjspjl45v7bj123xwsjfgbwv91v8zpqpli8lgpf42xnskq";
|
sha256 = "0rx37vnjspjl45v7bj123xwsjfgbwv91v8zpqpli8lgpf42xnskq";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ smart_open numpy six scipy ];
|
propagatedBuildInputs = [ smart-open numpy six scipy ];
|
||||||
|
|
||||||
checkInputs = [ scikit-learn testfixtures unittest2 ];
|
checkInputs = [ scikit-learn testfixtures unittest2 ];
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, typer
|
, typer
|
||||||
, dataclasses
|
, dataclasses
|
||||||
, smart_open
|
, smart-open
|
||||||
, pytest
|
, pytest
|
||||||
, mock
|
, mock
|
||||||
, google-cloud-storage
|
, google-cloud-storage
|
||||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-nb8my/5rkc7thuHnXZHe1Hg8j+sLBlYyJcLHWrrKZ5M=";
|
sha256 = "sha256-nb8my/5rkc7thuHnXZHe1Hg8j+sLBlYyJcLHWrrKZ5M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ smart_open typer google-cloud-storage ];
|
propagatedBuildInputs = [ smart-open typer google-cloud-storage ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
|
|
|
@ -12,12 +12,13 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "smart_open";
|
pname = "smart-open";
|
||||||
version = "4.2.0";
|
version = "4.2.0";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "smart_open";
|
||||||
|
inherit version;
|
||||||
sha256 = "d9f5a0f173ccb9bbae528db5a3804f57145815774f77ef755b9b0f3b4b2a9dcb";
|
sha256 = "d9f5a0f173ccb9bbae528db5a3804f57145815774f77ef755b9b0f3b4b2a9dcb";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,9 +30,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# upstream code requires both boto and boto3
|
# upstream code requires both boto and boto3
|
||||||
propagatedBuildInputs = [ boto boto3 bz2file requests ];
|
propagatedBuildInputs = [ boto boto3 bz2file requests ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
description = "smart_open is a Python 2 & Python 3 library for efficient streaming of very large file";
|
description = "Library for efficient streaming of very large file";
|
||||||
maintainers = with lib.maintainers; [ jyp ];
|
maintainers = with lib.maintainers; [ jyp ];
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -7662,7 +7662,7 @@ in {
|
||||||
|
|
||||||
sly = callPackage ../development/python-modules/sly { };
|
sly = callPackage ../development/python-modules/sly { };
|
||||||
|
|
||||||
smart_open = callPackage ../development/python-modules/smart_open { };
|
smart-open = callPackage ../development/python-modules/smart-open { };
|
||||||
|
|
||||||
smartypants = callPackage ../development/python-modules/smartypants { };
|
smartypants = callPackage ../development/python-modules/smartypants { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue