wok diff python-html5lib/receipt @ rev 15094

py3k: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 22:28:38 2013 +0000 (2013-08-13)
parents ad73f7efcc3d
children 2a5cc8208d36
line diff
     1.1 --- a/python-html5lib/receipt	Fri Jun 12 11:12:54 2009 +0000
     1.2 +++ b/python-html5lib/receipt	Tue Aug 13 22:28:38 2013 +0000
     1.3 @@ -1,33 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-html5lib"
     1.7 -SOURCE="html5lib"
     1.8 -VERSION="0.11.1"
     1.9 +VERSION="0.95"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="A ruby/python based html parser/tokenizer."
    1.12 +SHORT_DESC="Standarts-compliant library for parsing HTML documents in Python."
    1.13  MAINTAINER="claudinei@slitaz.org"
    1.14 -TARBALL="$SOURCE-$VERSION.zip"
    1.15 -WEB_SITE="http://code.google.com/p/html5lib"
    1.16 -WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
    1.17 -DEPENDS="python"
    1.18 -BUILD_DEPENDS="python python-dev setuptools"
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WEB_SITE="https://github.com/html5lib/html5lib-python"
    1.21 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.22 +DEPENDS="python python-six"
    1.23 +BUILD_DEPENDS="python-dev setuptools wget"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	cd $src
    1.29 -	python setup.py install --root=$PWD/_pkg
    1.30 +	python setup.py install --root=$DESTDIR
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr
    1.37 -	cp -a $_pkg/usr $fs
    1.38 +	cp -a $install/usr $fs
    1.39  }
    1.40 -
    1.41 -# Remove old package.
    1.42 -post_install()
    1.43 -{
    1.44 -	rm -rf $1/var/lib/tazpkg/installed/html5lib
    1.45 -}
    1.46 \ No newline at end of file