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/files/, app-backup/duplicity/
Date: Mon, 12 Oct 2020 17:53:48
Message-Id: 1602525164.c50cffc593dfeda2c595e46133e12765c53e5c96.rich0@gentoo
1 commit: c50cffc593dfeda2c595e46133e12765c53e5c96
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 12 17:51:50 2020 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 12 17:52:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50cffc5
7
8 app-backup/duplicity: bump
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
12
13 app-backup/duplicity/Manifest | 1 +
14 app-backup/duplicity/duplicity-0.8.16.ebuild | 51 ++++++++++++++++++++++
15 .../files/duplicity-0.8.16-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 ca6af8ec46e..a44278ca813 100644
20 --- a/app-backup/duplicity/Manifest
21 +++ b/app-backup/duplicity/Manifest
22 @@ -1,3 +1,4 @@
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 +DIST duplicity-0.8.16.tar.gz 1470714 BLAKE2B c9b2df3a7f008d44595b76d5f1d86ef53996d3ad788415e3a0fa122a7246bb5ae92e73be5079b3cef9a9a93a0b106f3be6405882028d79dc49194276a7c8f4a7 SHA512 67e8fe7d5db7da82d82f24892d721e32cd63fcdb8bbc5e60508af06e4c9b637f593ce0b1902c31433c92ed97035880e44368e9a461ad197511171f67de937f73
27
28 diff --git a/app-backup/duplicity/duplicity-0.8.16.ebuild b/app-backup/duplicity/duplicity-0.8.16.ebuild
29 new file mode 100644
30 index 00000000000..ab86fd3ebc1
31 --- /dev/null
32 +++ b/app-backup/duplicity/duplicity-0.8.16.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Secure backup system using gnupg to encrypt data"
43 +HOMEPAGE="https://www.nongnu.org/duplicity/"
44 +SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/$(ver_cut 1-3)/+download/${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
49 +IUSE="s3 test"
50 +
51 +CDEPEND="
52 + net-libs/librsync
53 + app-crypt/gnupg
54 + dev-python/fasteners[${PYTHON_USEDEP}]
55 +"
56 +DEPEND="${CDEPEND}
57 + dev-python/setuptools[${PYTHON_USEDEP}]
58 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
59 + test? (
60 + app-arch/par2cmdline
61 + dev-python/mock[${PYTHON_USEDEP}]
62 + dev-python/pexpect[${PYTHON_USEDEP}]
63 + )
64 +"
65 +RDEPEND="${CDEPEND}
66 + dev-python/paramiko[${PYTHON_USEDEP}]
67 + dev-python/future[${PYTHON_USEDEP}]
68 + s3? ( dev-python/boto[${PYTHON_USEDEP}] )
69 +"
70 +
71 +RESTRICT="test"
72 +
73 +PATCHES=(
74 + "${FILESDIR}/${P}-fix-docs-cmd.patch"
75 +)
76 +
77 +python_test() {
78 + esetup.py test
79 +}
80 +
81 +pkg_postinst() {
82 + elog "Duplicity has many optional dependencies to support various backends."
83 + elog "Currently it's up to you to install them as necessary."
84 +}
85
86 diff --git a/app-backup/duplicity/files/duplicity-0.8.16-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-0.8.16-fix-docs-cmd.patch
87 new file mode 100644
88 index 00000000000..3b8fa1c22ed
89 --- /dev/null
90 +++ b/app-backup/duplicity/files/duplicity-0.8.16-fix-docs-cmd.patch
91 @@ -0,0 +1,29 @@
92 +--- duplicity-0.8.16/setup.py 2020-10-12 13:44:15.382732960 -0400
93 ++++ duplicity-0.8.16/setup.py 2020-10-12 13:46:03.553414858 -0400
94 +@@ -93,18 +93,6 @@
95 + u'bin/rdiffdir.1'
96 + ]
97 + ),
98 +- (u'share/doc/duplicity-%s' % Version,
99 +- [
100 +- u'AUTHORS',
101 +- u'CHANGELOG',
102 +- u'Changelog.GNU',
103 +- u'COPYING',
104 +- u'README.md',
105 +- u'README-LOG.md',
106 +- u'README-REPO.md',
107 +- u'README-TESTING.md',
108 +- ],
109 +- ),
110 + ]
111 +
112 + if not os.environ.get(u'READTHEDOCS') == u'True':
113 +@@ -340,7 +328,6 @@
114 + ],
115 + test_suite=u"testing",
116 + cmdclass={
117 +- u"build_scripts": BuildScriptsCommand,
118 + u"install": InstallCommand,
119 + u"install_data": InstallDataCommand,
120 + u"sdist": SdistCommand,