diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-01-03 21:08:04 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-01-03 21:08:04 +0000 |
commit | 32eb6856e59ee7cef31d910e4539bbc49f2a8159 (patch) | |
tree | e0ff33c35b099d03753fbce29eead6743b84b9ba /dev-python/pyflakes | |
parent | Transfer Prefix keywords (diff) | |
download | gentoo-2-32eb6856e59ee7cef31d910e4539bbc49f2a8159.tar.gz gentoo-2-32eb6856e59ee7cef31d910e4539bbc49f2a8159.tar.bz2 gentoo-2-32eb6856e59ee7cef31d910e4539bbc49f2a8159.zip |
Add tests.
(Portage version: 15156-svn/cvs/Linux x86_64)
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" +} |