wok annotate python-wcwidth/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 22a684b847c2
children 076f424196b2
rev   line source
paul@18811 1 # SliTaz package receipt.
paul@18811 2
paul@18811 3 PACKAGE="python-wcwidth"
Hans-G?nter@23577 4 VERSION="0.1.9"
paul@18811 5 CATEGORY="development"
paul@18811 6 SHORT_DESC="Measures number of Terminal column cells of wide-character codes."
paul@18811 7 MAINTAINER="paul@slitaz.org"
paul@18811 8 LICENSE="MIT"
Hans-G?nter@23577 9 WEB_SITE="https://pypi.org/project/wcwidth/"
Hans-G?nter@23577 10
Hans-G?nter@23577 11 SOURCE="wcwidth"
paul@18811 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23577 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
paul@18811 14
paul@18811 15 DEPENDS="python"
Hans-G?nter@23577 16 BUILD_DEPENDS="python python-dev python-setuptools"
paul@18811 17
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
paul@18811 23 # Rules to configure and make the package.
paul@18811 24 compile_rules()
paul@18811 25 {
paul@18811 26 python setup.py install --root=$DESTDIR
paul@18811 27 }
paul@18811 28
paul@18811 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18811 30 genpkg_rules()
paul@18811 31 {
Hans-G?nter@23577 32 cp -a $install/usr $fs
paul@18811 33 }