summaryrefslogtreecommitdiff
path: root/app-backup/duplicity/duplicity-0.8.21-r1.ebuild
diff options
context:
space:
mode:
authorSimeon Simeonov2022-01-29 15:35:32 +0100
committerSimeon Simeonov2022-01-29 15:35:32 +0100
commitb9b68e271cdbddae1dacb900ed5162da49dada9f (patch)
tree2c4476d64d60a409992449cc625ba5eac68baf56 /app-backup/duplicity/duplicity-0.8.21-r1.ebuild
parent9682c503bdcddc037555d561aa9eb5916ecb60ba (diff)
Add Python 3.10 support for app-backup/duplicity
Diffstat (limited to 'app-backup/duplicity/duplicity-0.8.21-r1.ebuild')
-rw-r--r--app-backup/duplicity/duplicity-0.8.21-r1.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/app-backup/duplicity/duplicity-0.8.21-r1.ebuild b/app-backup/duplicity/duplicity-0.8.21-r1.ebuild
new file mode 100644
index 0000000..b69bdd9
--- /dev/null
+++ b/app-backup/duplicity/duplicity-0.8.21-r1.ebuild
@@ -0,0 +1,51 @@
1# Copyright 1999-2022 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=8
5PYTHON_COMPAT=( python3_7 python3_8 python3_9 python3_10 )
6
7inherit distutils-r1
8
9DESCRIPTION="Secure backup system using gnupg to encrypt data"
10HOMEPAGE="https://www.nongnu.org/duplicity/"
11SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/$(ver_cut 1-3)/+download/${P}.tar.gz"
12
13LICENSE="GPL-3"
14SLOT="0"
15KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos"
16IUSE="s3 test"
17
18CDEPEND="
19 net-libs/librsync
20 app-crypt/gnupg
21 dev-python/fasteners[${PYTHON_USEDEP}]
22"
23DEPEND="${CDEPEND}
24 dev-python/setuptools[${PYTHON_USEDEP}]
25 dev-python/setuptools_scm[${PYTHON_USEDEP}]
26 test? (
27 app-arch/par2cmdline
28 dev-python/mock[${PYTHON_USEDEP}]
29 dev-python/pexpect[${PYTHON_USEDEP}]
30 )
31"
32RDEPEND="${CDEPEND}
33 dev-python/paramiko[${PYTHON_USEDEP}]
34 dev-python/future[${PYTHON_USEDEP}]
35 s3? ( dev-python/boto[${PYTHON_USEDEP}] )
36"
37
38RESTRICT="test"
39
40PATCHES=(
41 "${FILESDIR}/${P}-fix-docs-cmd.patch"
42)
43
44python_test() {
45 esetup.py test
46}
47
48pkg_postinst() {
49 elog "Duplicity has many optional dependencies to support various backends."
50 elog "Currently it's up to you to install them as necessary."
51}