Merge pull request #321059 from sikmir/pyogrio
python3Packages.pyogrio: 0.8.0 → 0.9.0
This commit is contained in:
commit
db4c8df48c
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyogrio";
|
pname = "pyogrio";
|
||||||
version = "0.8.0";
|
version = "0.9.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
@ -25,15 +25,12 @@ buildPythonPackage rec {
|
|||||||
owner = "geopandas";
|
owner = "geopandas";
|
||||||
repo = "pyogrio";
|
repo = "pyogrio";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-h4Rv5xOWSJSv0nLbosviz5EiF/IsZO5wzBel9YRd0Bg=";
|
hash = "sha256-HC7+dDehDwEIDQnCMYrsC1jE78AyfHqEhfOZLYSzTIw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "versioneer[toml]==0.28" "versioneer[toml]"
|
--replace-fail "versioneer[toml]==0.28" "versioneer[toml]"
|
||||||
'' + lib.optionalString (!pythonOlder "3.12") ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace-fail "distutils" "setuptools._distutils"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user