# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="User account management plugin for Trac" HOMEPAGE="http://trac-hacks.org/wiki/AccountManagerPlugin" SRC_URI="http://theoden.1172rex.dyndns.org/distfiles/${P}.tar.bz2" LICENSE="beerware" KEYWORDS="~x86" IUSE="" SLOT="0" DEPEND="=www-apps/trac-0.10* dev-python/setuptools" RESTRICT="fetch" src_unpack() { unpack "${A}" cd "${S}" epatch ${FILESDIR}/${P}_ticket_1392.diff } src_install() { "${python}" setup.py install --root=${D} --no-compile --single-version-externally-managed "$@" || die "install failed" } src_test() { "${python}" setup.py egg_info "${python}" setup.py test || die "tests failed" }