wok rev 23470

updated python-chardet (2.0.1 -> 3.0.4)
author Hans-G?nter Theisgen
date Sun Apr 05 14:25:27 2020 +0100 (2020-04-05)
parents f1020832b94b
children 6d80c16e55a1
files python-chardet/receipt
line diff
     1.1 --- a/python-chardet/receipt	Sun Apr 05 11:03:33 2020 +0200
     1.2 +++ b/python-chardet/receipt	Sun Apr 05 14:25:27 2020 +0100
     1.3 @@ -1,27 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-chardet"
     1.7 -SOURCE=python2-chardet
     1.8 -VERSION="2.0.1"
     1.9 +VERSION="3.0.4"
    1.10  CATEGORY="development"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 -SHORT_DESC="Python module for character encoding auto-detection"
    1.13 +MAINTAINER="maintainer@slitaz.org"
    1.14 +SHORT_DESC="Python module for character encoding auto-detection."
    1.15  LICENSE="LGPL2.1"
    1.16  WEB_SITE="https://github.com/chardet/chardet"
    1.17 -TARBALL="$SOURCE-$VERSION.tgz"
    1.18 -WGET_URL="$WEB_SITE/download/$TARBALL"
    1.19 +
    1.20 +SOURCE=chardet
    1.21 +TARBALL="$PACKAGE-$VERSION.tgz"
    1.22 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.23  
    1.24  DEPENDS="python"
    1.25  BUILD_DEPENDS="python-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  
    1.29 -compile_rules() {
    1.30 +compile_rules()
    1.31 +{
    1.32  	python setup.py install --root=$DESTDIR --optimize=1
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	cp -a $install/usr $fs
    1.39 +	cp -a $install/usr	$fs
    1.40  }