wok view python-webdav/receipt @ rev 25457

Normazile https://sourceforge.net/projects web_sites
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 23 08:28:09 2022 +0000 (19 months ago)
parents 080c1dff8494
children 69e1e705f038
line source
1 # SliTaz package receipt.
3 PACKAGE="python-webdav"
4 VERSION="0.5"
5 CATEGORY="development"
6 SHORT_DESC="A WebDAV client library for Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="${PACKAGE}_$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/python-webdav"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev python"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/python-webdav/files/ 2>/dev/null | \
20 sed '/scope="row/!d;/tar.gz/!d;s|.*/python-webdav_||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py build &&
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 }