pythonPackages.fiona: 1.8.18 -> 1.8.19 (#124359)
This commit is contained in:
parent
15a4732733
commit
80672e6f50
|
@ -1,27 +1,27 @@
|
|||
{ stdenv, lib, buildPythonPackage, fetchPypi, isPy3k, pythonOlder
|
||||
, attrs, click, cligj, click-plugins, six, munch, enum34
|
||||
, pytest, boto3, mock, giflib, pytz
|
||||
, gdal_2 # can't bump to 3 yet, https://github.com/Toblerity/Fiona/issues/745
|
||||
, pytestCheckHook, boto3, mock, giflib, pytz
|
||||
, gdal
|
||||
, certifi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Fiona";
|
||||
version = "1.8.18";
|
||||
version = "1.8.19";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b732ece0ff8886a29c439723a3e1fc382718804bb057519d537a81308854967a";
|
||||
sha256 = "b9059e0b29c2e9e6b817e53f941e77e1aca7075f986005d38db307067b60458f";
|
||||
};
|
||||
|
||||
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gdal_2 # for gdal-config
|
||||
gdal # for gdal-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdal_2
|
||||
gdal
|
||||
] ++ lib.optionals stdenv.cc.isClang [ giflib ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -36,16 +36,19 @@ buildPythonPackage rec {
|
|||
] ++ lib.optional (!isPy3k) enum34;
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
boto3
|
||||
] ++ lib.optional (pythonOlder "3.4") mock;
|
||||
|
||||
checkPhase = ''
|
||||
preCheck = ''
|
||||
rm -r fiona # prevent importing local fiona
|
||||
# Some tests access network, others test packaging
|
||||
pytest -k "not (http or https or wheel)"
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Some tests access network, others test packaging
|
||||
"http" "https" "wheel"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OGR's neat, nimble, no-nonsense API for Python";
|
||||
homepage = "https://fiona.readthedocs.io/";
|
||||
|
|
Loading…
Reference in a new issue