# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/carbon/carbon-0.9.9-r2.ebuild,v 1.2 2013/08/03 09:45:48 mgorny Exp $ EAPI="3" PYTHON_DEPEND="2" RESTRICT_PYTHON_ABIS="3.*" inherit python distutils DESCRIPTION="Backend data caching and persistence daemon for Graphite" HOMEPAGE="http://graphite.wikidot.com/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="" DEPEND="" RDEPEND="${DEPEND} dev-python/twisted-core dev-python/txAMQP" src_prepare() { sed -i -e "s:/opt/graphite:$(python_get_sitedir):" setup.cfg || die "Failed to fix install location" }