summaryrefslogtreecommitdiff
path: root/python/colorama/colorama.SlackBuild
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/colorama/colorama.SlackBuild
parentc26b971d080371f47752bd706c9cfc317b34affd (diff)
downloadslackbuilds-6b5d3bd2843f7868bd337456a63ce02992c28d18.tar.gz
python/colorama: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/colorama/colorama.SlackBuild')
-rw-r--r--python/colorama/colorama.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/python/colorama/colorama.SlackBuild b/python/colorama/colorama.SlackBuild
index 5a52a119cf..e0a13d26a5 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