void-packages/srcpkgs/duplicity/template

26 lines
916 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.8.23
revision=1
build_style=python3-module
hostmakedepends="gettext python3-setuptools_scm"
makedepends="python3-devel librsync-devel"
depends="python3-fasteners gnupg python3-future python3-urllib3"
checkdepends="$depends python3-pytest python3-mock python3-pexpect
tar par2cmdline"
short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://duplicity.gitlab.io"
changelog="${homepage}/vers8/CHANGELOG.html"
distfiles="https://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
checksum=b24aec0df4849a71de64b743fe9957f09bb80259898e455bdc612c78bdb374e2
duplicity-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}