aboutsummaryrefslogtreecommitdiffstats
path: root/community/duplicity/APKBUILD
blob: 7c886da7512e5a736d869eba08da092a0876789e (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
32
33
34
35
36
37
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=duplicity
pkgver=0.8.20
pkgrel=2
pkgdesc="Encrypted bandwidth-efficient backup using the rsync algorithm"
url="https://duplicity.gitlab.io/duplicity-web/"
arch="all"
license="GPL-2.0-or-later"
depends="python3 py3-boto gpg gpg-agent ncftp py3-fasteners py3-future"
makedepends="python3-dev py3-setuptools librsync-dev gettext"
subpackages="$pkgname-doc $pkgname-lang"
source="https://launchpad.net/duplicity/0.8-series/$pkgver/+download/duplicity-$pkgver.tar.gz"

prepare() {
	default_prepare

	# remove dep we don't need
	sed -e '/u"setuptools_scm"/d' -i setup.py
}

build() {
	python3 setup.py build
}

check() {
	python3 setup.py build_ext
}

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

sha512sums="
ac43473a18031fa33cee0b7a3dc6b33c830ba9d19a0129c065a226824af8aacf00230ae05bf2e0d7614ad4ce9724e40e9b8305114175af63d8a8a8642ffdce67  duplicity-0.8.20.tar.gz
"