idella4 14/05/02 01:57:02 Modified: cloud-init-0.7.5.ebuild ChangeLog Log: add missing test dep, update prettytable, exclude unbroken but rogue tests for now (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.2 app-emulation/cloud-init/cloud-init-0.7.5.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5.ebuild?r1=1.1&r2=1.2 Index: cloud-init-0.7.5.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- cloud-init-0.7.5.ebuild 1 May 2014 16:12:51 -0000 1.1 +++ cloud-init-0.7.5.ebuild 2 May 2014 01:57:02 -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-emulation/cloud-init/cloud-init-0.7.5.ebuild,v 1.1 2014/05/01 16:12:51 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5.ebuild,v 1.2 2014/05/02 01:57:02 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -26,10 +26,21 @@ dev-python/requests[${PYTHON_USEDEP}] dev-python/jsonpatch[${PYTHON_USEDEP}]" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} )" + test? ( ${RDEPEND} + sys-apps/iproute2 )" PATCHES=( "${FILESDIR}"/${P}-tests-exclude.patch ) +python_prepare_all() { + # These tests are not broken but expect to locate an installed exe file + # other than where a gentoo system installs it; (/bin/ip sought in /sbin) + # See cloudinit/sources/DataSourceOpenNebula.py for possible patching + sed -e 's:test_hostname:_&:' \ + -e 's:test_network_interfaces:_&:' \ + -i tests/unittests/test_datasource/test_opennebula.py + distutils-r_python_prepare_all +} + python_test() { emake test } 1.6 app-emulation/cloud-init/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/ChangeLog?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/ChangeLog?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/ChangeLog?r1=1.5&r2=1.6 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ChangeLog 1 May 2014 16:12:51 -0000 1.5 +++ ChangeLog 2 May 2014 01:57:02 -0000 1.6 @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/cloud-init # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v 1.5 2014/05/01 16:12:51 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v 1.6 2014/05/02 01:57:02 idella4 Exp $ + + 02 May 2014; Ian Delaney <[email protected]> cloud-init-0.7.5.ebuild: + add missing test dep, update prettytable, exclude unbroken but rogue tests for + now *cloud-init-0.7.5 (01 May 2014)
