diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-21 18:30:55 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-21 18:30:55 +0000 |
commit | 06f932d513ed1ae525059b99936843c226765d17 (patch) | |
tree | c23fdaf11c4e91e45464a08ffb40170420ec23db /dev-python/mocker/mocker-1.0.ebuild | |
parent | Stable for HPPA (bug #320967). (diff) | |
download | historical-06f932d513ed1ae525059b99936843c226765d17.tar.gz historical-06f932d513ed1ae525059b99936843c226765d17.tar.bz2 historical-06f932d513ed1ae525059b99936843c226765d17.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/mocker/mocker-1.0.ebuild')
-rw-r--r-- | dev-python/mocker/mocker-1.0.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/mocker/mocker-1.0.ebuild b/dev-python/mocker/mocker-1.0.ebuild new file mode 100644 index 000000000000..64ce9cfd8374 --- /dev/null +++ b/dev-python/mocker/mocker-1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/mocker-1.0.ebuild,v 1.1 2010/06/21 18:30:55 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="Platform for Python test doubles: mocks, stubs, fakes, and dummies" +HOMEPAGE="http://labix.org/mocker http://pypi.python.org/pypi/mocker" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +PYTHON_MODNAME="mocker.py" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py + } + python_execute_function testing +} |