Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435558 - net-analyzer/graphite - Enterprise scalable realtime graphing
Summary: net-analyzer/graphite - Enterprise scalable realtime graphing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://launchpad.net/graphite
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-09-19 22:27 UTC by Travis Hansen
Modified: 2015-03-10 20:35 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
graphite-web ebuild with fhs-style paths. (graphite-web-0.9.10-r2.ebuild,1.40 KB, text/plain)
2012-11-22 08:00 UTC, Regna
Details
bug #417221 (no-data-files.patch,983 bytes, patch)
2012-11-22 08:02 UTC, Regna
Details | Diff
Patch for local_settings.py.example (fhs paths) (0.9.10-local_settings.patch,702 bytes, patch)
2012-11-22 08:04 UTC, Regna
Details | Diff
django-tagging ebuild (graphite-web dep) (django-tagging-0.3.1.ebuild,485 bytes, text/plain)
2012-11-22 08:06 UTC, Regna
Details

Note You need to log in before you can comment on or make changes to this bug.
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!