From aef63afe49d64c88d3bede09433788012811b02a Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Wed, 15 Mar 2017 14:04:22 -0700 Subject: python/cssutils: Updated for version 1.0.2 Signed-off-by: Larry Hajali --- python/cssutils/README | 7 ++++++- python/cssutils/cssutils.SlackBuild | 9 +++------ python/cssutils/cssutils.info | 6 +++--- 3 files changed, 12 insertions(+), 10 deletions(-) (limited to 'python') diff --git a/python/cssutils/README b/python/cssutils/README index e5604f71fef5..7fd1da7d4fde 100644 --- a/python/cssutils/README +++ b/python/cssutils/README @@ -1,3 +1,8 @@ A Python package to parse and build CSS Cascading Style Sheets. -Optional dependencies: python-chardet and gdata. +Optional dependencies: python3, python-chardet and gdata. + +Note: To install the python 3 bindings pass PYTHON3="yes" to +the slackbuild + + # PYTHON3="yes" ./cssutils.slackBuild diff --git a/python/cssutils/cssutils.SlackBuild b/python/cssutils/cssutils.SlackBuild index 6b5b98cb7258..577dfae5332c 100644 --- a/python/cssutils/cssutils.SlackBuild +++ b/python/cssutils/cssutils.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cssutils -# Copyright 2009-2015 Larry Hajali +# Copyright 2009-2017 Larry Hajali # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cssutils -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ OUTPUT=${OUTPUT:-/tmp} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -62,9 +62,6 @@ for FILE in $(find . -type f -exec grep -Pl '\r$' {} \;); do mv ${FILE}.new $FILE done -# Don't use ez_setup. Use system setuptools or fail. -sed -i '/ez_setup/d' setup.py - python setup.py install --root=$PKG if [ "${PYTHON3:-no}" == "yes" ]; then diff --git a/python/cssutils/cssutils.info b/python/cssutils/cssutils.info index 8d1b3a7bfa4b..9e8347797b84 100644 --- a/python/cssutils/cssutils.info +++ b/python/cssutils/cssutils.info @@ -1,8 +1,8 @@ PRGNAM="cssutils" -VERSION="1.0.1" +VERSION="1.0.2" HOMEPAGE="https://bitbucket.org/cthedot/cssutils" -DOWNLOAD="http://pypi.python.org/packages/source/c/cssutils/cssutils-1.0.1.tar.gz" -MD5SUM="7fcdf2c3e9f053136af1990146eb361d" +DOWNLOAD="https://pypi.python.org/packages/5c/0b/c5f29d29c037e97043770b5e7c740b6252993e4b57f029b3cd03c78ddfec/cssutils-1.0.2.tar.gz" +MD5SUM="dc66d96c2d78f1687f59ac412fe9d318" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3