python3Packages.pyowm: drop outdated patching
Version 2.10 relaxed the requirement for geojson from `geojson>=2.3.0,<2.4` to `geojson>=2.3.0,<3`. Remove the postPatch hook that adjusted this requirement when it broke in nixpkgs.
This commit is contained in:
parent
2798da019f
commit
c15aff9fa4
@ -16,8 +16,7 @@ buildPythonPackage rec {
|
|||||||
# This may actually break the package.
|
# This may actually break the package.
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "requests>=2.18.2,<2.19" "requests" \
|
--replace "requests>=2.18.2,<2.19" "requests"
|
||||||
--replace "geojson>=2.3.0,<2.4" "geojson<2.5,>=2.3.0"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# No tests in archive
|
# No tests in archive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user