# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils eutils DESCRIPTION="Bitten is a Python-based framework for collecting various software metrics via continuous integration." HOMEPAGE="http://bitten.edgewall.org" SRC_URI="mirror://sourceforge/bitten/Bitten-${PV}.tar.bz2" LICENSE="trac" KEYWORDS="~x86" IUSE="" SLOT="0" DEPEND="=www-apps/trac-0.10* >=dev-python/setuptools-0.6_rc1 >=www-apps/trac-webadmin-0.1.2-r1" src_compile() { cd Bitten-${PV} distutils_src_install } src_install() { cd Bitten-${PV} distutils_src_install --single-version-externally-managed } src_test() { "${python}" setup.py test || die "tests failed" } pkg_postinst() { elog "To enable the Bitten plugin in your Trac environments, you have to add:" elog " [components]" elog " bitten.* = enabled" elog "to your trac.ini files." }