# HG changeset patch # User Hans-G?nter Theisgen # Date 1586093127 -3600 # Node ID ce1d8474468331684dd731dccaab73eff4a26595 # Parent f1020832b94b210b329c96d0d71f0f9d0676f17a updated python-chardet (2.0.1 -> 3.0.4) diff -r f1020832b94b -r ce1d84744683 python-chardet/receipt --- a/python-chardet/receipt Sun Apr 05 11:03:33 2020 +0200 +++ b/python-chardet/receipt Sun Apr 05 14:25:27 2020 +0100 @@ -1,27 +1,29 @@ # SliTaz package receipt. PACKAGE="python-chardet" -SOURCE=python2-chardet -VERSION="2.0.1" +VERSION="3.0.4" CATEGORY="development" -MAINTAINER="devel@slitaz.org" -SHORT_DESC="Python module for character encoding auto-detection" +MAINTAINER="maintainer@slitaz.org" +SHORT_DESC="Python module for character encoding auto-detection." LICENSE="LGPL2.1" WEB_SITE="https://github.com/chardet/chardet" -TARBALL="$SOURCE-$VERSION.tgz" -WGET_URL="$WEB_SITE/download/$TARBALL" + +SOURCE=chardet +TARBALL="$PACKAGE-$VERSION.tgz" +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" DEPENDS="python" BUILD_DEPENDS="python-dev" # Rules to configure and make the package. -compile_rules() { +compile_rules() +{ python setup.py install --root=$DESTDIR --optimize=1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs + cp -a $install/usr $fs }