wok-current annotate python-wcwidth/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents 076f424196b2
children
rev   line source
paul@18811 1 # SliTaz package receipt.
paul@18811 2
paul@18811 3 PACKAGE="python-wcwidth"
Hans-G?nter@25247 4 VERSION="0.2.5"
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@25247 10 REPOLOGY="python:wcwidth"
Hans-G?nter@23577 11
Hans-G?nter@23577 12 SOURCE="wcwidth"
paul@18811 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23577 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
paul@18811 15
paul@18811 16 DEPENDS="python"
Hans-G?nter@23577 17 BUILD_DEPENDS="python python-dev python-setuptools"
paul@18811 18
pascal@24383 19 # What is the latest version available today?
pascal@24288 20 current_version()
pascal@24288 21 {
pascal@24383 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 23 }
pascal@24288 24
paul@18811 25 # Rules to configure and make the package.
paul@18811 26 compile_rules()
paul@18811 27 {
paul@18811 28 python setup.py install --root=$DESTDIR
paul@18811 29 }
paul@18811 30
paul@18811 31 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18811 32 genpkg_rules()
paul@18811 33 {
Hans-G?nter@25247 34 cook_copy_folders lib
paul@18811 35 }