wok-6.x annotate python-webdav/receipt @ rev 24448
firefox-official*: disable update by policy
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 15 10:43:08 2022 +0100 (2022-02-15) |
parents | 86790a278e70 |
children | ad0bc3efbf37 |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-webdav" |
pascal@11727 | 4 VERSION="0.5" |
pascal@11727 | 5 CATEGORY="development" |
pascal@11727 | 6 SHORT_DESC="A WebDAV client library for Python." |
pascal@11727 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
pascal@11727 | 9 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://sourceforge.net/projects/python-webdav/" |
pascal@11727 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11727 | 12 |
pascal@11727 | 13 DEPENDS="python" |
pascal@11727 | 14 BUILD_DEPENDS="python-dev python" |
pascal@11727 | 15 |
pascal@24396 | 16 # What is the latest version available today? |
pascal@24396 | 17 current_version() |
pascal@24396 | 18 { |
pascal@24396 | 19 wget -O - https://sourceforge.net/projects/python-webdav/files/ 2>/dev/null | \ |
pascal@24396 | 20 sed '/scope="row/!d;/tar.gz/!d;s|.*/python-webdav_||;s|.tar.*||;q' |
pascal@24396 | 21 } |
pascal@24396 | 22 |
pascal@11727 | 23 # Rules to configure and make the package. |
pascal@11727 | 24 compile_rules() |
pascal@11727 | 25 { |
pascal@11727 | 26 python setup.py build && |
pascal@11727 | 27 python setup.py install --root=$DESTDIR |
pascal@11727 | 28 } |
pascal@11727 | 29 |
pascal@11727 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 31 genpkg_rules() |
pascal@11727 | 32 { |
pascal@11727 | 33 mkdir -p $fs |
pascal@15376 | 34 cp -a $install/usr $fs |
pascal@11727 | 35 } |