Merge pull request #314562 from imincik/drop-pygeos

python3Packages.pygeos: drop package
This commit is contained in:
Nikolay Korotkiy 2024-05-26 13:48:42 +04:00 committed by GitHub
commit 0efdd36c00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 50 deletions

View File

@ -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;
};
}

View File

@ -390,6 +390,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

View File

@ -11050,8 +11050,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 { };