mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-14 16:14:50 +00:00
Merge pull request #314808 from NixOS/backport-314562-to-release-24.05
[Backport release-24.05] python3Packages.pygeos: drop package
This commit is contained in:
commit
54b42616cf
@ -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;
|
||||
};
|
||||
}
|
@ -388,6 +388,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
|
||||
|
@ -11054,8 +11054,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…
Reference in New Issue
Block a user