wok-current view python-kiwi/receipt @ rev 25109

Up perl-date-manip (6.88)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 09:21:55 2022 +0000 (2022-06-25)
parents 6135577f4d08
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-kiwi"
4 SOURCE="kiwi"
5 VERSION="1.9.29"
6 CATEGORY="development"
7 SHORT_DESC="A framework for python applications with graphical user interfaces."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="LGPL2.1"
10 SUGGESTED="zopeinterface libglade"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WEB_SITE="https://pypi.org/project/$SOURCE/"
13 WGET_URL="https://download.gnome.org/sources/kiwi/${VERSION%.*}/$TARBALL"
15 DEPENDS="python gtk+ pygobject pygtk"
16 BUILD_DEPENDS="python-dev gtk+-dev pygobject-dev pygtk-dev wget"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }