Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/duplicity: ChangeLog duplicity-0.6.24.ebuild
Date: Wed, 25 Jun 2014 07:20:12
Message-Id: 20140625072007.BDCC22004E@flycatcher.gentoo.org
1 radhermit 14/06/25 07:20:07
2
3 Modified: ChangeLog duplicity-0.6.24.ebuild
4 Log:
5 Add missing setuptools build dep (bug #514542) and run testsuite.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
8
9 Revision Changes Path
10 1.97 app-backup/duplicity/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/ChangeLog?rev=1.97&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/ChangeLog?rev=1.97&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/ChangeLog?r1=1.96&r2=1.97
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-backup/duplicity/ChangeLog,v
19 retrieving revision 1.96
20 retrieving revision 1.97
21 diff -u -r1.96 -r1.97
22 --- ChangeLog 4 Jun 2014 19:29:04 -0000 1.96
23 +++ ChangeLog 25 Jun 2014 07:20:07 -0000 1.97
24 @@ -1,6 +1,10 @@
25 # ChangeLog for app-backup/duplicity
26 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/ChangeLog,v 1.96 2014/06/04 19:29:04 radhermit Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/ChangeLog,v 1.97 2014/06/25 07:20:07 radhermit Exp $
29 +
30 + 25 Jun 2014; Tim Harder <radhermit@g.o> duplicity-0.6.24.ebuild,
31 + +files/duplicity-0.6.24-skip-test.patch:
32 + Add missing setuptools build dep (bug #514542) and run testsuite.
33
34 *duplicity-0.6.24 (04 Jun 2014)
35
36
37
38
39 1.2 app-backup/duplicity/duplicity-0.6.24.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild?r1=1.1&r2=1.2
44
45 Index: duplicity-0.6.24.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- duplicity-0.6.24.ebuild 4 Jun 2014 19:29:04 -0000 1.1
52 +++ duplicity-0.6.24.ebuild 25 Jun 2014 07:20:07 -0000 1.2
53 @@ -1,6 +1,6 @@
54 # Copyright 1999-2014 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild,v 1.1 2014/06/04 19:29:04 radhermit Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild,v 1.2 2014/06/25 07:20:07 radhermit Exp $
58
59 EAPI=5
60 PYTHON_COMPAT=( python2_7 )
61 @@ -14,24 +14,35 @@
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
65 -IUSE="s3"
66 +IUSE="s3 test"
67
68 -DEPEND="
69 +CDEPEND="
70 net-libs/librsync
71 app-crypt/gnupg
72 dev-python/lockfile
73 "
74 -RDEPEND="${DEPEND}
75 +DEPEND="${CDEPEND}
76 + dev-python/setuptools[${PYTHON_USEDEP}]
77 + test? ( dev-python/mock[${PYTHON_USEDEP}] )
78 +"
79 +RDEPEND="${CDEPEND}
80 dev-python/paramiko[${PYTHON_USEDEP}]
81 s3? ( dev-python/boto[${PYTHON_USEDEP}] )
82 "
83
84 +# workaround until failing test is fixed
85 +PATCHES=( "${FILESDIR}"/${P}-skip-test.patch )
86 +
87 python_prepare_all() {
88 distutils-r1_python_prepare_all
89
90 sed -i "s/'COPYING',//" setup.py || die "Couldn't remove unnecessary COPYING file."
91 }
92
93 +python_test() {
94 + esetup.py test
95 +}
96 +
97 pkg_postinst() {
98 einfo "Duplicity has many optional dependencies to support various backends."
99 einfo "Currently it's up to you to install them as necessary."