1 |
commit: c9d85ca8698b00ad907b943fcb0bfa6a793da725 |
2 |
Author: Richard Freeman <rich0 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 9 13:25:05 2020 +0000 |
4 |
Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 9 13:25:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9d85ca8 |
7 |
|
8 |
app-backup/duplicity: mark python 3.7 compatible |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org> |
12 |
|
13 |
.../duplicity/duplicity-0.8.11.1596-r1.ebuild | 50 ++++++++++++++++++++++ |
14 |
1 file changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/app-backup/duplicity/duplicity-0.8.11.1596-r1.ebuild b/app-backup/duplicity/duplicity-0.8.11.1596-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..f10cb3f300f |
19 |
--- /dev/null |
20 |
+++ b/app-backup/duplicity/duplicity-0.8.11.1596-r1.ebuild |
21 |
@@ -0,0 +1,50 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+PYTHON_COMPAT=( python2_7 python3_6 python3_7 ) |
27 |
+ |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="Secure backup system using gnupg to encrypt data" |
31 |
+HOMEPAGE="http://www.nongnu.org/duplicity/" |
32 |
+SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/$(ver_cut 1-3)/+download/${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-3" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
37 |
+IUSE="s3 test" |
38 |
+ |
39 |
+CDEPEND=" |
40 |
+ net-libs/librsync |
41 |
+ app-crypt/gnupg |
42 |
+ dev-python/fasteners[${PYTHON_USEDEP}] |
43 |
+" |
44 |
+DEPEND="${CDEPEND} |
45 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
46 |
+ test? ( |
47 |
+ app-arch/par2cmdline |
48 |
+ dev-python/mock[${PYTHON_USEDEP}] |
49 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
50 |
+ ) |
51 |
+" |
52 |
+RDEPEND="${CDEPEND} |
53 |
+ dev-python/paramiko[${PYTHON_USEDEP}] |
54 |
+ dev-python/future[${PYTHON_USEDEP}] |
55 |
+ s3? ( dev-python/boto[${PYTHON_USEDEP}] ) |
56 |
+" |
57 |
+ |
58 |
+RESTRICT="test" |
59 |
+ |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}/${P}-fix-docs.patch" |
62 |
+) |
63 |
+ |
64 |
+python_test() { |
65 |
+ esetup.py test |
66 |
+} |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ elog "Duplicity has many optional dependencies to support various backends." |
70 |
+ elog "Currently it's up to you to install them as necessary." |
71 |
+} |