void-packages/srcpkgs/duplicity/template
Nathan Owens f6a92b9525 duplicity: update to 0.8.05
Added missing runtime dependency
2019-10-30 16:00:23 +01:00

28 lines
906 B
Bash

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