Commit d53444d0 authored by Stefan Reiff's avatar Stefan Reiff Committed by Natanael Copa

main/duplicity: upgrade to 0.8.04 and move to python3

parent a6d05f79
...@@ -2,34 +2,30 @@ ...@@ -2,34 +2,30 @@
# Contributor: Matt Smith <> # Contributor: Matt Smith <>
# Maintainer: Matt Smith <> # Maintainer: Matt Smith <>
pkgname=duplicity pkgname=duplicity
pkgver=0.7.19 pkgver=0.8.04
pkgrel=0 pkgrel=0
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm" pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="" url=""
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
depends="python2 py-boto gnupg ncftp py2-fasteners" depends="python3 py3-boto gnupg ncftp py3-fasteners"
makedepends="python2-dev py-setuptools librsync-dev" makedepends="python3-dev py3-future py3-setuptools librsync-dev"
subpackages="$pkgname-doc $pkgname-lang" subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname/${pkgver:0:3}-series/$pkgver/+download/$pkgname-$pkgver.tar.gz" source="$pkgname/${pkgver:0:3}-series/$pkgver/+download/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver" #builddir="$srcdir/$pkgname-$pkgver"
build() { build() {
cd "$builddir" python3 build
python2 build
} }
check() { check() {
cd "$builddir/duplicity" python3
cd ..
# Run a simple smoke-test # Run a simple smoke-test
PYTHONPATH="$PWD" python2 bin/duplicity -V | grep -q duplicity PYTHONPATH="$PWD" python3 bin/duplicity -V | grep -q duplicity
} }
package() { package() {
cd "$builddir" python3 install --root "$pkgdir"
python2 install --root "$pkgdir"
} }
sha512sums="26d1724a635c368e04f2a94f974ef6962c52b23345db59af3343e7221295caa0215ae119fff6ab44daa4622236683eb9d3dae742bf0d4cf08c02e3f63071001b duplicity-0.7.19.tar.gz" sha512sums="ca39e282df9de518535f56fc2b8912426faac069df66d394f191de4ef7edf5c8ebe03623b78c793a7f2615ddb4b3af7f3010150d1fcd6918428db45c5b62b9cf duplicity-0.8.04.tar.gz"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment