summaryrefslogtreecommitdiff
path: root/multimedia/beets
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-03-01 07:13:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-01 07:13:17 +0700
commit81df9ea5a4aa56fa888b589316f2cf82a8a0ed5e (patch)
tree16ee601506768c13be40499ecb2ea77c47206468 /multimedia/beets
parent759f9eeec590911e6c6d361128ab3afc4ee48b4e (diff)
downloadslackbuilds-81df9ea5a4aa56fa888b589316f2cf82a8a0ed5e.tar.gz
multimedia/beets: Updated for version 1.3.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/beets')
-rw-r--r--multimedia/beets/README3
-rw-r--r--multimedia/beets/beets.SlackBuild15
-rw-r--r--multimedia/beets/beets.info8
3 files changed, 14 insertions, 12 deletions
diff --git a/multimedia/beets/README b/multimedia/beets/README
index 2e0f93b951..ddef9f9baa 100644
--- a/multimedia/beets/README
+++ b/multimedia/beets/README
@@ -23,3 +23,6 @@ panacea:
If beets doesn't do what you want yet, writing your own plugin is
shockingly simple if you know a little Python.
+
+Optional dependencies:
+Flask, pyechonest, pyacoustid, pylast, python-requests, discogs-client.
diff --git a/multimedia/beets/beets.SlackBuild b/multimedia/beets/beets.SlackBuild
index 5e393f2178..4ab47619bb 100644
--- a/multimedia/beets/beets.SlackBuild
+++ b/multimedia/beets/beets.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=beets
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,8 +54,6 @@ else
LIBDIRSUFFIX=""
fi
-PYTHON=python
-
set -e
rm -rf $PKG
@@ -71,18 +69,19 @@ 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
-# Install man page(s) to correct location:
install -D -m644 man/beet.1 $PKG/usr/man/man1/beet.1
+install -D -m644 man/beetsconfig.5 $PKG/usr/man/man5/beetsconfig.5
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
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 \
- README.rst PKG-INFO docs/*\
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst PKG-INFO LICENSE docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/beets/beets.info b/multimedia/beets/beets.info
index d124e925ff..852c5fba8f 100644
--- a/multimedia/beets/beets.info
+++ b/multimedia/beets/beets.info
@@ -1,10 +1,10 @@
PRGNAM="beets"
-VERSION="1.3.2"
+VERSION="1.3.3"
HOMEPAGE="http://beets.radbox.org"
-DOWNLOAD="https://pypi.python.org/packages/source/b/beets/beets-1.3.2.tar.gz"
-MD5SUM="3da181fd9a87b302681d9bf9598a0bc6"
+DOWNLOAD="https://pypi.python.org/packages/source/b/beets/beets-1.3.3.tar.gz"
+MD5SUM="5c294007d3f4d1915b8f847bc03fcb3d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mutagen munkres Unidecode musicbrainzngs PyYAML Flask pyechonest pyacoustid pylast python-requests discogs-client"
+REQUIRES="mutagen munkres Unidecode musicbrainzngs PyYAML %README%"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"