wok-6.x view python-pywebdav/receipt @ rev 25001

updated nnn (4.0 -> 4.5)
author Hans-G?nter Theisgen
date Mon May 16 14:07:26 2022 +0100 (2022-05-16)
parents 076f424196b2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pywebdav"
4 SOURCE="PyWebDAV"
5 VERSION="0.9.8"
6 CATEGORY="development"
7 SHORT_DESC="A WebDAV client library for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="https://files.pythonhosted.org/packages/e9/14/5f2a654233e533797f32dd670dab8dd61ac974d5105950481e872bddb898/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py develop &&
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 }