1 |
commit: d6a1b2d78796849837ef8f1942bbca431bd6b58e |
2 |
Author: Richard Freeman <rich0 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 20 02:24:18 2020 +0000 |
4 |
Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 20 02:24:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a1b2d7 |
7 |
|
8 |
app-backup/duplicity: fix missing future dep |
9 |
|
10 |
Closes: https://bugs.gentoo.org/705726 |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
12 |
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org> |
13 |
|
14 |
app-backup/duplicity/duplicity-0.8.09-r1.ebuild | 50 ++++++++++++++++++++++ |
15 |
.../files/duplicity-0.8.09-fix-docs.patch | 15 +++++++ |
16 |
2 files changed, 65 insertions(+) |
17 |
|
18 |
diff --git a/app-backup/duplicity/duplicity-0.8.09-r1.ebuild b/app-backup/duplicity/duplicity-0.8.09-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..f87d57f11a7 |
21 |
--- /dev/null |
22 |
+++ b/app-backup/duplicity/duplicity-0.8.09-r1.ebuild |
23 |
@@ -0,0 +1,50 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+PYTHON_COMPAT=( python2_7 python3_6) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Secure backup system using gnupg to encrypt data" |
33 |
+HOMEPAGE="http://www.nongnu.org/duplicity/" |
34 |
+SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/${PV}/+download/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-3" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
39 |
+IUSE="s3 test" |
40 |
+ |
41 |
+CDEPEND=" |
42 |
+ net-libs/librsync |
43 |
+ app-crypt/gnupg |
44 |
+ dev-python/fasteners[${PYTHON_USEDEP}] |
45 |
+" |
46 |
+DEPEND="${CDEPEND} |
47 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
48 |
+ test? ( |
49 |
+ app-arch/par2cmdline |
50 |
+ dev-python/mock[${PYTHON_USEDEP}] |
51 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
52 |
+ ) |
53 |
+" |
54 |
+RDEPEND="${CDEPEND} |
55 |
+ dev-python/paramiko[${PYTHON_USEDEP}] |
56 |
+ dev-python/future[${PYTHON_USEDEP}] |
57 |
+ s3? ( dev-python/boto[${PYTHON_USEDEP}] ) |
58 |
+" |
59 |
+ |
60 |
+RESTRICT="test" |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}/${P}-fix-docs.patch" |
64 |
+) |
65 |
+ |
66 |
+python_test() { |
67 |
+ esetup.py test |
68 |
+} |
69 |
+ |
70 |
+pkg_postinst() { |
71 |
+ elog "Duplicity has many optional dependencies to support various backends." |
72 |
+ elog "Currently it's up to you to install them as necessary." |
73 |
+} |
74 |
|
75 |
diff --git a/app-backup/duplicity/files/duplicity-0.8.09-fix-docs.patch b/app-backup/duplicity/files/duplicity-0.8.09-fix-docs.patch |
76 |
new file mode 100644 |
77 |
index 00000000000..2141a359b89 |
78 |
--- /dev/null |
79 |
+++ b/app-backup/duplicity/files/duplicity-0.8.09-fix-docs.patch |
80 |
@@ -0,0 +1,15 @@ |
81 |
+--- duplicity-0.8.09/setup.py 2020-01-19 21:15:47.770168177 -0500 |
82 |
++++ duplicity-0.8.09/setup.py 2020-01-19 21:16:53.347709792 -0500 |
83 |
+@@ -51,12 +51,6 @@ |
84 |
+ data_files = [(u'share/man/man1', |
85 |
+ [u'bin/duplicity.1', |
86 |
+ u'bin/rdiffdir.1']), |
87 |
+- (u'share/doc/duplicity-%s' % version_string, |
88 |
+- [u'COPYING', |
89 |
+- u'README', |
90 |
+- u'README-REPO', |
91 |
+- u'README-LOG', |
92 |
+- u'CHANGELOG']), |
93 |
+ ] |
94 |
+ |
95 |
+ top_dir = os.path.dirname(os.path.abspath(__file__)) |