# Contributor: Ɓukasz Jendrysik # Contributor: Matt Smith # Maintainer: Matt Smith pkgname=duplicity pkgver=0.7.19 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="python2 py-boto gnupg ncftp py2-fasteners" makedepends="python2-dev py-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() { cd "$builddir" python2 setup.py build } check() { cd "$builddir/duplicity" python2 compilec.py cd .. # Run a simple smoke-test PYTHONPATH="$PWD" python2 bin/duplicity -V | grep -q duplicity } package() { cd "$builddir" python2 setup.py install --root "$pkgdir" } sha512sums="26d1724a635c368e04f2a94f974ef6962c52b23345db59af3343e7221295caa0215ae119fff6ab44daa4622236683eb9d3dae742bf0d4cf08c02e3f63071001b duplicity-0.7.19.tar.gz"