void-packages/srcpkgs/duplicity/template

26 lines
890 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=2.2.3
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="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://duplicity.gitlab.io"
changelog="https://gitlab.com/duplicity/duplicity/-/raw/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/d/duplicity/duplicity-${version}.tar.gz"
checksum=4ad43f93601b1a41fb5f642bdda1706a1fb75f8ef1d6d482dd7f23107eaee87d
duplicity-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}