void-packages/srcpkgs/duplicity/template
Alessio Sergi 6372506a5f duplicity: python-b2 -> backblaze-b2
Note: duplicity supports many optional protocols (including
backblaze-b2), so it's not an hard dependency.
2018-06-06 18:18:53 +02:00

28 lines
889 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.7.17
revision=2
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=3724c5f1f839e584e49154ee0ff137e6f3450eedbd7f3886f31d2093001cb04a
post_extract() {
chmod 0644 bin/*.1
}
do_check() {
python2 setup.py test
}
post_install() {
# drop doc
rm -rf ${DESTDIR}/usr/share/doc
}