libraries/cssutils: Updated for version 0.9.6

This commit is contained in:
Larry Hajali 2010-05-13 00:29:06 +02:00 committed by Erik Hanson
parent 76230a4354
commit ae2eba26d3
4 changed files with 20 additions and 15 deletions

View file

@ -1,3 +1,3 @@
A Python package to parse and build CSS Cascading Style Sheets.
Requires pysetuptools.
Requires pysetuptools.

View file

@ -3,7 +3,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=cssutils
VERSION=${VERSION:-0.9.6a4}
VERSION=${VERSION:-0.9.6}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -35,6 +35,8 @@ for FILE in $(find . -type f -exec grep -Pl '\r\n' {} \;); do
rm -f ${FILE}.tmp
done
sed -i '/use_setuptools/d' setup.py
python setup.py install --root=$PKG
( cd $PKG
@ -49,9 +51,11 @@ cp -a \
*.txt COPYING* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove unneeded tests directory.
rm -rf $PKG/usr/lib*/python*/site-packages/tests
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="cssutils"
VERSION="0.9.6a4"
VERSION="0.9.6"
HOMEPAGE="http://code.google.com/p/cssutils/"
DOWNLOAD="http://cssutils.googlecode.com/files/cssutils-0.9.6a4.zip"
MD5SUM="62c077d73853d318fd249bd3397fc5d6"
DOWNLOAD="http://cssutils.googlecode.com/files/cssutils-0.9.6.zip"
MD5SUM="93573ed91ae43c7c8620886111d65a2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="dsomero"
APPROVED="Erik Hanson"

View file

@ -6,15 +6,14 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
cssutils: cssutils (Package to parse and build CSS Cascading Style Sheets)
cssutils: cssutils
cssutils:
cssutils: A Python package to parse and build CSS Cascading Style Sheets.
cssutils:
cssutils: Homepage: http://code.google.com/p/cssutils/
cssutils:
cssutils:
cssutils:
cssutils:
cssutils:
cssutils:
cssutils:
cssutils:
cssutils:
cssutils:
cssutils:
cssutils: