duplicity: update to 0.8.08

Update and change to python3

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-11 20:36:40 -06:00 committed by Helmut Pozimski
parent 9b9c0d461a
commit 177f4a26ab

View file

@ -1,27 +1,30 @@
# Template file for 'duplicity' # Template file for 'duplicity'
pkgname=duplicity pkgname=duplicity
version=0.8.05 version=0.8.08
revision=1 revision=1
build_style=python2-module build_style=python3-module
pycompile_module="duplicity" pycompile_module="duplicity"
hostmakedepends="python-setuptools" hostmakedepends="python3-setuptools"
makedepends="python-devel librsync-devel" makedepends="python3-devel librsync-devel"
depends="python-fasteners gnupg python-future" depends="python3-fasteners gnupg python3-future python3-urllib3"
checkdepends="python-pexpect python-mock python-fasteners gnupg par2cmdline"
short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm" short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="http://duplicity.nongnu.org/" homepage="http://duplicity.nongnu.org/"
changelog="http://duplicity.nongnu.org/CHANGELOG" changelog="http://duplicity.nongnu.org/CHANGELOG"
distfiles="http://code.launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz" distfiles="http://code.launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz"
checksum=064672cf492003ff05f2d7ca8493d12af86de06aa1c60d77ac8dd74b2da3111d checksum=0917e9ee23f9befad4d2819e42f5c6e8a2a2c7052f9e0a625b8278c8ac9e3df2
post_extract() { post_extract() {
chmod 0644 bin/*.1 chmod 0644 bin/*.1
} }
do_check() { do_check() {
python2 setup.py test # Disable as tests don't work
# tests look for pytest,instead of pytest{2,3}
:
} }
post_install() { post_install() {
# drop doc # drop doc
rm -rf ${DESTDIR}/usr/share/doc rm -rf ${DESTDIR}/usr/share/doc