summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gis/Shapely/Shapely.SlackBuild4
-rw-r--r--gis/Shapely/Shapely.info6
2 files changed, 5 insertions, 5 deletions
diff --git a/gis/Shapely/Shapely.SlackBuild b/gis/Shapely/Shapely.SlackBuild
index 1c1efc2a05..8b7e3a2e46 100644
--- a/gis/Shapely/Shapely.SlackBuild
+++ b/gis/Shapely/Shapely.SlackBuild
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,7 +78,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO CHANGES.txt CREDITS.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES.txt CREDITS.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/gis/Shapely/Shapely.info b/gis/Shapely/Shapely.info
index dc65190023..70a7383734 100644
--- a/gis/Shapely/Shapely.info
+++ b/gis/Shapely/Shapely.info
@@ -1,8 +1,8 @@
PRGNAM="Shapely"
VERSION="1.5.9"
-HOMEPAGE="http://pypi.python.org/pypi/Shapely/"
-DOWNLOAD="https://pypi.python.org/packages/source/S/Shapely/Shapely-1.5.9.tar.gz"
-MD5SUM="b502824b154a49fbb8f33703d71557dd"
+HOMEPAGE="https://github.com/Toblerity/Shapely"
+DOWNLOAD="https://github.com/Toblerity/Shapely/archive/1.5.9.tar.gz"
+MD5SUM="d274282a6f709d39220f94491efd166e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos"