aboutsummaryrefslogtreecommitdiffstats
path: root/main/duplicity/APKBUILD
blob: ad736cff3cba5a45b6521f96242744c8ef719fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=duplicity
pkgver=0.8.04
pkgrel=1
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="http://duplicity.nongnu.org/"
arch="all"
license="GPL-2.0-or-later"
depends="python3 py3-boto gnupg ncftp py3-fasteners"
makedepends="python3-dev py3-future py3-setuptools librsync-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://code.launchpad.net/$pkgname/${pkgver:0:3}-series/$pkgver/+download/$pkgname-$pkgver.tar.gz"
#builddir="$srcdir/$pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 compilec.py
	# Run a simple smoke-test
	PYTHONPATH="$PWD" python3 bin/duplicity -V | grep -q duplicity
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="ca39e282df9de518535f56fc2b8912426faac069df66d394f191de4ef7edf5c8ebe03623b78c793a7f2615ddb4b3af7f3010150d1fcd6918428db45c5b62b9cf  duplicity-0.8.04.tar.gz"