aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2022-02-20 01:39:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-20 15:13:28 +0700
commit570c2610c2341e1a875f4e792c13263acbeebc55 (patch)
tree856eb397216e8b6dd7d50ce6aab288de50dfee2d /gis
parentc3fc5b61fc74eb9d4ef005bb334b79c8507b8151 (diff)
gis/Shapely: Fix Download URL
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/Shapely/Shapely.SlackBuild8
-rw-r--r--gis/Shapely/Shapely.info6
2 files changed, 7 insertions, 7 deletions
diff --git a/gis/Shapely/Shapely.SlackBuild b/gis/Shapely/Shapely.SlackBuild
index 54dcd36f11c8..3f32e523b79d 100644
--- a/gis/Shapely/Shapely.SlackBuild
+++ b/gis/Shapely/Shapely.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Shapely
# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -75,13 +75,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# remove unnecessary .pxi file
-sed -i "s/data_files\s*=.*/data_files = [],/g" setup.py
+sed -i '/include_package_data=/s/True/False/' setup.py
python3 setup.py install --root=$PKG
diff --git a/gis/Shapely/Shapely.info b/gis/Shapely/Shapely.info
index bef50f623584..d35056fbbc4c 100644
--- a/gis/Shapely/Shapely.info
+++ b/gis/Shapely/Shapely.info
@@ -1,8 +1,8 @@
PRGNAM="Shapely"
VERSION="1.8.0"
-HOMEPAGE="https://github.com/Toblerity/Shapely"
-DOWNLOAD="https://github.com/Toblerity/Shapely/archive/1.8.0/Shapely-1.8.0.tar.gz"
-MD5SUM="c76e55b2fbe60207b669739388756f96"
+HOMEPAGE="https://github.com/shapely/shapely"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/S/Shapely/Shapely-1.8.0.tar.gz"
+MD5SUM="f2b43b00b9eccec76af24a40201a8223"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos"