wok-current annotate python-zsi/receipt @ rev 24507

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