summaryrefslogtreecommitdiff
path: root/python/cssutils
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2017-03-15 14:04:22 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:59:24 +0700
commitaef63afe49d64c88d3bede09433788012811b02a (patch)
tree0e724a15efee531bc6b01fb11ae72b5ec879e42d /python/cssutils
parentd379a8a16cfe6e8c0cfe38b8a2d722b9a2831a8f (diff)
downloadslackbuilds-aef63afe49d64c88d3bede09433788012811b02a.tar.gz
python/cssutils: Updated for version 1.0.2
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'python/cssutils')
-rw-r--r--python/cssutils/README7
-rw-r--r--python/cssutils/cssutils.SlackBuild9
-rw-r--r--python/cssutils/cssutils.info6
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=""