radhermit    14/06/25 07:20:07

  Modified:             ChangeLog duplicity-0.6.24.ebuild
  Log:
  Add missing setuptools build dep (bug #514542) and run testsuite.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
4AB3E85B4F064CA3)

Revision  Changes    Path
1.97                 app-backup/duplicity/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/ChangeLog?rev=1.97&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/ChangeLog?rev=1.97&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/ChangeLog?r1=1.96&r2=1.97

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-backup/duplicity/ChangeLog,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- ChangeLog   4 Jun 2014 19:29:04 -0000       1.96
+++ ChangeLog   25 Jun 2014 07:20:07 -0000      1.97
@@ -1,6 +1,10 @@
 # ChangeLog for app-backup/duplicity
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/ChangeLog,v 1.96 
2014/06/04 19:29:04 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/duplicity/ChangeLog,v 1.97 
2014/06/25 07:20:07 radhermit Exp $
+
+  25 Jun 2014; Tim Harder <[email protected]> duplicity-0.6.24.ebuild,
+  +files/duplicity-0.6.24-skip-test.patch:
+  Add missing setuptools build dep (bug #514542) and run testsuite.
 
 *duplicity-0.6.24 (04 Jun 2014)
 



1.2                  app-backup/duplicity/duplicity-0.6.24.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild?r1=1.1&r2=1.2

Index: duplicity-0.6.24.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- duplicity-0.6.24.ebuild     4 Jun 2014 19:29:04 -0000       1.1
+++ duplicity-0.6.24.ebuild     25 Jun 2014 07:20:07 -0000      1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild,v 1.1 
2014/06/04 19:29:04 radhermit Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/app-backup/duplicity/duplicity-0.6.24.ebuild,v 1.2 
2014/06/25 07:20:07 radhermit Exp $
 
 EAPI=5
 PYTHON_COMPAT=( python2_7 )
@@ -14,24 +14,35 @@
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="s3"
+IUSE="s3 test"
 
-DEPEND="
+CDEPEND="
        net-libs/librsync
        app-crypt/gnupg
        dev-python/lockfile
 "
-RDEPEND="${DEPEND}
+DEPEND="${CDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/mock[${PYTHON_USEDEP}] )
+"
+RDEPEND="${CDEPEND}
        dev-python/paramiko[${PYTHON_USEDEP}]
        s3? ( dev-python/boto[${PYTHON_USEDEP}] )
 "
 
+# workaround until failing test is fixed
+PATCHES=( "${FILESDIR}"/${P}-skip-test.patch )
+
 python_prepare_all() {
        distutils-r1_python_prepare_all
 
        sed -i "s/'COPYING',//" setup.py || die "Couldn't remove unnecessary 
COPYING file."
 }
 
+python_test() {
+       esetup.py test
+}
+
 pkg_postinst() {
        einfo "Duplicity has many optional dependencies to support various 
backends."
        einfo "Currently it's up to you to install them as necessary."




Reply via email to