python39Packages.fiona: fix tests, format, normalise pname

This commit is contained in:
Sandro Jäckel 2021-08-31 22:03:12 +02:00 committed by Martin Weinelt
parent df05bb4686
commit ebe2232383

View File

@ -1,16 +1,16 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, isPy3k, pythonOlder
, attrs, click, cligj, click-plugins, six, munch, enum34
, pytestCheckHook, boto3, mock, giflib, pytz
, gdal
, certifi
, gdal, certifi
}:
buildPythonPackage rec {
pname = "Fiona";
pname = "fiona";
version = "1.8.20";
src = fetchPypi {
inherit pname version;
pname = "Fiona";
inherit version;
sha256 = "a70502d2857b82f749c09cb0dea3726787747933a2a1599b5ab787d74e3c143b";
};
@ -42,11 +42,15 @@ buildPythonPackage rec {
preCheck = ''
rm -r fiona # prevent importing local fiona
# disable gdal deprecation warnings
export GDAL_ENABLE_DEPRECATED_DRIVER_GTM=YES
'';
disabledTests = [
# Some tests access network, others test packaging
"http" "https" "wheel"
# Assert not true
"test_no_append_driver_cannot_append"
];
meta = with lib; {