public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/nagstamon: nagstamon-0.9.5_rc1-r1.ebuild ChangeLog nagstamon-0.9.5_rc1.ebuild
@ 2011-02-12  2:37 Christian Ruppert (idl0r)
  0 siblings, 0 replies; only message in thread
From: Christian Ruppert (idl0r) @ 2011-02-12  2:37 UTC (permalink / raw
  To: gentoo-commits

idl0r       11/02/12 02:37:53

  Modified:             ChangeLog
  Added:                nagstamon-0.9.5_rc1-r1.ebuild
  Removed:              nagstamon-0.9.5_rc1.ebuild
  Log:
  Fix resource loading properly, Add missing __init__.py.
  
  (Portage version: 2.2.0_alpha23/cvs/Linux x86_64)

Revision  Changes    Path
1.14                 net-analyzer/nagstamon/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	12 Feb 2011 02:12:55 -0000	1.13
+++ ChangeLog	12 Feb 2011 02:37:53 -0000	1.14
@@ -1,6 +1,13 @@
 # ChangeLog for net-analyzer/nagstamon
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.13 2011/02/12 02:12:55 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.14 2011/02/12 02:37:53 idl0r Exp $
+
+*nagstamon-0.9.5_rc1-r1 (12 Feb 2011)
+
+  12 Feb 2011; Christian Ruppert <idl0r@gentoo.org>
+  -nagstamon-0.9.5_rc1.ebuild, +nagstamon-0.9.5_rc1-r1.ebuild,
+  +files/nagstamon-0.9.5-resources.patch:
+  Fix resource loading properly, Add missing __init__.py.
 
 *nagstamon-0.9.5_rc1 (12 Feb 2011)
 



1.1                  net-analyzer/nagstamon/nagstamon-0.9.5_rc1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.5_rc1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.5_rc1-r1.ebuild?rev=1.1&content-type=text/plain

Index: nagstamon-0.9.5_rc1-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/nagstamon-0.9.5_rc1-r1.ebuild,v 1.1 2011/02/12 02:37:53 idl0r Exp $

EAPI="3"

PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"

inherit eutils python

MY_P="${PN}_${PV/_/-}"
MY_PN="Nagstamon"

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}/nagstamon-0.9.5-resources.patch"

	python_convert_shebangs 2 nagstamon.py
}

src_install() {
	# setup.py is broken
	cd Nagstamon/

	doman resources/nagstamon.1 || die
	rm resources/{LICENSE,nagstamon.1}

	nagstamon_install() {
		exeinto $(python_get_sitedir)/${MY_PN}
		doexe ../nagstamon.py || die
		dosym $(python_get_sitedir)/${MY_PN}/${PN}.py /usr/bin/${PN} || die

		insinto $(python_get_sitedir)/${MY_PN}
		doins {GUI,Config,Objects,Custom,Actions}.py || die
		touch $(python_get_sitedir)/${MY_PN}/__init__.py || die
		doins -r Server/ || 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 ${MY_PN}
}

pkg_postrm() {
	python_mod_cleanup ${MY_PN}
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-12  2:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12  2:37 [gentoo-commits] gentoo-x86 commit in net-analyzer/nagstamon: nagstamon-0.9.5_rc1-r1.ebuild ChangeLog nagstamon-0.9.5_rc1.ebuild Christian Ruppert (idl0r)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox