aboutsummaryrefslogtreecommitdiff
path: root/python
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
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')
-rw-r--r--python/geopy/geopy.SlackBuild17
-rw-r--r--python/geopy/geopy.info12
2 files changed, 17 insertions, 12 deletions
diff --git a/python/geopy/geopy.SlackBuild b/python/geopy/geopy.SlackBuild
index dee0cc270345..a7979bc675ab 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
diff --git a/python/geopy/geopy.info b/python/geopy/geopy.info
index 8e6e054ae220..47cf90b7cd56 100644
--- a/python/geopy/geopy.info
+++ b/python/geopy/geopy.info
@@ -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"