wok annotate python-wcwidth/receipt @ rev 25017

updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 06:55:41 2022 +0100 (2022-05-18)
parents 1df6fa555414
children d90c890997e3
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@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 22 }
pascal@24288 23
paul@18811 24 # Rules to configure and make the package.
paul@18811 25 compile_rules()
paul@18811 26 {
paul@18811 27 python setup.py install --root=$DESTDIR
paul@18811 28 }
paul@18811 29
paul@18811 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18811 31 genpkg_rules()
paul@18811 32 {
Hans-G?nter@23577 33 cp -a $install/usr $fs
paul@18811 34 }