void-packages/srcpkgs/duplicity/template

32 lines
910 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.8.08
revision=1
build_style=python3-module
pycompile_module="duplicity"
hostmakedepends="python3-setuptools"
makedepends="python3-devel librsync-devel"
depends="python3-fasteners gnupg python3-future python3-urllib3"
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=0917e9ee23f9befad4d2819e42f5c6e8a2a2c7052f9e0a625b8278c8ac9e3df2
post_extract() {
chmod 0644 bin/*.1
}
do_check() {
# Disable as tests don't work
# tests look for pytest,instead of pytest{2,3}
:
}
post_install() {
# drop doc
rm -rf ${DESTDIR}/usr/share/doc
}