mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python3Packages.cartopy: 0.18.0 -> 0.19.0.post1 (#121782)
This commit is contained in:
parent
9ba09d80e1
commit
ceb01fb12d
@ -1,29 +1,21 @@
|
||||
{ buildPythonPackage, lib, fetchPypi, fetchpatch
|
||||
{ buildPythonPackage, lib, fetchPypi
|
||||
, pytestCheckHook, filelock, mock, pep8
|
||||
, cython
|
||||
, six, pyshp, shapely, geos, numpy
|
||||
, gdal, pillow, matplotlib, pyepsg, pykdtree, scipy, owslib, fiona
|
||||
, proj
|
||||
, proj, flufl_lock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cartopy";
|
||||
version = "0.18.0";
|
||||
version = "0.19.0.post1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Cartopy";
|
||||
sha256 = "0d24fk0cbp29gmkysrwq05vry13swmwi3vx3cpcy04c0ixz33ykz";
|
||||
sha256 = "0xnm8z3as3hriivdfd26s6vn5b63gb46x6vxw6gh1mwfm5rlg2sb";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix numpy-1.20 compatibility. Will be part of 0.19.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/SciTools/cartopy/commit/e663bbbef07989a5f8484a8f36ea9c07e61d14ce.patch";
|
||||
sha256 = "061kbjgzkc3apaz6sxy00pkgy3n9dxcgps5wzj4rglb5iy86n2kq";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
geos proj
|
||||
];
|
||||
@ -36,7 +28,7 @@ buildPythonPackage rec {
|
||||
gdal pillow matplotlib pyepsg pykdtree scipy fiona owslib
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook filelock mock pep8 ];
|
||||
checkInputs = [ pytestCheckHook filelock mock pep8 flufl_lock ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--pyargs" "cartopy"
|
||||
@ -46,6 +38,7 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
"test_nightshade_image"
|
||||
"background_img"
|
||||
"test_gridliner_labels_bbox_style"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -56,7 +49,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Process geospatial data to create maps and perform analyses";
|
||||
license = licenses.lgpl3;
|
||||
license = licenses.lgpl3Plus;
|
||||
homepage = "https://scitools.org.uk/cartopy/docs/latest/";
|
||||
maintainers = with maintainers; [ mredaelli ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user