wok-next annotate python-chardet/receipt @ rev 20778

git update: 2.16.2 (Feb-2018) -> 2.17.1 (May-2018)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Jun 08 09:36:49 2018 +0000 (2018-06-08)
parents 6c73b944e8dd
children 9b3461bf373c
rev   line source
slaxemulator@6839 1 # SliTaz package receipt.
slaxemulator@6839 2
slaxemulator@6839 3 PACKAGE="python-chardet"
al@20732 4 VERSION="latest"
slaxemulator@6839 5 CATEGORY="development"
al@19763 6 SHORT_DESC="Python module for character encoding auto-detection"
slaxemulator@6839 7 MAINTAINER="devel@slitaz.org"
pascal@15378 8 LICENSE="LGPL2.1"
al@19763 9 WEB_SITE="https://pypi.python.org/pypi/chardet"
slaxemulator@6839 10
al@20444 11 BUILD_DEPENDS="python"
slaxemulator@6839 12
slaxemulator@6839 13 compile_rules() {
al@19763 14 pip install --no-compile --root=$DESTDIR chardet
slaxemulator@6839 15 }
al@18077 16
al@20443 17 genpkg_rules() {
al@20732 18 VERSION=$(sed -n '/^Successfully installed/ s|.*chardet-||p' $LOGS/$PACKAGE.log)
al@19763 19 copy @std
al@19763 20 DEPENDS="python"
slaxemulator@6839 21 }