void-packages/srcpkgs/duplicity/template

29 lines
892 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.7.19
revision=1
build_style=python2-module
pycompile_module="duplicity"
hostmakedepends="python-setuptools"
makedepends="python-devel librsync-devel"
depends="python-fasteners gnupg"
checkdepends="python-pexpect python-mock python-fasteners gnupg par2cmdline"
short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm"
maintainer="Leah Neukirchen <leah@vuxu.org>"
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=a6aa905a63df5101193d3e8fd4ffdf35acb9307b184ac7a9d68a76aaed6ce929
post_extract() {
chmod 0644 bin/*.1
}
do_check() {
python2 setup.py test
}
post_install() {
# drop doc
rm -rf ${DESTDIR}/usr/share/doc
}