diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:29:06 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:29:06 +0200 |
commit | ae2eba26d357659189c3dea0fa9064f6df1b9da8 (patch) | |
tree | cb508eba9656125706144fd972817aaedc13632a | |
parent | 76230a4354ebd6b370432be713ad5b69b85fb028 (diff) | |
download | slackbuilds-ae2eba26d357659189c3dea0fa9064f6df1b9da8.tar.gz |
libraries/cssutils: Updated for version 0.9.6
-rw-r--r-- | libraries/cssutils/README | 2 | ||||
-rw-r--r-- | libraries/cssutils/cssutils.SlackBuild | 8 | ||||
-rw-r--r-- | libraries/cssutils/cssutils.info | 10 | ||||
-rw-r--r-- | libraries/cssutils/slack-desc | 15 |
4 files changed, 20 insertions, 15 deletions
diff --git a/libraries/cssutils/README b/libraries/cssutils/README index 5c6cc697cf..62ea934155 100644 --- a/libraries/cssutils/README +++ b/libraries/cssutils/README @@ -1,3 +1,3 @@ A Python package to parse and build CSS Cascading Style Sheets. -Requires pysetuptools.
\ No newline at end of file +Requires pysetuptools. diff --git a/libraries/cssutils/cssutils.SlackBuild b/libraries/cssutils/cssutils.SlackBuild index 473d73d4e7..a884be86d6 100644 --- a/libraries/cssutils/cssutils.SlackBuild +++ b/libraries/cssutils/cssutils.SlackBuild @@ -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} diff --git a/libraries/cssutils/cssutils.info b/libraries/cssutils/cssutils.info index 144a502bcf..687ef8854c 100644 --- a/libraries/cssutils/cssutils.info +++ b/libraries/cssutils/cssutils.info @@ -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" diff --git a/libraries/cssutils/slack-desc b/libraries/cssutils/slack-desc index b0661a808c..0c54a40c6f 100644 --- a/libraries/cssutils/slack-desc +++ b/libraries/cssutils/slack-desc @@ -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: |