1 |
commit: a5265b66029971168427eba7cce7996d9ea8e7a7 |
2 |
Author: Richard Freeman <rich0 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 19 14:06:17 2022 +0000 |
4 |
Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 19 14:06:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5265b66 |
7 |
|
8 |
app-backup/duplicity: add 0.8.23 |
9 |
|
10 |
Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org> |
11 |
|
12 |
app-backup/duplicity/Manifest | 1 + |
13 |
app-backup/duplicity/duplicity-0.8.23.ebuild | 51 ++++++++++++++++++++++ |
14 |
.../files/duplicity-0.8.23-fix-docs-cmd.patch | 20 +++++++++ |
15 |
3 files changed, 72 insertions(+) |
16 |
|
17 |
diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest |
18 |
index 2b5e31fc003d..479ad1bdd4c1 100644 |
19 |
--- a/app-backup/duplicity/Manifest |
20 |
+++ b/app-backup/duplicity/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST duplicity-0.8.21.tar.gz 1375469 BLAKE2B 15da671b30305415dfafdef50f5f57eaea0d6504a3f35845bf4570bb0cd2d6d3c879e94dda5739f30acd54748ef7abb993405660d24cf96ab919cec08690e015 SHA512 573c79937e4b19e99d167fddaebfd7b747d3c5f240b14e575fecd45a225c6c279d5ce0132645bbefcddcbc688f9d67317a3ec3a0816fcb4ff303b217fe10b012 |
23 |
DIST duplicity-0.8.22.tar.gz 1408482 BLAKE2B 3a8b6eb79d5f67e8f274bdaaaf0bb5b6c9f0ebf91a3b6a849b876cdf2c9af0f5435946150b5db6ab5e524cedc5b98b40c456b1de0fe8c6e33c024fe3c7d881fa SHA512 474237e3ca9876fb124baf9871f781b8347c85e76b7b4191d6993a76fb4728500091c74ed0943c6c22d69651c08094b6d155eca742d1711bebe676734c84d12a |
24 |
+DIST duplicity-0.8.23.tar.gz 1385252 BLAKE2B 63042486e6e17d2d93af72f617990c879763d5921e230302f406b4f9e7c57a67284130f9f57849b9ffc8638614b55f0f8abdf6bb20201155b33b72bef952ec9f SHA512 083cf0060a8c7a8472c6ee4ffbb87e85edf0fcdaba95862a9f272cc03d8ab3d18b584a8d256473e6cfab9eed6f993382b846b692a8c0dd46fd3a2d8215e54e45 |
25 |
|
26 |
diff --git a/app-backup/duplicity/duplicity-0.8.23.ebuild b/app-backup/duplicity/duplicity-0.8.23.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..05713d415754 |
29 |
--- /dev/null |
30 |
+++ b/app-backup/duplicity/duplicity-0.8.23.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+PYTHON_COMPAT=( python3_8 python3_9 python3_10 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Secure backup system using gnupg to encrypt data" |
41 |
+HOMEPAGE="https://duplicity.gitlab.io/" |
42 |
+SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/$(ver_cut 1-3)/+download/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
47 |
+IUSE="s3 test" |
48 |
+ |
49 |
+CDEPEND=" |
50 |
+ net-libs/librsync |
51 |
+ app-crypt/gnupg |
52 |
+ dev-python/fasteners[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+DEPEND="${CDEPEND} |
55 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ app-arch/par2cmdline |
59 |
+ dev-python/mock[${PYTHON_USEDEP}] |
60 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+RDEPEND="${CDEPEND} |
64 |
+ dev-python/paramiko[${PYTHON_USEDEP}] |
65 |
+ dev-python/future[${PYTHON_USEDEP}] |
66 |
+ s3? ( dev-python/boto[${PYTHON_USEDEP}] ) |
67 |
+" |
68 |
+ |
69 |
+RESTRICT="test" |
70 |
+ |
71 |
+PATCHES=( |
72 |
+ "${FILESDIR}/${P}-fix-docs-cmd.patch" |
73 |
+) |
74 |
+ |
75 |
+python_test() { |
76 |
+ esetup.py test |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ elog "Duplicity has many optional dependencies to support various backends." |
81 |
+ elog "Currently it's up to you to install them as necessary." |
82 |
+} |
83 |
|
84 |
diff --git a/app-backup/duplicity/files/duplicity-0.8.23-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-0.8.23-fix-docs-cmd.patch |
85 |
new file mode 100644 |
86 |
index 000000000000..2497beb25e01 |
87 |
--- /dev/null |
88 |
+++ b/app-backup/duplicity/files/duplicity-0.8.23-fix-docs-cmd.patch |
89 |
@@ -0,0 +1,20 @@ |
90 |
+--- duplicity-0.8.23/setup.py 2022-03-19 15:08:36.755624771 -0400 |
91 |
++++ duplicity-0.8.23/setup.py 2022-03-19 15:09:38.332763172 -0400 |
92 |
+@@ -94,17 +94,6 @@ |
93 |
+ u'bin/rdiffdir.1' |
94 |
+ ] |
95 |
+ ), |
96 |
+- (u'share/doc/duplicity-%s' % Version, |
97 |
+- [ |
98 |
+- u'CHANGELOG.md', |
99 |
+- u'CONTRIBUTING.md', |
100 |
+- u'COPYING', |
101 |
+- u'README.md', |
102 |
+- u'README-LOG.md', |
103 |
+- u'README-REPO.md', |
104 |
+- u'README-TESTING.md', |
105 |
+- ], |
106 |
+- ), |
107 |
+ ] |
108 |
+ |
109 |
+ if not os.environ.get(u'READTHEDOCS') == u'True': |