diff options
-rw-r--r-- | libraries/discogs-client/discogs-client.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/discogs-client/discogs-client.info | 8 |
2 files changed, 8 insertions, 12 deletions
diff --git a/libraries/discogs-client/discogs-client.SlackBuild b/libraries/discogs-client/discogs-client.SlackBuild index ad7f7b1c67..56aff279c3 100644 --- a/libraries/discogs-client/discogs-client.SlackBuild +++ b/libraries/discogs-client/discogs-client.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for discogs-client -# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada +# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=discogs-client -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-2.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,8 +54,6 @@ else LIBDIRSUFFIX="" fi -PYTHON=python - set -e rm -rf $PKG @@ -71,15 +69,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -$PYTHON setup.py install --root=$PKG +python setup.py install --root=$PKG find $PKG -print0 | xargs -0 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 \ - PKG-INFO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/discogs-client/discogs-client.info b/libraries/discogs-client/discogs-client.info index 6f109aa2a0..8a8119a105 100644 --- a/libraries/discogs-client/discogs-client.info +++ b/libraries/discogs-client/discogs-client.info @@ -1,10 +1,10 @@ PRGNAM="discogs-client" -VERSION="1.1.1" +VERSION="2.0.2" HOMEPAGE="https://pypi.python.org/pypi/discogs-client/" -DOWNLOAD="https://pypi.python.org/packages/source/d/discogs-client/discogs-client-1.1.1.tar.gz" -MD5SUM="c8cdbee394174a02a434c1ce8ff934cb" +DOWNLOAD="https://pypi.python.org/packages/source/d/discogs-client/discogs-client-2.0.2.tar.gz" +MD5SUM="2cc57e1d134aa93404e779b9311676fa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="pysetuptools python-requests" +REQUIRES="python-oauth2 python-requests" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" |