summaryrefslogtreecommitdiffstats
path: root/www-apps/loggerhead/loggerhead-1.18.1.ebuild
blob: 33c34a37b94f55b64b8c176f56596fcbb9b786dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 versionator

PV_BASE=$(get_version_component_range 1-2)

DESCRIPTION="A web viewer for projects in Bazaar"
HOMEPAGE="https://launchpad.net/loggerhead"
SRC_URI="http://launchpad.net/${PN}/${PV_BASE}/${PV}/+download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE="apache2 search"

DEPEND=">=dev-python/paste-1.6
	apache2? ( >=dev-python/pastedeploy-1.3 )"
RDEPEND="${DEPEND}
	>=dev-vcs/bzr-1.13
	dev-python/simpletal
	dev-python/simplejson
	search? ( dev-vcs/bzr-search )"

S="${WORKDIR}"/${P}

src_install() {
	distutils_src_install
	newinitd "${FILESDIR}"/loggerhead.init loggerhead
	newconfd "${FILESDIR}"/loggerhead.confd loggerhead
}