summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2014-08-01 03:25:02 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:32:16 +0700
commita56725d13bb1f3d6712b2574b9687a11ce07812c (patch)
treeefc4c4f9e074eb0f8bcad98389b7a24c91026ce2
parent3cba46f775a20a40a769a96ca1b0f505d4f0d123 (diff)
downloadslackbuilds-a56725d13bb1f3d6712b2574b9687a11ce07812c.tar.gz
gis/geopy: Updated for version 1.1.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--gis/geopy/geopy.SlackBuild10
-rw-r--r--gis/geopy/geopy.info6
2 files changed, 6 insertions, 10 deletions
diff --git a/gis/geopy/geopy.SlackBuild b/gis/geopy/geopy.SlackBuild
index cf629e6097..f519d322ee 100644
--- a/gis/geopy/geopy.SlackBuild
+++ b/gis/geopy/geopy.SlackBuild
@@ -7,7 +7,7 @@
# Currently maintained by Benjamin Trigona-Harany
PRGNAM=geopy
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,11 +44,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -60,7 +56,7 @@ find -L . \
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/gis/geopy/geopy.info b/gis/geopy/geopy.info
index a072dae800..f17ea81d1e 100644
--- a/gis/geopy/geopy.info
+++ b/gis/geopy/geopy.info
@@ -1,8 +1,8 @@
PRGNAM="geopy"
-VERSION="1.0.1"
+VERSION="1.1.0"
HOMEPAGE="https://github.com/geopy/geopy"
-DOWNLOAD="https://github.com/geopy/geopy/archive/1.0.1.tar.gz"
-MD5SUM="dce6477e1bd387e78845d4accb03cc90"
+DOWNLOAD="https://github.com/geopy/geopy/archive/1.1.0.tar.gz"
+MD5SUM="ae8914498cf854fbf84223cbe3ae71e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools"