# Contributor: Ɓukasz Jendrysik # Contributor: Matt Smith # Maintainer: Matt Smith pkgname=duplicity pkgver=0.7.18.2 pkgrel=0 pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm" url="http://duplicity.nongnu.org/" arch="all" license="GPL" 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="7fb477b1bbbfe060daf130a5b0518a53b7c6e6705e5459c191fb44c8a723c9a5e2126db98544951ffb807a5de7e127168cba165a910f962ed055d74066f0faa5 duplicity-0.7.18.2.tar.gz"