wok diff python-chardet/receipt @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (2022-09-01) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
line diff
1.1 --- a/python-chardet/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/python-chardet/receipt Thu Sep 01 11:12:31 2022 +0000 1.3 @@ -1,18 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-chardet" 1.7 -VERSION="3.0.4" 1.8 +VERSION="4.0.0" # last version with Python 2 support 1.9 CATEGORY="development" 1.10 MAINTAINER="maintainer@slitaz.org" 1.11 SHORT_DESC="Python module for character encoding auto-detection." 1.12 LICENSE="LGPL2.1" 1.13 -WEB_SITE="https://github.com/chardet/chardet" 1.14 +WEB_SITE="https://pypi.org/project/chardet/" 1.15 +REPOLOGY="python:chardet" 1.16 1.17 -SOURCE=chardet 1.18 -TARBALL="$PACKAGE-$VERSION.tgz" 1.19 -WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.20 +SOURCE="chardet" 1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.22 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz" 1.23 1.24 -DEPENDS="python" 1.25 +DEPENDS="python python-setuptools" 1.26 BUILD_DEPENDS="python-dev python-setuptools" 1.27 1.28 current_version() 1.29 @@ -24,11 +25,15 @@ 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - python setup.py install --root=$DESTDIR --optimize=1 1.34 + python setup.py \ 1.35 + install \ 1.36 + --root=$DESTDIR \ 1.37 + --optimize=1 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - cp -a $install/usr $fs 1.44 + cook_copy_folders bin 1.45 + cook_copy_folders lib 1.46 }