wok-next rev 14890

Up: python-html5lib (0.95)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:03:10 2013 -0300 (2013-07-24)
parents 24aee5c78b9f
children 153197073b2d
files python-html5lib/receipt
line diff
     1.1 --- a/python-html5lib/receipt	Wed Jul 24 19:02:34 2013 -0300
     1.2 +++ b/python-html5lib/receipt	Wed Jul 24 19:03:10 2013 -0300
     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