alunduil 14/09/27 20:09:28 Modified: oslo-config-1.4.0.ebuild ChangeLog Log: fix testsuite by removing .testrepository between runs (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 92FEA28B)
Revision Changes Path 1.3 dev-python/oslo-config/oslo-config-1.4.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslo-config/oslo-config-1.4.0.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslo-config/oslo-config-1.4.0.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslo-config/oslo-config-1.4.0.ebuild?r1=1.2&r2=1.3 Index: oslo-config-1.4.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/oslo-config/oslo-config-1.4.0.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- oslo-config-1.4.0.ebuild 27 Sep 2014 12:35:43 -0000 1.2 +++ oslo-config-1.4.0.ebuild 27 Sep 2014 20:09:28 -0000 1.3 @@ -1,50 +1,50 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-config/oslo-config-1.4.0.ebuild,v 1.2 2014/09/27 12:35:43 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-config/oslo-config-1.4.0.ebuild,v 1.3 2014/09/27 20:09:28 alunduil Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} ) +PYTHON_COMPAT=( python2_7 python3_3 ) inherit distutils-r1 -DESCRIPTION="The Oslo configuration API supports parsing command line arguments -and ini style configuration files" -HOMEPAGE="https://pypi.python.org/pypi/oslo.config" +DESCRIPTION="Oslo Configuration API" +HOMEPAGE="https://launchpad.net/oslo" SRC_URI="mirror://pypi/${PN:0:1}/oslo.config/oslo.config-${PV}.tar.gz" S="${WORKDIR}/oslo.config-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux" IUSE="test" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] - <dev-python/pbr-1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/hacking-0.9.2[${PYTHON_USEDEP}] - <dev-python/hacking-0.10[${PYTHON_USEDEP}] - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - >=dev-python/oslotest-1.1[${PYTHON_USEDEP}] - >=dev-python/coverage-3.6[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] - <dev-python/sphinx-1.3[${PYTHON_USEDEP}] - >=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}] - >=dev-python/mock-1.0[${PYTHON_USEDEP}] - )" -# mock appears to be hard imported in test files and keeps this form -# upstream should arguably be poked to re-write the tests accordingly -RDEPEND=">=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}] - >=dev-python/six-1.7.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-0.14[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + <dev-python/hacking-0.10[${PYTHON_USEDEP}] + >=dev-python/hacking-0.9.2[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.1[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}] + >=dev-python/six-1.7.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-0.14[${PYTHON_USEDEP}] +" python_test() { - # https://bugs.launchpad.net/oslo.config/+bug/1374741 - testr init || die "test failed under ${EPYTHON}" - testr run || die "test failed under ${EPYTHON}" + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" + + testr init || die "testr init failed under ${EPYTHON}" + testr run || die "testr run failed under ${EPYTHON}" } 1.11 dev-python/oslo-config/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslo-config/ChangeLog?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslo-config/ChangeLog?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslo-config/ChangeLog?r1=1.10&r2=1.11 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/oslo-config/ChangeLog,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ChangeLog 27 Sep 2014 12:35:43 -0000 1.10 +++ ChangeLog 27 Sep 2014 20:09:28 -0000 1.11 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/oslo-config # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-config/ChangeLog,v 1.10 2014/09/27 12:35:43 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-config/ChangeLog,v 1.11 2014/09/27 20:09:28 alunduil Exp $ + + 27 Sep 2014; Alex Brandt <alund...@gentoo.org> oslo-config-1.4.0.ebuild: + fix testsuite—requires removal of .testrepostory between runs 27 Sep 2014; Ian Delaney <idel...@gentoo.org> oslo-config-1.4.0.ebuild: add py3.3 support, correction and update to test phase, add commented text,