summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 dee0cc2703..a7979bc675 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 8e6e054ae2..47cf90b7cd 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"