summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2021-07-25 06:34:31 +0200
committer Willy Sudiarto Raharjo2021-07-25 11:56:06 +0200
commit43812cf9cc47e7aacce6db1e6be426207f581de2 (patch)
tree3dd9826edabe9174f4bce4c55cf0835af27fbc7f
parentce55f0bc663e001ab0e56aa8bdec654bf4d588f6 (diff)
downloadslackbuilds-43812cf9cc47e7aacce6db1e6be426207f581de2.tar.gz
gis/python3-basemap: Fix build on -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--gis/python3-basemap/python3-basemap.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/gis/python3-basemap/python3-basemap.SlackBuild b/gis/python3-basemap/python3-basemap.SlackBuild
index be680b696f..24558ad5b0 100644
--- a/gis/python3-basemap/python3-basemap.SlackBuild
+++ b/gis/python3-basemap/python3-basemap.SlackBuild
@@ -80,6 +80,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# regenerate cythonized sources
+# thanks arch linux maintainers
+cythonize --force src/_geoslib.pyx
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \