mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
mox: migrate to upstream ebuild from local pymox
Upstream Gentoo has added dev-python/mox which is the same thing as our local dev-python/pymox. So import the upstream Gentoo ebuild so we can drop our local ebuild. BUG=None TEST=`emerge mox` works TEST=cros_portage_upgrade_unittest passes TEST=build_packages+build_image for x86-alex boots TEST=buildbot's run_tests passes TEST=`cbuildbot arm-generic-full` works TEST=`cbuildbot x86-generic-full` works Change-Id: I8efbb6a7e62e1ff0ffdecbc7da6f17dbd723e2ae Reviewed-on: https://gerrit.chromium.org/gerrit/12145 Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
83c5031351
commit
b8eb70beb6
30
sdk_container/src/third_party/portage-stable/dev-python/mox/mox-0.5.3.ebuild
vendored
Normal file
30
sdk_container/src/third_party/portage-stable/dev-python/mox/mox-0.5.3.ebuild
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/mox/mox-0.5.3.ebuild,v 1.4 2010/10/05 19:49:02 maekke Exp $
|
||||||
|
|
||||||
|
EAPI=3
|
||||||
|
|
||||||
|
PYTHON_DEPEND="2"
|
||||||
|
SUPPORT_PYTHON_ABIS="1"
|
||||||
|
RESTRICT_PYTHON_ABIS="3.*"
|
||||||
|
|
||||||
|
inherit distutils
|
||||||
|
|
||||||
|
DESCRIPTION="A mock object framework for Python, loosely based on EasyMock for Java"
|
||||||
|
HOMEPAGE="http://code.google.com/p/pymox/"
|
||||||
|
SRC_URI="http://pymox.googlecode.com/files/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ppc ~sparc x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
PYTHON_MODNAME="mox.py stubout.py"
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
testing() {
|
||||||
|
$(PYTHON) mox_test.py || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_execute_function testing
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user