| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/cliapp/cliapp-0.29.ebuild,v 1.3 2012/06/27 04:44:09 mr_bones_ Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
PYTHON_DEPEND="2:2.6:2.7"
|
| 8 |
|
| 9 |
inherit distutils python
|
| 10 |
|
| 11 |
DESCRIPTION="Framework for Unix-like command line programs"
|
| 12 |
HOMEPAGE="http://liw.fi/cliapp/"
|
| 13 |
SRC_URI="http://code.liw.fi/debian/pool/main/p/python-${PN}/python-${PN}_${PV}.orig.tar.gz"
|
| 14 |
|
| 15 |
LICENSE="GPL-2"
|
| 16 |
SLOT="0"
|
| 17 |
KEYWORDS="~amd64 ~x86"
|
| 18 |
IUSE="test"
|
| 19 |
|
| 20 |
DEPEND="test? ( dev-python/CoverageTestRunner )"
|
| 21 |
|
| 22 |
pkg_setup() {
|
| 23 |
python_set_active_version 2
|
| 24 |
python_pkg_setup
|
| 25 |
}
|
| 26 |
|
| 27 |
src_test() {
|
| 28 |
# remove build directory so tests will not fail
|
| 29 |
# due to tests defined twice
|
| 30 |
rm -rf "${S}"/build
|
| 31 |
default
|
| 32 |
}
|