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>
This commit is contained in:
Benjamin Trigona-Harany 2013-11-25 09:22:29 -08:00 committed by Robby Workman
parent 3a43699fb6
commit 320ba26bc1
2 changed files with 17 additions and 12 deletions

View file

@ -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

View file

@ -1,10 +1,10 @@
PRGNAM="geopy"
VERSION="0.94.1"
HOMEPAGE="http://code.google.com/p/geopy/"
DOWNLOAD="http://geopy.googlecode.com/files/geopy-0.94.1.tar.gz"
MD5SUM="8088f2ae72bfc068594278eaea3740cc"
VERSION="0.96.2"
HOMEPAGE="https://github.com/geopy/geopy"
DOWNLOAD="https://github.com/geopy/geopy/archive/release-0.96.2.tar.gz"
MD5SUM="8c3d7809f40a79d9e5d0aed23018b56e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools"
MAINTAINER="csokol"
EMAIL="chico.sokol@gmail.com"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"