python311Packages.fiona: 1.9.4.post1 -> 1.9.5
Changelog: https://github.com/Toblerity/Fiona/releases/tag/1.9.5
This commit is contained in:
parent
e46b352ac4
commit
faad9ec1de
1 changed files with 7 additions and 14 deletions
|
@ -2,8 +2,9 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cython
|
, cython_3
|
||||||
, gdal
|
, gdal
|
||||||
|
, oldest-supported-numpy
|
||||||
, setuptools
|
, setuptools
|
||||||
, wheel
|
, wheel
|
||||||
, attrs
|
, attrs
|
||||||
|
@ -20,8 +21,8 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fiona";
|
pname = "fiona";
|
||||||
version = "1.9.4.post1";
|
version = "1.9.5";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -29,21 +30,13 @@ buildPythonPackage rec {
|
||||||
owner = "Toblerity";
|
owner = "Toblerity";
|
||||||
repo = "Fiona";
|
repo = "Fiona";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-CeGdWAmWteVtL0BoBQ1sB/+1AWkmxogtK99bL5Fpdbw=";
|
hash = "sha256-fq/BuyzuK4iOxdpE4h+KRH0CxOEk/wdmbb9KgCfJ1cw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# Remove after https://github.com/Toblerity/Fiona/pull/1225 is released
|
|
||||||
sed -i '/"oldest-supported-numpy"/d' pyproject.toml
|
|
||||||
|
|
||||||
# Remove after https://github.com/Toblerity/Fiona/pull/1281 is released,
|
|
||||||
# after which cython also needs to be updated to cython_3
|
|
||||||
sed -i 's/Cython~=/Cython>=/' pyproject.toml
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cython
|
cython_3
|
||||||
gdal # for gdal-config
|
gdal # for gdal-config
|
||||||
|
oldest-supported-numpy
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
wheel
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue