void-packages/srcpkgs/duplicity/template

28 lines
873 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.8.18
revision=2
build_style=python3-module
hostmakedepends="gettext python3-setuptools_scm"
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.md"
distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
checksum=2643fea0f52920a0fb114069c78389f9621f1c24db7f26bda77bbc239b01ae53
patch_args=-Np0
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
}