wok-current view python-xlib/receipt @ rev 24547

updated findutils (4.7.0 -> 4.9.0)
author Hans-G?nter Theisgen
date Fri Feb 25 07:40:37 2022 +0100 (2022-02-25)
parents 7390f8de9846
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="python-xlib"
4 VERSION="0.15rc1"
5 CATEGORY="development"
6 SHORT_DESC="X client library for Python programs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/python-xlib/files/python-xlib/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/python-xlib/||;s|/.*||;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 }