wok view python-pywebdav/receipt @ rev 24288

fail2ban: add log4j-jndi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 13 18:29:05 2022 +0000 (2022-01-13)
parents 814362194a8d
children 076f424196b2
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="http://pywebdav.googlecode.com/files/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python python-setuptools"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
20 }
22 # Rules to configure and make the package.
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 }