pythonPackages.geopandas: 0.3.0 -> 0.4.0
Additionally fix issue with tests failing for 18.09 release. Tests required url fetch. Disabled with "not web".
This commit is contained in:
parent
13050ccc0b
commit
1d6fd65957
@ -1,23 +1,23 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||||
, pandas, shapely, fiona, descartes, pyproj
|
, pandas, shapely, fiona, descartes, pyproj
|
||||||
, pytest }:
|
, pytest, Rtree }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "geopandas";
|
pname = "geopandas";
|
||||||
version = "0.3.0";
|
version = "0.4.0";
|
||||||
name = pname + "-" + version;
|
name = pname + "-" + version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "geopandas";
|
owner = "geopandas";
|
||||||
repo = "geopandas";
|
repo = "geopandas";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0maafafr7sjjmlg2f19bizg06c8a5z5igmbcgq6kgmi7rklx8xxz";
|
sha256 = "025zpgck5pnmidvzk0805pr345rd7k6z66qb2m34gjh1814xjkhv";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest Rtree ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test geopandas
|
py.test geopandas -m "not web"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user