aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-18 11:33:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:43 +0700
commit6b5d3bd2843f7868bd337456a63ce02992c28d18 (patch)
treeff6037537fa7060709d1e7aac89bb5473869c141 /python
parentc26b971d080371f47752bd706c9cfc317b34affd (diff)
python/colorama: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/colorama/README1
-rw-r--r--python/colorama/colorama.SlackBuild14
-rw-r--r--python/colorama/colorama.info8
3 files changed, 9 insertions, 14 deletions
diff --git a/python/colorama/README b/python/colorama/README
index 3b8b8fc50353c..657ddbd3af912 100644
--- a/python/colorama/README
+++ b/python/colorama/README
@@ -26,4 +26,3 @@ Demo scripts in the source code repository prints some colored text
using ANSI sequences. Compare their output under Gnome-terminal's
built in ANSI handling, versus on Windows Command-Prompt using
Colorama.
-See demos files '$ /usr/doc/colorama-0.2.7/'
diff --git a/python/colorama/colorama.SlackBuild b/python/colorama/colorama.SlackBuild
index 5a52a119cfa81..e0a13d26a5120 100644
--- a/python/colorama/colorama.SlackBuild
+++ b/python/colorama/colorama.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=colorama
-VERSION=${VERSION:-0.2.7}
+VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,15 +78,11 @@ if $(python3 -c 'import sys' 2>/dev/null); then
fi
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
+ | 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.txt PKG-INFO 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 08da4f2c0186b..86b0e6d8eaa9c 100644
--- a/python/colorama/colorama.info
+++ b/python/colorama/colorama.info
@@ -1,8 +1,8 @@
PRGNAM="colorama"
-VERSION="0.2.7"
-HOMEPAGE="http://code.google.com/p/colorama/"
-DOWNLOAD="https://pypi.python.org/packages/source/c/colorama/colorama-0.2.7.tar.gz"
-MD5SUM="2c30fa1472c7dfa7ff5cf931fd9e4988"
+VERSION="0.3.0"
+HOMEPAGE="https://github.com/tartley/colorama"
+DOWNLOAD="https://pypi.python.org/packages/source/c/colorama/colorama-0.3.0.zip"
+MD5SUM="21bf97cd821ecfc5bf6fa56f77388161"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""