diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2010-06-17 03:51:47 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2010-06-17 03:51:47 +0000 |
commit | 6e96bb6e6462c06dc5e86619672bdead9a66648f (patch) | |
tree | ae9f38dcf221b037af139621454ba6a298a457cd /net-analyzer/nagstamon | |
parent | Update torque dep re #312779. (diff) | |
download | gentoo-2-6e96bb6e6462c06dc5e86619672bdead9a66648f.tar.gz gentoo-2-6e96bb6e6462c06dc5e86619672bdead9a66648f.tar.bz2 gentoo-2-6e96bb6e6462c06dc5e86619672bdead9a66648f.zip |
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nagstamon')
-rw-r--r-- | net-analyzer/nagstamon/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/nagstamon/nagstamon-0.9.4.ebuild | 71 |
2 files changed, 77 insertions, 1 deletions
diff --git a/net-analyzer/nagstamon/ChangeLog b/net-analyzer/nagstamon/ChangeLog index dc5aa24799b9..829fc91b459d 100644 --- a/net-analyzer/nagstamon/ChangeLog +++ b/net-analyzer/nagstamon/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/nagstamon # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.11 2010/05/08 13:20:51 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.12 2010/06/17 03:51:47 idl0r Exp $ + +*nagstamon-0.9.4 (17 Jun 2010) + + 17 Jun 2010; Christian Ruppert <idl0r@gentoo.org> +nagstamon-0.9.4.ebuild: + Version bump. 08 May 2010; Christian Ruppert <idl0r@gentoo.org> nagstamon-0.9.3.ebuild: Add python_mod_optimize/python_mod_cleanup as requested per bug 315079. diff --git a/net-analyzer/nagstamon/nagstamon-0.9.4.ebuild b/net-analyzer/nagstamon/nagstamon-0.9.4.ebuild new file mode 100644 index 000000000000..e2ff4fa274d3 --- /dev/null +++ b/net-analyzer/nagstamon/nagstamon-0.9.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.4.ebuild,v 1.1 2010/06/17 03:51:47 idl0r Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit eutils python + +MY_P=${P/-/_} + +DESCRIPTION="Nagstamon is a Nagios status monitor for a systray and displays a realtime status of a Nagios box" +HOMEPAGE="http://nagstamon.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome" + +DEPEND="" +RDEPEND="dev-python/pygtk + dev-python/lxml + gnome? ( || ( dev-python/gnome-python-extras dev-python/egg-python ) )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-0.9.0-sharedir.patch" + + python_convert_shebangs 2 Nagstamon/nagstamon +} + +src_install() { + # setup.py is broken + cd Nagstamon/ + + doman resources/nagstamon.1 || die + rm resources/{LICENSE,nagstamon.1} + + nagstamon_install() { + exeinto $(python_get_sitedir)/${PN} + doexe nagstamon || die + dosym $(python_get_sitedir)/${PN}/${PN} /usr/bin/${PN} || die + + insinto $(python_get_sitedir)/${PN} + doins nagstamonActions.py || die + doins nagstamonConfig.py || die + doins nagstamonGUI.py || die + doins nagstamonObjects.py || die + + insinto /usr/share/${PN}/resources + doins resources/* || die + + insinto /usr/share/applications + doins "${FILESDIR}"/${PN}.desktop || die + } + + python_execute_function nagstamon_install +} + +pkg_postinst() { + python_mod_optimize ${PN} +} + +pkg_postrm() { + python_mod_cleanup ${PN} +} |