Version bump.
authorChristian Ruppert <idl0r@gentoo.org>
Tue, 25 Oct 2011 22:41:05 +0000 (22:41 +0000)
committerChristian Ruppert <idl0r@gentoo.org>
Tue, 25 Oct 2011 22:41:05 +0000 (22:41 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

net-analyzer/nagstamon/ChangeLog
net-analyzer/nagstamon/Manifest
net-analyzer/nagstamon/nagstamon-0.9.8.ebuild [new file with mode: 0644]

index 7d79213bc516218f17e55a1b622e93a54ea1448f..18ce55d11ee409c3bb1055c317ff20f27acc8b77 100644 (file)
@@ -1,6 +1,11 @@
 # 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.24 2011/09/21 15:18:03 nativemad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagstamon/ChangeLog,v 1.25 2011/10/25 22:41:05 idl0r Exp $
+
+*nagstamon-0.9.8 (25 Oct 2011)
+
+  25 Oct 2011; Christian Ruppert <idl0r@gentoo.org> +nagstamon-0.9.8.ebuild:
+  Version bump.
 
   21 Sep 2011; Andreas Schuerch <nativemad@gentoo.org>
   nagstamon-0.9.7.1.ebuild:
index bd4cbba0c20cd55c180dc4b9686a3915c5202f65..425f9afee02eae6a7d9bf3315a3c44b931de3f19 100644 (file)
@@ -1,16 +1,22 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
 
 AUX nagstamon-0.9.5-resources.patch 844 RMD160 0d5bacf97600221dcde421fb631ea94753b44031 SHA1 581a9a0c4ffa5be06674146ddc1a5bc8829f5e10 SHA256 130fc539f6e46e368327efbe9c0f3a07cc5db18e4c9546a46d81de552c31ede5
 AUX nagstamon.desktop 302 RMD160 2fb15e01f92eb80f8ec07238015c528720ac781d SHA1 166d4cd8a550e1427ef266b32a44dbb57fe0670b SHA256 409c7d223818a121172faf6733e0e2d9ba5c23caa374769fdc787dab106bf035
 DIST nagstamon_0.9.7.1.tar.gz 376267 RMD160 3c3c93b9133a39b239f2e1882904641e80bfab06 SHA1 d606c7f4ae121283a3f542d2d3a47b61b39bbaa2 SHA256 1bfdebea1553fba64f7e541222ae5a16856bf0cb3e3c861f0a43f99fe09523eb
+DIST nagstamon_0.9.8.tar.gz 382861 RMD160 069715f02ade45e0c9efe37045b8bf9d4483845d SHA1 6721f6b41dc26327e7fe89087e32580703b565dd SHA256 f0977d2ca5e2e13e3bfa17d8db83431770fc53e293b7076408d9308588802a6f
 EBUILD nagstamon-0.9.7.1.ebuild 1753 RMD160 0d2ecd00f39dd5287e7ebf0fb99bb57371c4699a SHA1 20af22b40dfb3620a85bdd271e3a1929c43facc9 SHA256 bece1ed5c1188a42cf61417442326c8025fc390be53e9e4e9923e6c2cd79ffbd
-MISC ChangeLog 5070 RMD160 195bdcecc34f5824cea57dac42cc489a709c0186 SHA1 c9f75801f0d39c61355014058ba7f52fbc758acd SHA256 476a4b360f6a12b750d23ba6c7d822f6328f9fdf03e6185fa8d0060015715d14
+EBUILD nagstamon-0.9.8.ebuild 1749 RMD160 8b2134104b091435c128f11c393010961cc51a92 SHA1 20cb8b8f7996bcf79bd0ae7eff36c714ff4e5ef5 SHA256 658a99bc8468410c84191105bb0b0f0e22b65a3a828c3fcf7ddbb34b97350873
+MISC ChangeLog 5192 RMD160 17a86c3311953331e3e81cfc1b941fd2b2ade75b SHA1 7318693f75409de5d93dc7adce75db0a47c035d7 SHA256 c3505cf59b637af0e0f2a5f67b38c338c3617aa5ca24ba138f22a2260e0879fa
 MISC metadata.xml 256 RMD160 a9866d0206ae3ba79a340a0ba3da4e6ce647178a SHA1 f8fc497bf652c0c09adafc4c73063ad3324b167a SHA256 8cb5968a456099b1b9f42527a85ea941efe82c475c1be80262bd4a27d0385c46
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk56cE4ACgkQB6aLYPQCwOD0aQCgrZXOFoCRIUz+CH3Hp0ML20lv
-J6wAoIHbhzwHMW30hz3JUzVTq2SHfsaU
-=jEAX
+iQEcBAEBCAAGBQJOpzsKAAoJEMOx0zmdw4Z1n34H/3pvQxrsjhE8FlVzi/6+Qmh0
+lLNnwXM7VfL5u3064UmYbILfaepdtICanzTtdrKxT6cfI/kNxfPuCB8qOF5jHUWQ
+MRGwqCUAs8GnqjP78630YyG3sqzc/Hg3C7e5AdlRwXTJAFLctNmBlDwXG/ixBr9y
+Ogyj3RGutTrlXT6qNATrTc5N3ojTqRbWpnfj3EORX2tmFcHg8sJP+y8roNWN0Za3
+A9kcmFmVmi7oZKRnHWYOAOWbHpwOPxMRDHygidUpYnwkpvonlV+iIHSSvE9obSXt
+fe+ceVceeRF973kUxTv27a+PuRlt4QACqwD1tEPdedE1lQz6tLIRGFudvMXESGk=
+=jkbJ
 -----END PGP SIGNATURE-----
diff --git a/net-analyzer/nagstamon/nagstamon-0.9.8.ebuild b/net-analyzer/nagstamon/nagstamon-0.9.8.ebuild
new file mode 100644 (file)
index 0000000..dd61a13
--- /dev/null
@@ -0,0 +1,76 @@
+# 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.8.ebuild,v 1.1 2011/10/25 22:41:05 idl0r Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+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
+       dev-python/beautifulsoup
+       gnome? ( dev-python/egg-python )"
+
+#S="${WORKDIR}/${MY_P}"
+S="${WORKDIR}/Nagstamon"
+
+src_prepare() {
+       epatch "${FILESDIR}/${PN}-0.9.5-resources.patch"
+
+       python_convert_shebangs 2 nagstamon.py
+
+       rm Nagstamon/resources/LICENSE
+       rm Nagstamon/BeautifulSoup.py
+}
+
+src_install() {
+       # setup.py is broken
+       cd Nagstamon/
+
+       doman resources/nagstamon.1 || die
+       rm resources/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 "${D}/$(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}
+}