summaryrefslogtreecommitdiffstats
path: root/python/httplib2
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2015-03-10 12:43:44 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-14 16:55:53 +0700
commit0e3fb4668163e3bba8a17cce2677a95018d0ad65 (patch)
tree787017f19777f34592f5cd0311107759f0c24856 /python/httplib2
parent32cb8db1a07a1c0a45fedfb973532844483cf07f (diff)
downloadslackbuilds-0e3fb4668163e3bba8a17cce2677a95018d0ad65.tar.gz
slackbuilds-0e3fb4668163e3bba8a17cce2677a95018d0ad65.tar.xz
python/httplib2: Updated for version 0.9, changed homepage.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python/httplib2')
-rw-r--r--python/httplib2/httplib2.SlackBuild12
-rw-r--r--python/httplib2/httplib2.info8
2 files changed, 10 insertions, 10 deletions
diff --git a/python/httplib2/httplib2.SlackBuild b/python/httplib2/httplib2.SlackBuild
index d9e910a83c..28800c5212 100644
--- a/python/httplib2/httplib2.SlackBuild
+++ b/python/httplib2/httplib2.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for httplib2
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2013
+# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=httplib2
-VERSION=${VERSION:-0.8}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,7 +56,7 @@ fi
PYTHON=python
[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
-DOCS="CHANGELOG README"
+DOCS="CHANGELOG README.md"
set -e
@@ -64,12 +64,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
diff --git a/python/httplib2/httplib2.info b/python/httplib2/httplib2.info
index 34b794f052..cb5640c1aa 100644
--- a/python/httplib2/httplib2.info
+++ b/python/httplib2/httplib2.info
@@ -1,8 +1,8 @@
PRGNAM="httplib2"
-VERSION="0.8"
-HOMEPAGE="https://code.google.com/p/httplib2/"
-DOWNLOAD="http://httplib2.googlecode.com/files/httplib2-0.8.tar.gz"
-MD5SUM="a143657998f6752be998e2ec740e7dec"
+VERSION="0.9"
+HOMEPAGE="https://github.com/jcgregorio/httplib2"
+DOWNLOAD="https://github.com/jcgregorio/httplib2/archive/v0.9.tar.gz"
+MD5SUM="5fd16fb863d33dca000b2590f75e5ed7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""