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:
Lancelot SIX 2019-08-22 14:53:50 +02:00
parent 2798da019f
commit c15aff9fa4
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047

View File

@ -16,8 +16,7 @@ buildPythonPackage rec {
# This may actually break the package.
postPatch = ''
substituteInPlace setup.py \
--replace "requests>=2.18.2,<2.19" "requests" \
--replace "geojson>=2.3.0,<2.4" "geojson<2.5,>=2.3.0"
--replace "requests>=2.18.2,<2.19" "requests"
'';
# No tests in archive