# Contributor: Ɓukasz Jendrysik # Contributor: Matt Smith # Maintainer: Matt Smith pkgname=duplicity pkgver=0.8.04 pkgrel=0 pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm" url="http://duplicity.nongnu.org/" arch="all" license="GPL-2.0-or-later" depends="python3 py3-boto gnupg ncftp py3-fasteners" makedepends="python3-dev py3-future py3-setuptools librsync-dev" subpackages="$pkgname-doc $pkgname-lang" source="https://code.launchpad.net/$pkgname/${pkgver:0:3}-series/$pkgver/+download/$pkgname-$pkgver.tar.gz" #builddir="$srcdir/$pkgname-$pkgver" build() { python3 setup.py build } check() { python3 compilec.py # Run a simple smoke-test PYTHONPATH="$PWD" python3 bin/duplicity -V | grep -q duplicity } package() { python3 setup.py install --root "$pkgdir" } sha512sums="ca39e282df9de518535f56fc2b8912426faac069df66d394f191de4ef7edf5c8ebe03623b78c793a7f2615ddb4b3af7f3010150d1fcd6918428db45c5b62b9cf duplicity-0.8.04.tar.gz"