python311Packages.gremlinpython: disable on unsupported Python releases
- add format
This commit is contained in:
parent
073eb59305
commit
d76fb6f21f
@ -7,6 +7,7 @@
|
||||
, isodate
|
||||
, nest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, mock
|
||||
, pyhamcrest
|
||||
, radish-bdd
|
||||
@ -15,12 +16,14 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "gremlinpython";
|
||||
version = "3.6.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# pypi tarball doesn't include tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "tinkerpop";
|
||||
rev = version;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-CmVWaRebJaZHJGzhaBdYXPF3BZ8+Cvc5P/KOpsG+dX4=";
|
||||
};
|
||||
|
||||
@ -30,7 +33,6 @@ buildPythonPackage rec {
|
||||
sed -i '/pytest-runner/d' setup.py
|
||||
|
||||
substituteInPlace setup.py \
|
||||
--replace 'aiohttp>=3.8.0,<=3.8.1' 'aiohttp' \
|
||||
--replace 'importlib-metadata<5.0.0' 'importlib-metadata' \
|
||||
--replace "os.getenv('VERSION', '?').replace('-SNAPSHOT', '.dev-%d' % timestamp)" '"${version}"'
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user