wok view duplicity/receipt @ rev 25471

duplicity: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 08 08:40:19 2022 +0000 (19 months ago)
parents bfabe25c21ff
children
line source
1 # SliTaz package receipt.
3 PACKAGE="duplicity"
4 VERSION="0.8.09"
5 CATEGORY="network"
6 SHORT_DESC="Encrypted bandwidth-efficient backup using the rsync algorithm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://nongnu.org/duplicity/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ftp.cc.uoc.gr/mirrors/nongnu.org/$PACKAGE/$TARBALL"
14 DEPENDS="cryptopp gnupg lftp librsync paramiko py3k"
15 BUILD_DEPENDS="librsync py3k py3k-dev python-setuptools"
16 # NcFTP boto
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://launchpad.net/duplicity/+download 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }