wok-next diff python-chardet/receipt @ rev 19857

Up paper-gtk-theme, slitaz-next.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 07 23:39:42 2017 +0300 (2017-09-07)
parents 16df76e1fc6a
children 0e7893ac206d
line diff
     1.1 --- a/python-chardet/receipt	Fri May 22 17:34:18 2015 +0300
     1.2 +++ b/python-chardet/receipt	Thu Sep 07 23:39:42 2017 +0300
     1.3 @@ -1,27 +1,24 @@
     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 +SHORT_DESC="Python module for character encoding auto-detection"
    1.12  MAINTAINER="devel@slitaz.org"
    1.13 -SHORT_DESC="Python module for character encoding auto-detection"
    1.14  LICENSE="LGPL2.1"
    1.15 -WEB_SITE="http://chardet.feedparser.org"
    1.16 -TARBALL="$SOURCE-$VERSION.tgz"
    1.17 -WGET_URL="$WEB_SITE/download/$TARBALL"
    1.18 +WEB_SITE="https://pypi.python.org/pypi/chardet"
    1.19  
    1.20 -DEPENDS="python"
    1.21 -BUILD_DEPENDS="python-dev"
    1.22 +BUILD_DEPENDS="python"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  
    1.26  compile_rules() {
    1.27 -	python setup.py install --root=$DESTDIR --optimize=1
    1.28 +	pip install --no-compile --root=$DESTDIR chardet
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34 -	cp -a $install/usr $fs
    1.35 +	copy @std
    1.36 +	DEPENDS="python"
    1.37  }