void-packages/srcpkgs/duplicity/template

31 lines
890 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.8.16
revision=2
build_style=python3-module
hostmakedepends="gettext 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/vers8/CHANGELOG"
distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
checksum=2cfcd212834979751310d9df1a954b949f86b084efd5ad1f97dd744780ef9d1b
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
}