wok view python-gazpacho/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents e66efc062996
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-gazpacho"
4 SOURCE="gazpacho"
5 VERSION="0.7.2"
6 CATEGORY="development"
7 SHORT_DESC="A GUI builder for the GTK+ toolkit"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="LGPL2.1"
10 SUGGESTED="twisted"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="https://web.archive.org/web/20090425115052/http://gazpacho.sicem.biz/"
13 WGET_URL="https://download.gnome.org/sources/$SOURCE/${VERSION%.*}/$TARBALL"
15 DEPENDS="python pygtk python-kiwi"
16 BUILD_DEPENDS="python python-dev pygtk python-kiwi"
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 || return 1
28 mkdir -p $DESTDIR/usr/share/locale/pt
29 cp -a locale/fr $DESTDIR/usr/share/locale
30 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share $fs/usr
40 }