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, 01 Sep 2020 20:20:26
Message-Id: 1598991604.7d765ed0f26c2a4b96e2c6a6e0cec9d0aa1aef1a.rich0@gentoo
1 commit: 7d765ed0f26c2a4b96e2c6a6e0cec9d0aa1aef1a
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 1 20:19:52 2020 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 20:20:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d765ed0
7
8 app-backup/duplicity: bump, python-3.8
9
10 Package-Manager: Portage-3.0.4, Repoman-2.3.23
11 Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
12
13 app-backup/duplicity/Manifest | 1 +
14 app-backup/duplicity/duplicity-0.8.15.ebuild | 51 ++++++++++++++++++++++
15 .../files/duplicity-0.8.15-fix-docs-cmd.patch | 29 ++++++++++++
16 3 files changed, 81 insertions(+)
17
18 diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
19 index cf9b876454e..ca6af8ec46e 100644
20 --- a/app-backup/duplicity/Manifest
21 +++ b/app-backup/duplicity/Manifest
22 @@ -1,2 +1,3 @@
23 DIST duplicity-0.8.12.1612.tar.gz 1883596 BLAKE2B 6d3075cdc6cd1f09e60cdbdc5d17867f3686a7e05ce16b908b797b6d2c343ae4c8104793b9f389920112917089086ac8f4c5baffa326c528c023bd40daab8643 SHA512 eac4d1aecd604ece123bd3b5cecd3b65e1213c243db1a3ce25bae58360d666dd1db07ba0a137e7682f99775ece20453c7dc44cd87940b56c0acd05d01149c951
24 DIST duplicity-0.8.13.tar.gz 1463564 BLAKE2B 31037b0a27e043937f80ee91939793e304c0f7b1c96ee4bc9fe7c06dde69f374a718028d9ae4a98cfd7f866af72e5ed0a8f679319a73428207a99961961e8d2d SHA512 71e07fa17dcf2002a0275bdf236c1b2c30143e276abfdee15e45a75f0adeefc9e784c76a578f90f6ed785f093f364b877551374204e70b930dd5d0920f7e1e75
25 +DIST duplicity-0.8.15.tar.gz 1482647 BLAKE2B e1ddd4232611ad5fcf8faa5135c925aef68a21eb9dec50de7194562a0d4871e9c58132faf9340f71367025dcc84cbc6f1aae69bd37cae294d4200a8ca8b796b3 SHA512 2d048377c839ae56fc2828997c9aa7ba8c339e815e1e2ae738652037508ec276a2c72583687da34408fadd4839011e242b51bc73cca954227fc51db5683c258c
26
27 diff --git a/app-backup/duplicity/duplicity-0.8.15.ebuild b/app-backup/duplicity/duplicity-0.8.15.ebuild
28 new file mode 100644
29 index 00000000000..ab86fd3ebc1
30 --- /dev/null
31 +++ b/app-backup/duplicity/duplicity-0.8.15.ebuild
32 @@ -0,0 +1,51 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
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 ~x86-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.15-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-0.8.15-fix-docs-cmd.patch
86 new file mode 100644
87 index 00000000000..0f8277cc7f3
88 --- /dev/null
89 +++ b/app-backup/duplicity/files/duplicity-0.8.15-fix-docs-cmd.patch
90 @@ -0,0 +1,29 @@
91 +--- duplicity-0.8.15/setup.py 2020-09-01 15:45:48.664058429 -0400
92 ++++ duplicity-0.8.15/setup.py 2020-09-01 15:46:44.745709363 -0400
93 +@@ -93,18 +93,6 @@
94 + u'bin/rdiffdir.1'
95 + ]
96 + ),
97 +- (u'share/doc/duplicity-%s' % Version,
98 +- [
99 +- u'AUTHORS',
100 +- u'CHANGELOG',
101 +- u'Changelog.GNU',
102 +- u'COPYING',
103 +- u'README',
104 +- u'README-LOG',
105 +- u'README-REPO',
106 +- u'README-TESTING',
107 +- ],
108 +- ),
109 + ]
110 +
111 + if not os.environ.get(u'READTHEDOCS') == u'True':
112 +@@ -340,7 +328,6 @@
113 + ],
114 + test_suite=u"testing",
115 + cmdclass={
116 +- u"build_scripts": BuildScriptsCommand,
117 + u"install": InstallCommand,
118 + u"install_data": InstallDataCommand,
119 + u"sdist": SdistCommand,