diff options
author | 2011-08-21 00:43:50 +0530 | |
---|---|---|
committer | 2011-08-21 00:43:50 +0530 | |
commit | b970fcd00a5f98e94451ed646dfbcd70e680cecf (patch) | |
tree | a8301cbcf63648674fb473af8bb45ee91e2b0711 | |
parent | add gentoostats-cli to setup.py (diff) | |
download | gentoostats-b970fcd00a5f98e94451ed646dfbcd70e680cecf.tar.gz gentoostats-b970fcd00a5f98e94451ed646dfbcd70e680cecf.tar.bz2 gentoostats-b970fcd00a5f98e94451ed646dfbcd70e680cecf.zip |
rudimentary www-apps/gentoostats ebuild
-rw-r--r-- | overlay/www-apps/gentoostats/Manifest | 1 | ||||
-rw-r--r-- | overlay/www-apps/gentoostats/gentoostats-9999.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/overlay/www-apps/gentoostats/Manifest b/overlay/www-apps/gentoostats/Manifest new file mode 100644 index 0000000..8e249b2 --- /dev/null +++ b/overlay/www-apps/gentoostats/Manifest @@ -0,0 +1 @@ +EBUILD gentoostats-9999.ebuild 660 RMD160 fd0216560efad6104ab830a7545733dbd222c342 SHA1 bfe5356627434f5b9775b499031b1e37624799b0 SHA256 e106f53311ffa1be7a1643e42fde4c1f6872128d39074d84788ba812daf0502f diff --git a/overlay/www-apps/gentoostats/gentoostats-9999.ebuild b/overlay/www-apps/gentoostats/gentoostats-9999.ebuild new file mode 100644 index 0000000..f915dd0 --- /dev/null +++ b/overlay/www-apps/gentoostats/gentoostats-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit webapp git + +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 +} |