wok-6.x annotate python-urwid/receipt @ rev 24780

transmission: autoconf 2.70+ bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 20:17:02 2022 +0000 (2022-03-19)
parents 1df6fa555414
children 9971782ef811
rev   line source
paul@5239 1 # SliTaz package receipt.
paul@5239 2
paul@5239 3 PACKAGE="python-urwid"
Hans-G?nter@23573 4 VERSION="2.1.0"
paul@5239 5 CATEGORY="development"
paul@5239 6 SHORT_DESC="Console user interface library for Python."
paul@5239 7 MAINTAINER="paul@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@23573 9 WEB_SITE="https://pypi.org/project/urwid/"
Hans-G?nter@23573 10
paul@5239 11 SOURCE="urwid"
paul@5239 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23573 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
paul@5239 14
pascal@14996 15 DEPENDS="python"
Hans-G?nter@23573 16 BUILD_DEPENDS="python python-dev"
pascal@14996 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@5239 24 # Rules to configure and make the package.
paul@5239 25 compile_rules()
paul@5239 26 {
paul@13663 27 python setup.py install --root=$DESTDIR
paul@5239 28 }
paul@5239 29
paul@5239 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@5239 31 genpkg_rules()
paul@5239 32 {
Hans-G?nter@23573 33 cp -a $install/usr $fs
paul@5239 34 }