31 lines
711 B
Bash
31 lines
711 B
Bash
|
# Copyright 1999-2009 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: $
|
||
|
|
||
|
inherit distutils
|
||
|
|
||
|
# ESVN_REPO_URI="http://mds.mandriva.org/svn/mmc-agent"
|
||
|
DESCRIPTION="The MMC Agent and its Python plugins."
|
||
|
HOMEPAGE="http://mds.mandriva.org/"
|
||
|
SRC_URI="http://mds.mandriva.org/pub/pulse2/sources/${PV}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
|
SLOT="0"
|
||
|
|
||
|
RDEPEND=">=dev-python/twisted-web-0.7.0"
|
||
|
|
||
|
DEPEND=">=dev-python/setuptools-0.6_rc1"
|
||
|
|
||
|
# from marienz's setuptools.eclass:
|
||
|
src_install() {
|
||
|
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
"${python}" setup.py test || die "tests failed"
|
||
|
}
|
||
|
|