summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=""