forked from mirrors/nixpkgs
Merge pull request #183594 from r-ryantm/auto-update/python3.10-pyshp
python310Packages.pyshp: 2.3.0 -> 2.3.1
This commit is contained in:
commit
bca6c26aa3
|
@ -1,19 +1,39 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, setuptools }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.3.0";
|
||||
pname = "pyshp";
|
||||
version = "2.3.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-glBk6kA6zxNehGz4sJJEmUMOa+HNN6DzS+cTCQZhfTw=";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GeospatialPython";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-yfxhgk8a1rdpGVkE1sjJqT6tiFLimhu2m2SjGxLI6wo=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "shapefile" ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"shapefile"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Requires network access
|
||||
"test_reader_url"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python read/write support for ESRI Shapefile format";
|
||||
description = "Python read/write support for ESRI Shapefile format";
|
||||
homepage = "https://github.com/GeospatialPython/pyshp";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
|
|
Loading…
Reference in a new issue