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