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/
Date: Mon, 30 Sep 2019 17:21:44
Message-Id: 1569864073.b5f7a2545ddee66cac3394e7b4bc1e3ae3f3aa55.rich0@gentoo
1 commit: b5f7a2545ddee66cac3394e7b4bc1e3ae3f3aa55
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 30 17:21:13 2019 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 30 17:21:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f7a254
7
8 app-backup/duplicity: bump, EAPI 7 port
9
10 Fixes: https://bugs.gentoo.org/672710
11 Package-Manager: Portage-2.3.76, Repoman-2.3.16
12 Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
13
14 app-backup/duplicity/Manifest | 1 +
15 app-backup/duplicity/duplicity-0.7.19.ebuild | 52 ++++++++++++++++++++++++++++
16 2 files changed, 53 insertions(+)
17
18 diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
19 index edb4b512a4d..7f29959526f 100644
20 --- a/app-backup/duplicity/Manifest
21 +++ b/app-backup/duplicity/Manifest
22 @@ -6,3 +6,4 @@ DIST duplicity-0.7.14.tar.gz 1556110 BLAKE2B 32d4d7f941a09e85915724352ec14d6ed1b
23 DIST duplicity-0.7.15.tar.gz 1563272 BLAKE2B 1a5487d863253298ecab0bf328bc7e4aa7ac7df4e2b2dd47fd60b674310bcb9046e96546860fb6f299cddeb3ad384abae615a065759798e7215addb064d4582b SHA512 7cdcf1c707e9bdbbc250afcd359978607454b1614128d2b7f09403867195795606794c5f193dc869579ae8c3a9251d7ef8f9acd66d4e69bce91344d7c046ca90
24 DIST duplicity-0.7.16.tar.gz 1563676 BLAKE2B 67e1a205a880b2658ed265efa46590553537881d82af21f538fe0b524338ed8450ded1dcc30089ecf13892f5cccc284fe2acd3dbb1a17597557640ccbb1376cd SHA512 552f63848ce90ccd8481136df6c0918bbf2463dde00d4e54f0af3693dc5439551ac086dc43b7b7191d1dcf0b710d7391b6c627ce0effd14a59beb0b5fa06a804
25 DIST duplicity-0.7.17.tar.gz 1719145 BLAKE2B fb5b3b3319305e63aaabcf4feef89d8a9c7b84d8e1ff09082cbfb49ebb7129a88afe6c85f6db892c0fdc8a27ca2b247e903e20a2f7b7fd9d6ced0aa77f15a2d4 SHA512 a7fa3f26709bcb25be519a20d65a196072a49ca468ace84b4876a815efea23fc1ed5b77abf765475fb8a08e3138349bf1d48e0ce22816ef66526463b646e12a3
26 +DIST duplicity-0.7.19.tar.gz 1727321 BLAKE2B 6441a2ce777b3b08c52ede8602a73080be372dec1c1788441c7e7135533aeeb3be48012db4bdfc2a78c7ca23d368637ccc7aa0f0361369ac9f42c00a1541e023 SHA512 26d1724a635c368e04f2a94f974ef6962c52b23345db59af3343e7221295caa0215ae119fff6ab44daa4622236683eb9d3dae742bf0d4cf08c02e3f63071001b
27
28 diff --git a/app-backup/duplicity/duplicity-0.7.19.ebuild b/app-backup/duplicity/duplicity-0.7.19.ebuild
29 new file mode 100644
30 index 00000000000..96eaf610187
31 --- /dev/null
32 +++ b/app-backup/duplicity/duplicity-0.7.19.ebuild
33 @@ -0,0 +1,52 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python2_7 )
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/${PV}/+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 + s3? ( dev-python/boto[${PYTHON_USEDEP}] )
67 +"
68 +
69 +python_prepare_all() {
70 + # workaround until failing test is fixed
71 + local PATCHES=( "${FILESDIR}"/${PN}-0.6.24-skip-test.patch )
72 +
73 + distutils-r1_python_prepare_all
74 +
75 + sed -i "s/'COPYING',//" setup.py || die
76 +}
77 +
78 +python_test() {
79 + esetup.py test
80 +}
81 +
82 +pkg_postinst() {
83 + elog "Duplicity has many optional dependencies to support various backends."
84 + elog "Currently it's up to you to install them as necessary."
85 +}