summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-07-11 23:12:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-11 23:12:45 +0700
commitf00c69d9f17cc026ecaabe4a6ef4efad8e4f30b4 (patch)
tree8b03d398800e4eb6847d28e4dd6278be19b8a762
parent5ea9e1bea3483a625a3a778ca51af75b2076e7f6 (diff)
downloadslackbuilds-f00c69d9f17cc026ecaabe4a6ef4efad8e4f30b4.tar.gz
python/python-twitter: Updated for version 2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-twitter/python-twitter.SlackBuild5
-rw-r--r--python/python-twitter/python-twitter.info8
2 files changed, 6 insertions, 7 deletions
diff --git a/python/python-twitter/python-twitter.SlackBuild b/python/python-twitter/python-twitter.SlackBuild
index 54e87e939d..e0b9858ec2 100644
--- a/python/python-twitter/python-twitter.SlackBuild
+++ b/python/python-twitter/python-twitter.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-twitter
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,8 +61,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING LICENSE NOTICE PKG-INFO README.md examples/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES COPYING LICENSE NOTICE PKG-INFO *.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python-twitter/python-twitter.info b/python/python-twitter/python-twitter.info
index 19a260ed41..594684cf8d 100644
--- a/python/python-twitter/python-twitter.info
+++ b/python/python-twitter/python-twitter.info
@@ -1,10 +1,10 @@
PRGNAM="python-twitter"
-VERSION="1.3.1"
+VERSION="2.0"
HOMEPAGE="https://github.com/bear/python-twitter"
-DOWNLOAD="https://pypi.python.org/packages/source/p/python-twitter/python-twitter-1.3.1.tar.gz"
-MD5SUM="84a1076388187196b4d83a6a658d722a"
+DOWNLOAD="https://pypi.python.org/packages/source/p/python-twitter/python-twitter-2.0.tar.gz"
+MD5SUM="a232cac55f121509da7fc2db15ef9614"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="simplejson python-oauth2 requests-oauthlib"
+REQUIRES="simplejson requests-oauthlib"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"