wok annotate python-urwid/receipt @ rev 25426
updated xalan-c and xalan-c-dev (1.11 -> 1.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:42:41 2022 +0100 (2022-08-18) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
paul@5239 | 1 # SliTaz package receipt. |
paul@5239 | 2 |
paul@5239 | 3 PACKAGE="python-urwid" |
Hans-G?nter@25246 | 4 VERSION="2.1.2" |
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@25246 | 10 REPOLOGY="python:urwid" |
Hans-G?nter@23573 | 11 |
paul@5239 | 12 SOURCE="urwid" |
paul@5239 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23573 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
paul@5239 | 15 |
pascal@14996 | 16 DEPENDS="python" |
Hans-G?nter@23573 | 17 BUILD_DEPENDS="python python-dev" |
pascal@14996 | 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@5239 | 25 # Rules to configure and make the package. |
paul@5239 | 26 compile_rules() |
paul@5239 | 27 { |
paul@13663 | 28 python setup.py install --root=$DESTDIR |
paul@5239 | 29 } |
paul@5239 | 30 |
paul@5239 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5239 | 32 genpkg_rules() |
paul@5239 | 33 { |
Hans-G?nter@25246 | 34 cook_copy_folders lib |
paul@5239 | 35 } |