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: Thu, 05 Mar 2020 14:29:20
Message-Id: 1583418537.0cf8c16da326403dd9f5a176b5ef7981575e8a57.rich0@gentoo
1 commit: 0cf8c16da326403dd9f5a176b5ef7981575e8a57
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 5 14:28:57 2020 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 5 14:28:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf8c16d
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.11.1596.ebuild | 50 ++++++++++++++++++++++
15 .../files/duplicity-0.8.11.1596-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 07c65d3ac03..fe2a5ebc759 100644
20 --- a/app-backup/duplicity/Manifest
21 +++ b/app-backup/duplicity/Manifest
22 @@ -2,3 +2,4 @@ DIST duplicity-0.7.10.tar.gz 1543523 BLAKE2B a38c5310d6949d36f74620ef617f7909432
23 DIST duplicity-0.7.12.tar.gz 1552442 BLAKE2B 4a7d0609748bffa147994a4abdb88bc0d62905c1423dc91caa4b8e5bb0c5953e26df72f647697685cfa3caed3741658d00d1a2b62b8c47bb1ac61da8973df9ca SHA512 8a532e7bb548c170184666a0ba2b41a15f3002c14edd64b1b1eb4df862647fc6dfde797d6ecf38e326d7c160c31ff521baf351e520835495e1d0e2ddbdb19f0f
24 DIST duplicity-0.7.19.tar.gz 1727321 BLAKE2B 6441a2ce777b3b08c52ede8602a73080be372dec1c1788441c7e7135533aeeb3be48012db4bdfc2a78c7ca23d368637ccc7aa0f0361369ac9f42c00a1541e023 SHA512 26d1724a635c368e04f2a94f974ef6962c52b23345db59af3343e7221295caa0215ae119fff6ab44daa4622236683eb9d3dae742bf0d4cf08c02e3f63071001b
25 DIST duplicity-0.8.09.tar.gz 1856764 BLAKE2B b5d0dd3270c237694000dc36a65a4293c43264edf933a195692d2847d008a898d5cf95c0b21b285503023ef8885278485cebabc2d2b7094ae65e13d277c80e5a SHA512 e4045a1c1adbf0927ee5325f02b79e7c0b38034080be4b563f20f1af593c8c1943a772fe7f212730e60f7c7cee93756426fe769a62050d42651fd1af7f6ba50a
26 +DIST duplicity-0.8.11.1596.tar.gz 1872223 BLAKE2B ad3ee2536731d1a6e8fb3fd87bb69b8ce8b43bb90688fe957cfb2718ad44f57db98c3aec4805356a7d44bea681f6ec9603aa082dbf86e58684fbe8000d1676b5 SHA512 67940d73d8213559ba88ec21e1326aca0dd065888cbf2e3c68f0f515ba9246100fd6e6d0bd1f12cb678702559f2266b7905931506d2ff6fe6fd35c673593479b
27
28 diff --git a/app-backup/duplicity/duplicity-0.8.11.1596.ebuild b/app-backup/duplicity/duplicity-0.8.11.1596.ebuild
29 new file mode 100644
30 index 00000000000..8482e3100d2
31 --- /dev/null
32 +++ b/app-backup/duplicity/duplicity-0.8.11.1596.ebuild
33 @@ -0,0 +1,50 @@
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=( python2_7 python3_6 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Secure backup system using gnupg to encrypt data"
43 +HOMEPAGE="http://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 + 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.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.11.1596-fix-docs.patch b/app-backup/duplicity/files/duplicity-0.8.11.1596-fix-docs.patch
86 new file mode 100644
87 index 00000000000..6b8c710f316
88 --- /dev/null
89 +++ b/app-backup/duplicity/files/duplicity-0.8.11.1596-fix-docs.patch
90 @@ -0,0 +1,21 @@
91 +--- duplicity-0.8.11.1596/setup.py 2020-03-05 09:18:42.532941503 -0500
92 ++++ duplicity-0.8.11.1596/setup.py 2020-03-05 09:20:10.612061492 -0500
93 +@@ -88,18 +88,6 @@
94 + u'bin/rdiffdir.1'
95 + ]
96 + ),
97 +- (u'share/doc/duplicity-%s' % version_string,
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':