void-packages/srcpkgs/duplicity/template

32 lines
934 B
Bash

# Template file for 'duplicity'
pkgname=duplicity
version=0.8.11.1596
revision=2
build_style=python3-module
pycompile_module="duplicity"
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://code.launchpad.net/duplicity/${version%.*.*}-series/${version%.*}/+download/duplicity-${version}.tar.gz"
checksum=09826a6e5706db1fc9a2c5624fc7f13c0ec1289111676eb9b323b0c69757aae1
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
}