Merge pull request #176088 from flomonster/fix-django4-with-gdal

python3Packages.django_4: fix geos_gdal patch syntax error
This commit is contained in:
Sandro 2022-06-03 17:18:37 +02:00 committed by GitHub
commit a2a0b79d0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ index 05b5732..91fafee 100644
lib_path = settings.GDAL_LIBRARY_PATH
except (AttributeError, ImportError, ImproperlyConfigured, OSError):
- lib_path = None
+ lib_path = ""@gdal@/lib/libgdal@extension@"
+ lib_path = "@gdal@/lib/libgdal@extension@"
if lib_path:
lib_names = None