Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 435558

Summary: net-analyzer/graphite - Enterprise scalable realtime graphing
Product: Gentoo Linux Reporter: Travis Hansen <travisghansen>
Component: Current packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: normal CC: bug, bugs+gentoo, erkiferenc, netmon, sysadmin, uwelk
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://launchpad.net/graphite
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: graphite-web ebuild with fhs-style paths.
bug #417221
Patch for local_settings.py.example (fhs paths)
django-tagging ebuild (graphite-web dep)

Description Travis Hansen 2012-09-19 22:27:04 UTC
Great stuff for datacenter monitoring/statistics etc.

http://www.aosabook.org/en/graphite.html

Reproducible: Always
Comment 1 Regna 2012-11-22 08:00:38 UTC
Created attachment 330210 [details]
graphite-web ebuild with fhs-style paths.
Comment 2 Regna 2012-11-22 08:02:39 UTC
Created attachment 330212 [details, diff]
bug #417221
Comment 3 Regna 2012-11-22 08:04:13 UTC
Created attachment 330214 [details, diff]
Patch for local_settings.py.example (fhs paths)
Comment 4 Regna 2012-11-22 08:06:00 UTC
Created attachment 330216 [details]
django-tagging ebuild (graphite-web dep)

From kormoc overlay, updated to eapi 4.
Comment 5 Regna 2012-11-23 03:48:50 UTC
Comment on attachment 330210 [details]
graphite-web ebuild with fhs-style paths.

># Copyright 1999-2012 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>EAPI="4"
>
>PYTHON_DEPEND="2"
>SUPPORT_PYTHON_ABIS="1"
>RESTRICT_PYTHON_ABIS="3.*"
>
>inherit eutils distutils
>
>DESCRIPTION="Enterprise scalable realtime graphing"
>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="-apache2 -mysql +sqlite"
>
>DEPEND=""
>RDEPEND="${DEPEND}
>	sqlite? ( dev-lang/python[sqlite]
>			  dev-python/django[sqlite] )
>	mysql?  ( dev-python/django[mysql] )
>	dev-python/carbon
>	dev-python/django
>	dev-python/pycairo
>	dev-python/twisted
>	dev-python/whisper
>	apache2? ( www-apache/mod_python )
>	dev-python/django-tagging"
>
>src_prepare() {
>	# This sets prefix to /opt/graphite. We want FHS-style paths instead.
>	rm setup.cfg || die
>	# Do not install the configuration and data files. We install them
>	# somewhere sensible by hand.
>	epatch "${FILESDIR}/no-data-files.patch"
>	epatch "${FILESDIR}/${PV}-local_settings.patch"
>
>	distutils_src_prepare
>}
>
>src_install() {
>	distutils_src_install
>
>	insinto /etc/${PN}
>	doins conf/*
>
>	dodoc examples/*
>
>	dodir /usr/share/${PN}
>	cp -r "${S}"/webapp/* "${D}"/usr/share/${PN} || die "webapp install failed"
>}
>pkg_postinst() {
>	einfo "See /usr/share/doc/${PN}/wsgi.py.example for wsgi app."
>	einfo "Don't forget to add local_settings.py, .example in /usr/share/${PN}"
>}
Comment 6 Fabian Groffen gentoo-dev 2015-03-10 20:18:28 UTC
Thanks for your input, I've added 0.9.13 to the tree.
Comment 7 Travis Hansen 2015-03-10 20:35:15 UTC
Wow thanks!