SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-webdav"

# SliTaz package receipt.

PACKAGE="python-webdav"
VERSION="0.5"
CATEGORY="development"
SHORT_DESC="A WebDAV client library for Python."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
TARBALL="${PACKAGE}_$VERSION.tar.gz"
WEB_SITE="https://sourceforge.net/projects/python-webdav/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python-dev python"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/python-webdav/files/ 2>/dev/null | \
    sed '/scope="row/!d;/tar.gz/!d;s|.*/python-webdav_||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build &&
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs
    cp -a $install/usr $fs
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)