Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/duplicity/
Date: Mon, 03 Apr 2017 08:35:00
Message-Id: 1491208467.7fc0b5ba5849eee0d383948cfe91ee94ac5c7636.radhermit@gentoo
1 commit: 7fc0b5ba5849eee0d383948cfe91ee94ac5c7636
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 3 08:28:49 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 3 08:34:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc0b5ba
7
8 app-backup/duplicity: version bump to 0.7.12
9
10 app-backup/duplicity/Manifest | 1 +
11 app-backup/duplicity/duplicity-0.7.12.ebuild | 51 ++++++++++++++++++++++++++++
12 2 files changed, 52 insertions(+)
13
14 diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
15 index 2930f6525a9..03a75a38682 100644
16 --- a/app-backup/duplicity/Manifest
17 +++ b/app-backup/duplicity/Manifest
18 @@ -1,2 +1,3 @@
19 DIST duplicity-0.7.10.tar.gz 1543523 SHA256 485fef15526d163c061e00ec08de216cf7d652e67d41de5dc3bed9fb42214842 SHA512 d04273384749c88d0a4f46bc1dcdcbb945ec1a78fb21064f12f0ca6c92cc73ad36fc3149461dbe0a660cd752a1147b2fa5d2b4056a5414c7790747eb5983e0bd WHIRLPOOL 1532b1e5ffc764951155ce248662d3ebf23fff71c538270ee1b2d37c7ad0a90705361b34418a323dfb4947ede42cd356e0daba18e4124e7342e5baadc5d0af22
20 DIST duplicity-0.7.11.tar.gz 1550197 SHA256 b047a1590a1f5bb3974643ad2cc9dfdd32f61adbf2c1989191fb12cb59c2ec07 SHA512 81ccb868625b261356b9cb2439659eb7574343c0a15ea7db099746216689a881d9a37b05711c232103ae0e7660b5cdc7dff6475eda81ecbdcfc28bced0eabe75 WHIRLPOOL 1c106933fe4e9ba535a7923e93474457f2ede8979c2f9ed400fb7a819872c05ec2adfd08920d7b81b3e97feb90844f141721fc5ff184e97ec0b3df9da1d311df
21 +DIST duplicity-0.7.12.tar.gz 1552442 SHA256 11cbad44a90891af1bf9e294260ba7c21a1660ccd3ab2c6e736ba74ac5cf0fe6 SHA512 8a532e7bb548c170184666a0ba2b41a15f3002c14edd64b1b1eb4df862647fc6dfde797d6ecf38e326d7c160c31ff521baf351e520835495e1d0e2ddbdb19f0f WHIRLPOOL 872d0b52a0f73507849d585fd5888d4754d5711ab5cc48d72b571cfb14fd1278093022f52238facf608c8b26aa0149f2e614a4819c85aeb9ee94305e81824147
22
23 diff --git a/app-backup/duplicity/duplicity-0.7.12.ebuild b/app-backup/duplicity/duplicity-0.7.12.ebuild
24 new file mode 100644
25 index 00000000000..f58453ccdf6
26 --- /dev/null
27 +++ b/app-backup/duplicity/duplicity-0.7.12.ebuild
28 @@ -0,0 +1,51 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +PYTHON_COMPAT=( python2_7 )
34 +
35 +inherit distutils-r1 versionator
36 +
37 +DESCRIPTION="Secure backup system using gnupg to encrypt data"
38 +HOMEPAGE="http://www.nongnu.org/duplicity/"
39 +SRC_URI="https://code.launchpad.net/${PN}/$(get_version_component_range 1-2)-series/${PV}/+download/${P}.tar.gz"
40 +
41 +LICENSE="GPL-3"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
44 +IUSE="s3 test"
45 +
46 +CDEPEND="
47 + net-libs/librsync
48 + app-crypt/gnupg
49 + dev-python/lockfile
50 +"
51 +DEPEND="${CDEPEND}
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + test? (
54 + dev-python/mock[${PYTHON_USEDEP}]
55 + dev-python/pexpect[${PYTHON_USEDEP}]
56 + )
57 +"
58 +RDEPEND="${CDEPEND}
59 + dev-python/paramiko[${PYTHON_USEDEP}]
60 + s3? ( dev-python/boto[${PYTHON_USEDEP}] )
61 +"
62 +
63 +python_prepare_all() {
64 + # workaround until failing test is fixed
65 + local PATCHES=( "${FILESDIR}"/${PN}-0.6.24-skip-test.patch )
66 +
67 + distutils-r1_python_prepare_all
68 +
69 + sed -i "s/'COPYING',//" setup.py || die
70 +}
71 +
72 +python_test() {
73 + esetup.py test
74 +}
75 +
76 +pkg_postinst() {
77 + einfo "Duplicity has many optional dependencies to support various backends."
78 + einfo "Currently it's up to you to install them as necessary."
79 +}