mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
python3Packages.pygeos: drop package
PyGEOS was merged with Shapely (https://shapely.readthedocs.io) in December 2021 and has been released as part of Shapely 2.0. The development now takes place at the Shapely repository. See: https://github.com/pygeos/pygeos/blob/master/README.rst
This commit is contained in:
parent
6b16e6bf7f
commit
676d496992
3 changed files with 1 additions and 50 deletions
|
@ -1,48 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
python,
|
||||
geos_3_11,
|
||||
pytestCheckHook,
|
||||
cython_0,
|
||||
numpy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygeos";
|
||||
version = "0.14";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-MPvBf2SEQgC4UTO4hfz7ZVQbh3lTH270+P5GfT+6diM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
geos_3_11 # for geos-config
|
||||
cython_0
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
# The cythonized extensions are required to exist in the pygeos/ directory
|
||||
# for the package to function. Therefore override of buildPhase was
|
||||
# necessary.
|
||||
buildPhase = ''
|
||||
${python.pythonOnBuildForHost.interpreter} setup.py build_ext --inplace
|
||||
${python.pythonOnBuildForHost.interpreter} setup.py bdist_wheel
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pygeos" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wraps GEOS geometry functions in numpy ufuncs";
|
||||
homepage = "https://github.com/pygeos/pygeos";
|
||||
changelog = "https://github.com/pygeos/pygeos/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = teams.geospatial.members;
|
||||
};
|
||||
}
|
|
@ -389,6 +389,7 @@ mapAliases ({
|
|||
pyramid_multiauth = pyramid-multiauth; # added 2023-08-24
|
||||
pyreadability = readability-lxml; # added 2022-05-24
|
||||
pyres = throw "pyres has been removed, since it is abandoned and broken"; # added 2023-06-20
|
||||
pygeos = throw "pygeos has been removed, since it was merged with shapely 2.0"; # added 2024-05-26
|
||||
pyRFC3339 = pyrfc3339; # added 2024-01-07
|
||||
pyroute2-core = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
||||
pyroute2-ethtool = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
||||
|
|
|
@ -11052,8 +11052,6 @@ self: super: with self; {
|
|||
|
||||
pygeoip = callPackage ../development/python-modules/pygeoip { };
|
||||
|
||||
pygeos = callPackage ../development/python-modules/pygeos { };
|
||||
|
||||
pygetwindow = callPackage ../development/python-modules/pygetwindow { };
|
||||
|
||||
pygit2 = callPackage ../development/python-modules/pygit2 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue