aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2014-09-25 17:06:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-25 17:06:48 +0700
commite188c623a9f5fa43cdafdcadb227fe0f4c9bac30 (patch)
tree29834f1f4cb0b4d38767c3ce7b41413c3c10e98e
parent4034ec33c20a0fbde25ad91e935a96546d4a4760 (diff)
audio/python-audiotools: Updated for version 2.22.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/python-audiotools/doinst.sh15
-rw-r--r--audio/python-audiotools/python-audiotools.SlackBuild6
-rw-r--r--audio/python-audiotools/python-audiotools.info6
3 files changed, 5 insertions, 22 deletions
diff --git a/audio/python-audiotools/doinst.sh b/audio/python-audiotools/doinst.sh
deleted file mode 100644
index ee19f823a37a7..0000000000000
--- a/audio/python-audiotools/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/audiotools.cfg.new
-
diff --git a/audio/python-audiotools/python-audiotools.SlackBuild b/audio/python-audiotools/python-audiotools.SlackBuild
index 705cfeb17d2d2..8f3c02cc1bfb8 100644
--- a/audio/python-audiotools/python-audiotools.SlackBuild
+++ b/audio/python-audiotools/python-audiotools.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Python Audio Tools
# Home Page: http://audiotools.sourceforge.net/
-# Copyright (c) 2010-2013, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2010-2014, Nishant Limbachia, Hoffman Estates, IL, USA
# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="python-audiotools"
-VERSION=${VERSION:-2.20}
+VERSION=${VERSION:-2.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,7 +80,6 @@ python setup.py install --root=$PKG
mkdir -p $PKG/usr/man/man{1,5}
( cd docs; make install MAN_PATH=$PKG/usr/man )
-mv $PKG/etc/audiotools.cfg $PKG/etc/audiotools.cfg.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -88,7 +87,6 @@ cp -a COPYING INSTALL TODO $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/python-audiotools/python-audiotools.info b/audio/python-audiotools/python-audiotools.info
index d0e859fec24aa..d45bdfffd611a 100644
--- a/audio/python-audiotools/python-audiotools.info
+++ b/audio/python-audiotools/python-audiotools.info
@@ -1,8 +1,8 @@
PRGNAM="python-audiotools"
-VERSION="2.20"
+VERSION="2.22"
HOMEPAGE="http://audiotools.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/audiotools/audiotools-2.20.tar.gz"
-MD5SUM="a295105ad23689bdecd3952aa8736302"
+DOWNLOAD="http://downloads.sourceforge.net/audiotools/audiotools-2.22.tar.gz"
+MD5SUM="8e373a6c8caf4d55bcd501c5ab6ea555"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""