python3Packages.gremlinpython: 3.4.10 -> 3.5.1

This commit is contained in:
Robert Scott 2021-08-08 22:15:05 +01:00
parent 717538e908
commit 9437d2ca41

View file

@ -2,10 +2,11 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, aenum , aenum
, aiohttp
, importlib-metadata , importlib-metadata
, isodate , isodate
, nest-asyncio
, six , six
, tornado
, pytestCheckHook , pytestCheckHook
, mock , mock
, pyhamcrest , pyhamcrest
@ -14,20 +15,20 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "gremlinpython"; pname = "gremlinpython";
version = "3.4.10"; version = "3.5.1";
# pypi tarball doesn't include tests # pypi tarball doesn't include tests
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "apache"; owner = "apache";
repo = "tinkerpop"; repo = "tinkerpop";
rev = version; rev = version;
sha256 = "0i9lkrwbsmpx1h9480vf97pibm2v37sgw2qm2r1c0i8gg5bcmhj3"; sha256 = "1vlhxq0f2hanhkv6f17dxgbwr7gnbnh1kkkq0lxcwkbm2l0rdrlr";
}; };
sourceRoot = "source/gremlin-python/src/main/jython"; sourceRoot = "source/gremlin-python/src/main/python";
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace 'aenum>=1.4.5,<3.0.0' 'aenum' \ --replace 'aenum>=1.4.5,<3.0.0' 'aenum' \
--replace 'tornado>=4.4.1,<6.0' 'tornado' \ --replace 'aiohttp>=3.7.0,<=3.7.4' 'aiohttp' \
--replace 'PyHamcrest>=1.9.0,<2.0.0' 'PyHamcrest' \ --replace 'PyHamcrest>=1.9.0,<2.0.0' 'PyHamcrest' \
--replace 'radish-bdd==0.8.6' 'radish-bdd' \ --replace 'radish-bdd==0.8.6' 'radish-bdd' \
--replace 'mock>=3.0.5,<4.0.0' 'mock' \ --replace 'mock>=3.0.5,<4.0.0' 'mock' \
@ -42,9 +43,10 @@ buildPythonPackage rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
aenum aenum
aiohttp
isodate isodate
nest-asyncio
six six
tornado
]; ];
checkInputs = [ checkInputs = [