wok-6.x view python-zsi/receipt @ rev 25338

updated svkbd packages ( -> 0.4.1)
author Hans-G?nter Theisgen
date Sun Jul 24 10:22:05 2022 +0100 (2022-07-24)
parents f7dd6559d610
children 65ff25c4de90
line source
1 # SliTaz package receipt.
3 PACKAGE="python-zsi"
4 SOURCE="ZSI"
5 VERSION="2.1-a1"
6 CATEGORY="development"
7 SHORT_DESC="The Zolera Soap Infrastructure for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pywebsvcs.sourceforge.net/zsi.html"
12 WGET_URL="$SF_MIRROR/project/pywebsvcs/$SOURCE/$SOURCE-${VERSION/-/_}/$TARBALL"
14 DEPENDS="python python-pyxml"
15 BUILD_DEPENDS="python-dev python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/pywebsvcs/files/ZSI/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/ZSI/ZSI-||;s|/.*||;s|_|-|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/usr $fs
37 }