pythonPackages.smart_open: rename to smart-open
This commit is contained in:
parent
0197f1dc41
commit
d6ff646b3f
|
@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
|
|||
pyyaml
|
||||
ratelimiter
|
||||
requests
|
||||
smart_open
|
||||
smart-open
|
||||
toposort
|
||||
wrapt
|
||||
];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, numpy
|
||||
, six
|
||||
, scipy
|
||||
, smart_open
|
||||
, smart-open
|
||||
, scikit-learn, testfixtures, unittest2
|
||||
, isPy3k
|
||||
}:
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
sha256 = "0rx37vnjspjl45v7bj123xwsjfgbwv91v8zpqpli8lgpf42xnskq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ smart_open numpy six scipy ];
|
||||
propagatedBuildInputs = [ smart-open numpy six scipy ];
|
||||
|
||||
checkInputs = [ scikit-learn testfixtures unittest2 ];
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, pytestCheckHook
|
||||
, typer
|
||||
, dataclasses
|
||||
, smart_open
|
||||
, smart-open
|
||||
, pytest
|
||||
, mock
|
||||
, google-cloud-storage
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-nb8my/5rkc7thuHnXZHe1Hg8j+sLBlYyJcLHWrrKZ5M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ smart_open typer google-cloud-storage ];
|
||||
propagatedBuildInputs = [ smart-open typer google-cloud-storage ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
|
|
|
@ -12,12 +12,13 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smart_open";
|
||||
pname = "smart-open";
|
||||
version = "4.2.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "smart_open";
|
||||
inherit version;
|
||||
sha256 = "d9f5a0f173ccb9bbae528db5a3804f57145815774f77ef755b9b0f3b4b2a9dcb";
|
||||
};
|
||||
|
||||
|
@ -29,9 +30,10 @@ buildPythonPackage rec {
|
|||
|
||||
# upstream code requires both boto and boto3
|
||||
propagatedBuildInputs = [ boto boto3 bz2file requests ];
|
||||
|
||||
meta = {
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -7662,7 +7662,7 @@ in {
|
|||
|
||||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue