Browse Source
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>
pull/177/head
ArTourter
4 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
7 additions and
7 deletions
-
gis/Shapely/Shapely.SlackBuild
-
gis/Shapely/Shapely.info
|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
|
|
@ -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" |
|
|
|
|