Gentoo Archives: gentoo-commits

From: Richard Freeman <rich0@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/duplicity/, app-backup/duplicity/files/
Date: Tue, 07 Dec 2021 19:32:45
Message-Id: 1638905557.e73dae1dfcdbf45dca388a214243a6d9f98022c5.rich0@gentoo
1 commit: e73dae1dfcdbf45dca388a214243a6d9f98022c5
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 19:32:37 2021 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 19:32:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e73dae1d
7
8 app-backup/duplicity: bump
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
12
13 app-backup/duplicity/Manifest | 1 +
14 app-backup/duplicity/duplicity-0.8.21.ebuild | 51 ++++++++++++++++++++++
15 .../files/duplicity-0.8.21-fix-docs-cmd.patch | 20 +++++++++
16 3 files changed, 72 insertions(+)
17
18 diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
19 index 91d6a0daf4f6..8ef491a1d07f 100644
20 --- a/app-backup/duplicity/Manifest
21 +++ b/app-backup/duplicity/Manifest
22 @@ -1,2 +1,3 @@
23 DIST duplicity-0.8.19.tar.gz 1372739 BLAKE2B 6a5a642597529eea37c7224cbfdd115db42c16f6391e553454f8f82cea86240bbd68a62513129496a1f978411fdeec50c3d918bb99b470fa1444fd77e7e6c9b7 SHA512 c1a1f5894f8b94ac61bd98270f138c58ef5a68f3624e7e88224b15539ca6e08874df9cebb36b10167d133b1af6a93b29e7bf4084c348b9cd7914ff24415be57c
24 DIST duplicity-0.8.20.tar.gz 1376671 BLAKE2B af3fd95b699cd9b3c6bbe259e0dd898fc058461efcb2d1d51c8c2d539df7e32fe70fb6af4b314cd6fce219345f23eb0ab342d0c7f28b05ec1ee4333c02d93415 SHA512 ac43473a18031fa33cee0b7a3dc6b33c830ba9d19a0129c065a226824af8aacf00230ae05bf2e0d7614ad4ce9724e40e9b8305114175af63d8a8a8642ffdce67
25 +DIST duplicity-0.8.21.tar.gz 1375469 BLAKE2B 15da671b30305415dfafdef50f5f57eaea0d6504a3f35845bf4570bb0cd2d6d3c879e94dda5739f30acd54748ef7abb993405660d24cf96ab919cec08690e015 SHA512 573c79937e4b19e99d167fddaebfd7b747d3c5f240b14e575fecd45a225c6c279d5ce0132645bbefcddcbc688f9d67317a3ec3a0816fcb4ff303b217fe10b012
26
27 diff --git a/app-backup/duplicity/duplicity-0.8.21.ebuild b/app-backup/duplicity/duplicity-0.8.21.ebuild
28 new file mode 100644
29 index 000000000000..19902aea7f33
30 --- /dev/null
31 +++ b/app-backup/duplicity/duplicity-0.8.21.ebuild
32 @@ -0,0 +1,51 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Secure backup system using gnupg to encrypt data"
42 +HOMEPAGE="https://www.nongnu.org/duplicity/"
43 +SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/$(ver_cut 1-3)/+download/${P}.tar.gz"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
48 +IUSE="s3 test"
49 +
50 +CDEPEND="
51 + net-libs/librsync
52 + app-crypt/gnupg
53 + dev-python/fasteners[${PYTHON_USEDEP}]
54 +"
55 +DEPEND="${CDEPEND}
56 + dev-python/setuptools[${PYTHON_USEDEP}]
57 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
58 + test? (
59 + app-arch/par2cmdline
60 + dev-python/mock[${PYTHON_USEDEP}]
61 + dev-python/pexpect[${PYTHON_USEDEP}]
62 + )
63 +"
64 +RDEPEND="${CDEPEND}
65 + dev-python/paramiko[${PYTHON_USEDEP}]
66 + dev-python/future[${PYTHON_USEDEP}]
67 + s3? ( dev-python/boto[${PYTHON_USEDEP}] )
68 +"
69 +
70 +RESTRICT="test"
71 +
72 +PATCHES=(
73 + "${FILESDIR}/${P}-fix-docs-cmd.patch"
74 +)
75 +
76 +python_test() {
77 + esetup.py test
78 +}
79 +
80 +pkg_postinst() {
81 + elog "Duplicity has many optional dependencies to support various backends."
82 + elog "Currently it's up to you to install them as necessary."
83 +}
84
85 diff --git a/app-backup/duplicity/files/duplicity-0.8.21-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-0.8.21-fix-docs-cmd.patch
86 new file mode 100644
87 index 000000000000..d97949058a28
88 --- /dev/null
89 +++ b/app-backup/duplicity/files/duplicity-0.8.21-fix-docs-cmd.patch
90 @@ -0,0 +1,20 @@
91 +--- duplicity-0.8.21/setup.py 2021-12-07 14:26:58.096082507 -0500
92 ++++ duplicity-0.8.21/setup.py 2021-12-07 14:27:44.915022471 -0500
93 +@@ -94,17 +94,6 @@
94 + u'bin/rdiffdir.1'
95 + ]
96 + ),
97 +- (u'share/doc/duplicity-%s' % Version,
98 +- [
99 +- u'AUTHORS',
100 +- u'CHANGELOG.md',
101 +- u'COPYING',
102 +- u'README.md',
103 +- u'README-LOG.md',
104 +- u'README-REPO.md',
105 +- u'README-TESTING.md',
106 +- ],
107 +- ),
108 + ]
109 +
110 + if not os.environ.get(u'READTHEDOCS') == u'True':