diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/colorama/README | 1 | ||||
-rw-r--r-- | python/colorama/colorama.SlackBuild | 14 | ||||
-rw-r--r-- | python/colorama/colorama.info | 8 |
3 files changed, 9 insertions, 14 deletions
diff --git a/python/colorama/README b/python/colorama/README index 3b8b8fc503..657ddbd3af 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 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 diff --git a/python/colorama/colorama.info b/python/colorama/colorama.info index 08da4f2c01..86b0e6d8ea 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="" |