# HG changeset patch # User Claudinei Pereira # Date 1374703390 10800 # Node ID 28e39e49b41a4b0b1217bf3ca0048170bceba7cd # Parent 24aee5c78b9f9c0d0a3c8f05ee4a53dd550e148a Up: python-html5lib (0.95) diff -r 24aee5c78b9f -r 28e39e49b41a python-html5lib/receipt --- a/python-html5lib/receipt Wed Jul 24 19:02:34 2013 -0300 +++ b/python-html5lib/receipt Wed Jul 24 19:03:10 2013 -0300 @@ -1,33 +1,25 @@ # SliTaz package receipt. PACKAGE="python-html5lib" -SOURCE="html5lib" -VERSION="0.11.1" +VERSION="0.95" CATEGORY="development" -SHORT_DESC="A ruby/python based html parser/tokenizer." +SHORT_DESC="Standarts-compliant library for parsing HTML documents in Python." MAINTAINER="claudinei@slitaz.org" -TARBALL="$SOURCE-$VERSION.zip" -WEB_SITE="http://code.google.com/p/html5lib" -WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" -DEPENDS="python" -BUILD_DEPENDS="python python-dev setuptools" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/html5lib/html5lib-python" +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" +DEPENDS="python python-six" +BUILD_DEPENDS="python-dev setuptools wget" # Rules to configure and make the package. compile_rules() { cd $src - python setup.py install --root=$PWD/_pkg + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $_pkg/usr $fs + cp -a $install/usr $fs } - -# Remove old package. -post_install() -{ - rm -rf $1/var/lib/tazpkg/installed/html5lib -} \ No newline at end of file