aboutsummaryrefslogtreecommitdiff
path: root/libraries/discogs-client
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-03-26 02:43:41 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-28 02:22:12 +0700
commit1777070f315f4b0af163b592d7e67beeacac6418 (patch)
treebe192234a744f1031eb22bdb68cad875d93fbff0 /libraries/discogs-client
parent1c83b139dc8d953e8e1870a279020e542293bd12 (diff)
libraries/discogs-client: Updated for version 2.0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/discogs-client')
-rw-r--r--libraries/discogs-client/discogs-client.SlackBuild12
-rw-r--r--libraries/discogs-client/discogs-client.info8
2 files changed, 8 insertions, 12 deletions
diff --git a/libraries/discogs-client/discogs-client.SlackBuild b/libraries/discogs-client/discogs-client.SlackBuild
index ad7f7b1c6734d..56aff279c384c 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 6f109aa2a0067..8a8119a105ee1 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"