aboutsummaryrefslogtreecommitdiff
blob: 9c25eef10a9af16bf2eaca9883aefc5c5605e602 (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
37
38
39
40
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit webapp git-2

DESCRIPTION="Package statistics server"
HOMEPAGE="https://soc.dev.gentoo.org/gentoostats/"
SRC_URI=""

EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/gentoostats.git"

LICENSE="GPL-3"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
	>=dev-python/webpy-0.3
	dev-python/mysql-python
	dev-python/matplotlib"

pkg_setup() {
	webapp_pkg_setup
}

src_install() {
	webapp_src_preinst
	pushd "server"

	insinto "${MY_HTDOCSDIR}"
	doins -r .
	webapp_src_install
}

pkg_postinst() {
	webapp_pkg_postinst
}