28 lines
939 B
Bash
28 lines
939 B
Bash
# Template file for 'duplicity'
|
|
pkgname=duplicity
|
|
version=0.7.16
|
|
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/"
|
|
_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=a8f5e1e77dcc5e03a7d206086b8ef89fa574c59de582ed15db5987c40b842718
|
|
|
|
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
|
|
}
|