summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2015-01-12 09:25:34 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-16 23:22:29 +0700
commit266899e9af7c6b5e09b75217091cb0dfa0a101cb (patch)
tree443e9bfcd9b9fa3867803b2ffdaffc90188230c6
parentca69548ed349df534f6d8a258699217ff7628f60 (diff)
downloadslackbuilds-266899e9af7c6b5e09b75217091cb0dfa0a101cb.tar.gz
slackbuilds-266899e9af7c6b5e09b75217091cb0dfa0a101cb.tar.xz
python/colorama: Updated for version 0.3.3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--python/colorama/colorama.SlackBuild8
-rw-r--r--python/colorama/colorama.info6
2 files changed, 7 insertions, 7 deletions
diff --git a/python/colorama/colorama.SlackBuild b/python/colorama/colorama.SlackBuild
index c244c30934..86d6b369a4 100644
--- a/python/colorama/colorama.SlackBuild
+++ b/python/colorama/colorama.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=colorama
-VERSION=${VERSION:-0.3.1}
+VERSION=${VERSION:-0.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,8 +82,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.txt PKG-INFO CHANGELOG.rst LICENSE.txt demos/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst CHANGELOG.rst LICENSE.txt demos/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/colorama/colorama.info b/python/colorama/colorama.info
index 6b8d65bd9b..c95f3308ed 100644
--- a/python/colorama/colorama.info
+++ b/python/colorama/colorama.info
@@ -1,8 +1,8 @@
PRGNAM="colorama"
-VERSION="0.3.1"
+VERSION="0.3.3"
HOMEPAGE="https://github.com/tartley/colorama"
-DOWNLOAD="https://pypi.python.org/packages/source/c/colorama/colorama-0.3.1.tar.gz"
-MD5SUM="95ce8bf32f5c25adea14b809db3509cb"
+DOWNLOAD="https://github.com/tartley/colorama/archive/v0.3.3.tar.gz"
+MD5SUM="395439c56c4a74878f3ecf4b331575e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""