diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-22 16:17:58 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-22 16:17:58 +0000 |
commit | a1edd349597226c58b0ed1a74c762ebf6f7f4d53 (patch) | |
tree | b5acba21481eb03f7c144e1a2eef3704e160716d /dev-python/functest | |
parent | arm stable, bug #327777 (diff) | |
download | gentoo-2-a1edd349597226c58b0ed1a74c762ebf6f7f4d53.tar.gz gentoo-2-a1edd349597226c58b0ed1a74c762ebf6f7f4d53.tar.bz2 gentoo-2-a1edd349597226c58b0ed1a74c762ebf6f7f4d53.zip |
Set SUPPORT_PYTHON_ABIS. Fix tests (bug #321985).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/functest')
-rw-r--r-- | dev-python/functest/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/functest/functest-0.8.8.ebuild | 41 |
2 files changed, 33 insertions, 16 deletions
diff --git a/dev-python/functest/ChangeLog b/dev-python/functest/ChangeLog index a129ac6892a1..f936635c5bc1 100644 --- a/dev-python/functest/ChangeLog +++ b/dev-python/functest/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/functest -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/functest/ChangeLog,v 1.2 2009/07/25 20:08:04 neurogeek Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/functest/ChangeLog,v 1.3 2010/07/22 16:17:58 arfrever Exp $ + + 22 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + functest-0.8.8.ebuild: + Set SUPPORT_PYTHON_ABIS. Fix tests (bug #321985). 25 Jul 2009; Jesus Rivero <neurogeek@gentoo.org> functest-0.8.8.ebuild: Fixed typo in ebuild diff --git a/dev-python/functest/functest-0.8.8.ebuild b/dev-python/functest/functest-0.8.8.ebuild index 6b9db606584c..227fa61ae60f 100644 --- a/dev-python/functest/functest-0.8.8.ebuild +++ b/dev-python/functest/functest-0.8.8.ebuild @@ -1,23 +1,36 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/functest/functest-0.8.8.ebuild,v 1.3 2009/07/27 07:14:37 mr_bones_ Exp $ -# Ebuild generated by g-pypi 0.2.2 (rev. 214) +# $Header: /var/cvsroot/gentoo-x86/dev-python/functest/functest-0.8.8.ebuild,v 1.4 2010/07/22 16:17:58 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="nosetests" -EAPI="2" inherit distutils -DESCRIPTION="Functest is a test tool/framework for testing in python" -HOMEPAGE="http://code.google.com/p/functest/" -SRC_URI="http://cheeseshop.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" +DESCRIPTION="Functest is a test tool/framework for testing in Python" +HOMEPAGE="http://code.google.com/p/functest/ http://pypi.python.org/pypi/functest" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + LICENSE="Apache-2.0" -KEYWORDS="~x86" SLOT="0" -IUSE="test" -DEPEND="dev-python/setuptools - virtual/python - test? ( >=dev-python/nose-0.10.4 )" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools" RDEPEND="${DEPEND}" -src_test(){ - PYTHONPATH=. nosetests || die "Test failed" +src_test() { + PATH="scripts:${PATH}" distutils_src_test +} + +src_install() { + distutils_src_install + + delete_tests() { + rm -fr "${ED}$(python_get_sitedir)/tests" + } + python_execute_function -q delete_tests } |