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, 22 Aug 2016 02:46:11
Message-Id: 1471833670.f38197f029e5577e195183e86213a4d8a18ff698.radhermit@gentoo
1 commit: f38197f029e5577e195183e86213a4d8a18ff698
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 22 02:41:10 2016 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 22 02:41:10 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38197f0
7
8 app-backup/duplicity: version bump to 0.7.10
9
10 app-backup/duplicity/Manifest | 1 +
11 app-backup/duplicity/duplicity-0.7.10.ebuild | 49 ++++++++++++++++++++++++++++
12 2 files changed, 50 insertions(+)
13
14 diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest
15 index 09e7b8c..9e48262 100644
16 --- a/app-backup/duplicity/Manifest
17 +++ b/app-backup/duplicity/Manifest
18 @@ -1,2 +1,3 @@
19 DIST duplicity-0.6.26.tar.gz 1270436 SHA256 8bef8a5d805b79ae177e54d42152238bce1b2aaf9ad32e03a2c3a20cbd4e074a SHA512 0cd02984eda99c81a30c9ac9926c41df0597f8f287a3e8ccd7d6fb9d420159028112be6b3fc8acf9b413940c07d0e754b2a509b6bca52965d2c333d4bcec8689 WHIRLPOOL 873b9fc9e035ed31cef996ace747c6a97b9434b50945578b019627c94e8eb7ba0861909e74b95db143ddb50dfdb23241a3ddfe712a97e0cd1f29c324c5d99c16
20 DIST duplicity-0.7.07.1.tar.gz 1539310 SHA256 594c6d0e723e56f8a7114d57811c613622d535cafdef4a3643a4d4c89c1904f8 SHA512 363266232763791bac9e84a9e345dda6ffa278a89597a094540088e12e47b56cb2459f72073c0020b77504514149b1ccb9bed7a67e516443a674975954f49129 WHIRLPOOL 041ea4dcc127e7cf5cca04c2037776fdf224cabe741f18a4de4e6e18fe1c4260eeed20892f91c43b7dbb0a04d246b67e8f52ab364b5bbc43a765e50ea05be092
21 +DIST duplicity-0.7.10.tar.gz 1543523 SHA256 485fef15526d163c061e00ec08de216cf7d652e67d41de5dc3bed9fb42214842 SHA512 d04273384749c88d0a4f46bc1dcdcbb945ec1a78fb21064f12f0ca6c92cc73ad36fc3149461dbe0a660cd752a1147b2fa5d2b4056a5414c7790747eb5983e0bd WHIRLPOOL 1532b1e5ffc764951155ce248662d3ebf23fff71c538270ee1b2d37c7ad0a90705361b34418a323dfb4947ede42cd356e0daba18e4124e7342e5baadc5d0af22
22
23 diff --git a/app-backup/duplicity/duplicity-0.7.10.ebuild b/app-backup/duplicity/duplicity-0.7.10.ebuild
24 new file mode 100644
25 index 0000000..758b48f
26 --- /dev/null
27 +++ b/app-backup/duplicity/duplicity-0.7.10.ebuild
28 @@ -0,0 +1,49 @@
29 +# Copyright 1999-2016 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 )
35 +
36 +inherit distutils-r1 versionator
37 +
38 +DESCRIPTION="Secure backup system using gnupg to encrypt data"
39 +HOMEPAGE="http://www.nongnu.org/duplicity/"
40 +SRC_URI="https://code.launchpad.net/${PN}/$(get_version_component_range 1-2)-series/${PV}/+download/${P}.tar.gz"
41 +
42 +LICENSE="GPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
45 +IUSE="s3 test"
46 +
47 +CDEPEND="
48 + net-libs/librsync
49 + app-crypt/gnupg
50 + dev-python/lockfile
51 +"
52 +DEPEND="${CDEPEND}
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + test? ( dev-python/mock[${PYTHON_USEDEP}] )
55 +"
56 +RDEPEND="${CDEPEND}
57 + dev-python/paramiko[${PYTHON_USEDEP}]
58 + s3? ( dev-python/boto[${PYTHON_USEDEP}] )
59 +"
60 +
61 +python_prepare_all() {
62 + # workaround until failing test is fixed
63 + local PATCHES=( "${FILESDIR}"/${PN}-0.6.24-skip-test.patch )
64 +
65 + distutils-r1_python_prepare_all
66 +
67 + sed -i "s/'COPYING',//" setup.py || die
68 +}
69 +
70 +python_test() {
71 + esetup.py test
72 +}
73 +
74 +pkg_postinst() {
75 + einfo "Duplicity has many optional dependencies to support various backends."
76 + einfo "Currently it's up to you to install them as necessary."
77 +}