void-packages/srcpkgs/duplicity/template

29 lines
889 B
Bash

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