diff options
-rw-r--r-- | python/cssutils/README | 7 | ||||
-rw-r--r-- | python/cssutils/cssutils.SlackBuild | 9 | ||||
-rw-r--r-- | python/cssutils/cssutils.info | 6 |
3 files changed, 12 insertions, 10 deletions
diff --git a/python/cssutils/README b/python/cssutils/README index e5604f71fe..7fd1da7d4f 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 6b5b98cb72..577dfae533 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 <larryhaja[at]gmail[dot]com> +# Copyright 2009-2017 Larry Hajali <larryhaja[at]gmail[dot]com> # 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 8d1b3a7bfa..9e8347797b 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="" |