diff options
Diffstat (limited to 'dev-python/pyflakes')
-rw-r--r-- | dev-python/pyflakes/pyflakes-0.3.0.ebuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/dev-python/pyflakes/pyflakes-0.3.0.ebuild b/dev-python/pyflakes/pyflakes-0.3.0.ebuild index cf5038288bdc..9da76b453d31 100644 --- a/dev-python/pyflakes/pyflakes-0.3.0.ebuild +++ b/dev-python/pyflakes/pyflakes-0.3.0.ebuild @@ -1,8 +1,8 @@ -# 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/pyflakes/pyflakes-0.3.0.ebuild,v 1.4 2009/10/11 10:29:00 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyflakes/pyflakes-0.3.0.ebuild,v 1.5 2010/01/03 21:08:04 arfrever Exp $ -NEED_PYTHON=2.3 +EAPI="2" inherit distutils @@ -13,4 +13,11 @@ SRC_URI="http://pypi.python.org/packages/source/p/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~ia64 x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="" +IUSE="test" + +DEPEND="test? ( dev-python/nose )" +RDEPEND="" + +src_test() { + PYTHONPATH="build/lib" nosetests || die "Tests failed" +} |