python/python-twitter: Updated for version 2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5ea9e1bea3
commit
f00c69d9f1
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=python-twitter
|
PRGNAM=python-twitter
|
||||||
VERSION=${VERSION:-1.3.1}
|
VERSION=${VERSION:-2.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a CHANGES COPYING LICENSE NOTICE PKG-INFO README.md examples/* \
|
cp -a CHANGES COPYING LICENSE NOTICE PKG-INFO *.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="python-twitter"
|
PRGNAM="python-twitter"
|
||||||
VERSION="1.3.1"
|
VERSION="2.0"
|
||||||
HOMEPAGE="https://github.com/bear/python-twitter"
|
HOMEPAGE="https://github.com/bear/python-twitter"
|
||||||
DOWNLOAD="https://pypi.python.org/packages/source/p/python-twitter/python-twitter-1.3.1.tar.gz"
|
DOWNLOAD="https://pypi.python.org/packages/source/p/python-twitter/python-twitter-2.0.tar.gz"
|
||||||
MD5SUM="84a1076388187196b4d83a6a658d722a"
|
MD5SUM="a232cac55f121509da7fc2db15ef9614"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="simplejson python-oauth2 requests-oauthlib"
|
REQUIRES="simplejson requests-oauthlib"
|
||||||
MAINTAINER="Dimitris Zlatanidis"
|
MAINTAINER="Dimitris Zlatanidis"
|
||||||
EMAIL="d.zlatanidis@gmail.com"
|
EMAIL="d.zlatanidis@gmail.com"
|
||||||
|
|
Loading…
Reference in New Issue