diff options
-rw-r--r-- | dev-python/mocker/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/mocker/mocker-1.1.1-r1.ebuild (renamed from dev-python/mocker/mocker-1.1.1.ebuild) | 21 |
2 files changed, 16 insertions, 15 deletions
diff --git a/dev-python/mocker/ChangeLog b/dev-python/mocker/ChangeLog index 1bfc03bf9d0e..2fb675f795e9 100644 --- a/dev-python/mocker/ChangeLog +++ b/dev-python/mocker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/mocker -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/ChangeLog,v 1.7 2012/11/03 18:24:32 idella4 Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/ChangeLog,v 1.8 2013/07/20 09:30:12 idella4 Exp $ + +*mocker-1.1.1-r1 (20 Jul 2013) + + 20 Jul 2013; Ian Delaney <idella4@gentoo.org> +mocker-1.1.1-r1.ebuild, + -mocker-1.1.1.ebuild: + migrate -> distutils-r1, remove old *mocker-1.1.1 (04 Nov 2012) diff --git a/dev-python/mocker/mocker-1.1.1.ebuild b/dev-python/mocker/mocker-1.1.1-r1.ebuild index 15fdb5c74e55..55aad9a93d30 100644 --- a/dev-python/mocker/mocker-1.1.1.ebuild +++ b/dev-python/mocker/mocker-1.1.1-r1.ebuild @@ -1,13 +1,11 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/mocker-1.1.1.ebuild,v 1.1 2012/11/03 18:24:32 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/mocker-1.1.1-r1.ebuild,v 1.1 2013/07/20 09:30:12 idella4 Exp $ -EAPI="4" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy2_0 ) -inherit distutils eutils +inherit distutils-r1 DESCRIPTION="Platform for Python test doubles: mocks, stubs, fakes, and dummies" HOMEPAGE="http://labix.org/mocker http://pypi.python.org/pypi/mocker" @@ -18,7 +16,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" IUSE="" -DEPEND="dev-python/setuptools" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="" PYTHON_MODNAME="mocker.py" @@ -27,9 +25,6 @@ src_prepare() { epatch "${FILESDIR}"/${P}-pypy_test.patch } -src_test() { - testing() { - PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py - } - python_execute_function testing +python_test() { + "${PYTHON}" test.py || die "Tests failed under ${EPYTHON}" } |