aboutsummaryrefslogtreecommitdiff
path: root/python/geopy/geopy.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2013-11-25 09:22:29 -0800
committerRobby Workman <rworkman@slackbuilds.org>2013-11-26 10:33:34 -0600
commit320ba26bc162cc1b1ed2f67eed2ce6ee1bdaa9c8 (patch)
treef9238c21c83e696d7e1edfcfa2e65b17606063a8 /python/geopy/geopy.SlackBuild
parent3a43699fb6efb02d574756e0bf226c41fac9dc7c (diff)
python/geopy: Updated for version 0.96.2.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python/geopy/geopy.SlackBuild')
-rw-r--r--python/geopy/geopy.SlackBuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/python/geopy/geopy.SlackBuild b/python/geopy/geopy.SlackBuild
index dee0cc270345a..a7979bc675aba 100644
--- a/python/geopy/geopy.SlackBuild
+++ b/python/geopy/geopy.SlackBuild
@@ -3,10 +3,11 @@
# SlackBuild for geopy python library
# Written by Dominik Drobek <dominik.drobek (at) o2.pl>
-# Currently maintained by Francisco Sokol <chico.sokol@gmail.com>
+# Formerly maintained by Francisco Sokol <chico.sokol@gmail.com>
+# Currently maintained by Benjamin Trigona-Harany
PRGNAM=geopy
-VERSION=${VERSION:-0.94.1}
+VERSION=${VERSION:-0.96.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,9 +43,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-release-$VERSION
+if [ -e $CWD/release-$VERSION.tar.gz ]; then
+ tar xvf $CWD/release-$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
+fi
+cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -55,7 +60,7 @@ find -L . \
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.markdown RELEASES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install