| # Copyright 1999-2012 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.2.1.ebuild,v 1.15 2012/08/05 14:08:38 ryao Exp $ |
| |
| EAPI="3" |
| SUPPORT_PYTHON_ABIS="1" |
| |
| inherit distutils |
| |
| DESCRIPTION="Provides an easy, declarative interface for creating command line tools." |
| HOMEPAGE="http://code.google.com/p/argparse/ http://pypi.python.org/pypi/argparse" |
| SRC_URI="http://argparse.googlecode.com/files/${P}.tar.gz" |
| |
| LICENSE="PSF-2" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="" |
| |
| DEPEND="dev-python/setuptools" |
| RDEPEND="" |
| |
| PYTHON_MODNAME="argparse.py" |
| |
| src_test() { |
| testing() { |
| COLUMNS=80 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_argparse.py |
| } |
| python_execute_function testing |
| } |