wok-current annotate python-urwid/receipt @ rev 24363

updated fftw and fftw-dev (3.3.8 -> 3.3.10)
author Hans-G?nter Theisgen
date Fri Feb 04 15:51:08 2022 +0100 (2022-02-04)
parents 044568f14bcc
children 076f424196b2
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@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@5239 23 # Rules to configure and make the package.
paul@5239 24 compile_rules()
paul@5239 25 {
paul@13663 26 python setup.py install --root=$DESTDIR
paul@5239 27 }
paul@5239 28
paul@5239 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@5239 30 genpkg_rules()
paul@5239 31 {
Hans-G?nter@23573 32 cp -a $install/usr $fs
paul@5239 33 }