wok view python-webdav/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (21 months ago) |
parents | ad0bc3efbf37 |
children |
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 }