# Template file for 'duplicity' pkgname=duplicity version=0.7.18.2 revision=1 build_style=python2-module pycompile_module="duplicity" hostmakedepends="python-setuptools" makedepends="python-devel librsync-devel" checkdepends="python-pexpect python-mock python-fasteners gnupg par2cmdline" depends="python-fasteners gnupg" short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm" maintainer="Leah Neukirchen " license="GPL-2.0-or-later" homepage="http://duplicity.nongnu.org/" changelog="http://duplicity.nongnu.org/CHANGELOG" distfiles="http://code.launchpad.net/duplicity/${version%.*.*}-series/${version}/+download/duplicity-${version}.tar.gz" checksum=c236888f43128e96cd33017b01a2855c0e24738195fed5cadad08c28fd6b6748 post_extract() { chmod 0644 bin/*.1 } do_check() { python2 setup.py test } post_install() { # drop doc rm -rf ${DESTDIR}/usr/share/doc }