void-packages/srcpkgs/duplicity/template
2017-11-13 22:32:56 +01:00

27 lines
888 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.7.15
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"
pycompile_module="duplicity"
short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm"
homepage="http://duplicity.nongnu.org/"
license="GPL-2"
maintainer="Leah Neukirchen <leah@vuxu.org>"
distfiles="http://code.launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
checksum=50bf7d14413284ecb036146ab9ba0e271937f2fa7826f8c8300b2965eb450a6c
post_extract() {
chmod 0644 bin/*.1
}
do_check() {
PYTHONPATH="${PWD}/build/lib.linux-${XBPS_TARGET_MACHINE}-2.7" python2 setup.py test
}
post_install() {
# drop doc
rm -rf ${DESTDIR}/usr/share/doc
}