Browse Source

python/cssutils: Updated for version 1.0.2

Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
pull/47/head
Larry Hajali 9 years ago
committed by Willy Sudiarto Raharjo
parent
commit
aef63afe49
  1. 7
      python/cssutils/README
  2. 9
      python/cssutils/cssutils.SlackBuild
  3. 6
      python/cssutils/cssutils.info

7
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

9
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

6
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=""

Loading…
Cancel
Save