pythonPackages.cartopy: use proj_5

This commit is contained in:
Jonathan Ringer 2019-07-13 23:02:29 -07:00
parent 1414598875
commit ed8917f831

View file

@ -1,9 +1,10 @@
{ buildPythonPackage, lib, fetchPypi
, pytest, filelock, mock, pep8
, cython, isPy27
, six, pyshp, shapely, geos, proj, numpy
, six, pyshp, shapely, geos, numpy
, gdal, pillow, matplotlib, pyepsg, pykdtree, scipy, owslib, fiona
, xvfb_run
, proj_5 # see https://github.com/SciTools/cartopy/pull/1252 for status on proj 6 support
}:
buildPythonPackage rec {
@ -27,17 +28,17 @@ buildPythonPackage rec {
export HOME=$(mktemp -d)
${maybeXvfbRun} pytest --pyargs cartopy \
-m "not network and not natural_earth" \
-k "not test_nightshade_image"
-k "not test_nightshade_image and not background_img"
'';
nativeBuildInputs = [
cython
geos # for geos-config
proj
proj_5
];
buildInputs = [
geos proj
geos proj_5
];
propagatedBuildInputs = [