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: Sun, 29 Mar 2020 15:57:40
Message-Id: 1585497442.52dd3be236544b98820219bab687f6678c3ceed6.rich0@gentoo
1 commit: 52dd3be236544b98820219bab687f6678c3ceed6
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 15:57:22 2020 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 15:57:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52dd3be2
7
8 app-backup/duplicity: bump
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
12
13 app-backup/duplicity/Manifest | 1 +
14 app-backup/duplicity/duplicity-0.8.12.1612.ebuild | 50 ++++++++++++++++++++++
15 .../files/duplicity-0.8.12.1612-fix-docs.patch | 21 +++++++++
16 3 files changed, 72 insertions(+)
17
18 diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
19 index 315d66b5862..496cf40ae17 100644
20 --- a/app-backup/duplicity/Manifest
21 +++ b/app-backup/duplicity/Manifest
22 @@ -1,2 +1,3 @@
23 DIST duplicity-0.8.09.tar.gz 1856764 BLAKE2B b5d0dd3270c237694000dc36a65a4293c43264edf933a195692d2847d008a898d5cf95c0b21b285503023ef8885278485cebabc2d2b7094ae65e13d277c80e5a SHA512 e4045a1c1adbf0927ee5325f02b79e7c0b38034080be4b563f20f1af593c8c1943a772fe7f212730e60f7c7cee93756426fe769a62050d42651fd1af7f6ba50a
24 DIST duplicity-0.8.11.1596.tar.gz 1872223 BLAKE2B ad3ee2536731d1a6e8fb3fd87bb69b8ce8b43bb90688fe957cfb2718ad44f57db98c3aec4805356a7d44bea681f6ec9603aa082dbf86e58684fbe8000d1676b5 SHA512 67940d73d8213559ba88ec21e1326aca0dd065888cbf2e3c68f0f515ba9246100fd6e6d0bd1f12cb678702559f2266b7905931506d2ff6fe6fd35c673593479b
25 +DIST duplicity-0.8.12.1612.tar.gz 1883596 BLAKE2B 6d3075cdc6cd1f09e60cdbdc5d17867f3686a7e05ce16b908b797b6d2c343ae4c8104793b9f389920112917089086ac8f4c5baffa326c528c023bd40daab8643 SHA512 eac4d1aecd604ece123bd3b5cecd3b65e1213c243db1a3ce25bae58360d666dd1db07ba0a137e7682f99775ece20453c7dc44cd87940b56c0acd05d01149c951
26
27 diff --git a/app-backup/duplicity/duplicity-0.8.12.1612.ebuild b/app-backup/duplicity/duplicity-0.8.12.1612.ebuild
28 new file mode 100644
29 index 00000000000..3f789257f08
30 --- /dev/null
31 +++ b/app-backup/duplicity/duplicity-0.8.12.1612.ebuild
32 @@ -0,0 +1,50 @@
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 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Secure backup system using gnupg to encrypt data"
42 +HOMEPAGE="http://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 + 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.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.12.1612-fix-docs.patch b/app-backup/duplicity/files/duplicity-0.8.12.1612-fix-docs.patch
85 new file mode 100644
86 index 00000000000..6b8c710f316
87 --- /dev/null
88 +++ b/app-backup/duplicity/files/duplicity-0.8.12.1612-fix-docs.patch
89 @@ -0,0 +1,21 @@
90 +--- duplicity-0.8.11.1596/setup.py 2020-03-05 09:18:42.532941503 -0500
91 ++++ duplicity-0.8.11.1596/setup.py 2020-03-05 09:20:10.612061492 -0500
92 +@@ -88,18 +88,6 @@
93 + u'bin/rdiffdir.1'
94 + ]
95 + ),
96 +- (u'share/doc/duplicity-%s' % version_string,
97 +- [
98 +- u'AUTHORS',
99 +- u'CHANGELOG',
100 +- u'Changelog.GNU',
101 +- u'COPYING',
102 +- u'README',
103 +- u'README-LOG',
104 +- u'README-REPO',
105 +- u'README-TESTING',
106 +- ],
107 +- ),
108 + ]
109 +
110 + if not os.environ.get(u'READTHEDOCS') == u'True':