wok view python-chardet/receipt @ 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 87d7af51ba68
children de3280120146
line source
1 # SliTaz package receipt.
3 PACKAGE="python-chardet"
4 VERSION="3.0.4"
5 CATEGORY="development"
6 MAINTAINER="maintainer@slitaz.org"
7 SHORT_DESC="Python module for character encoding auto-detection."
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/chardet/chardet"
11 SOURCE=chardet
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev"
18 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root=$DESTDIR --optimize=1
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }