# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="7" PYTHON_COMPAT=( python3_8 python3_9 ) inherit distutils-r1 PV_REV="bzr511" PV_BASE=$(ver_cut 1-2) DESCRIPTION="A web viewer for projects in Bazaar" HOMEPAGE="https://launchpad.net/loggerhead" SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${PN}/${PV_BASE}~${PV_REV}-1/${PN}_${PV_BASE}~${PV_REV}.orig.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64" IUSE="apache2 search" DEPEND=">=dev-python/paste-1.6[${PYTHON_USEDEP}] apache2? ( >=dev-python/pastedeploy-1.3[${PYTHON_USEDEP}] ) dev-python/dulwich[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] dev-python/testtools[${PYTHON_USEDEP}] dev-python/subunit[${PYTHON_USEDEP}] dev-python/fixtures[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] dev-python/bleach[${PYTHON_USEDEP}] dev-python/SimpleTAL[${PYTHON_USEDEP}] dev-python/simplejson[${PYTHON_USEDEP}] >=dev-vcs/breezy-1.13[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" S="${WORKDIR}"/${PN}-${PV_BASE}~${PV_REV} src_install() { distutils-r1_src_install newinitd "${FILESDIR}"/loggerhead.init loggerhead newconfd "${FILESDIR}"/loggerhead.confd loggerhead }