summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=""