aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-07-25 16:34:31 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-25 16:56:06 +0700
commit43812cf9cc47e7aacce6db1e6be426207f581de2 (patch)
tree3dd9826edabe9174f4bce4c55cf0835af27fbc7f
parentce55f0bc663e001ab0e56aa8bdec654bf4d588f6 (diff)
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 be680b696fca9..24558ad5b050e 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 \