summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-10-27 06:09:07 +0000
committerHans de Graaff <graaff@gentoo.org>2011-10-27 06:09:07 +0000
commit81de4cafbdaa0769580a94e0862bc629f88af345 (patch)
treeca97d62daef01a13e77bf370bce4faf9552594e4 /dev-ruby/snmplib
parentSlot gtkspell dependency to 2 in preparation for gtkspell-3. (diff)
downloadgentoo-2-81de4cafbdaa0769580a94e0862bc629f88af345.tar.gz
gentoo-2-81de4cafbdaa0769580a94e0862bc629f88af345.tar.bz2
gentoo-2-81de4cafbdaa0769580a94e0862bc629f88af345.zip
Version bump. Add ruby19, ree18.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/snmplib')
-rw-r--r--dev-ruby/snmplib/ChangeLog7
-rw-r--r--dev-ruby/snmplib/snmplib-1.0.4.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/snmplib/ChangeLog b/dev-ruby/snmplib/ChangeLog
index 7c485f9a71cb..15e1fa72e5d4 100644
--- a/dev-ruby/snmplib/ChangeLog
+++ b/dev-ruby/snmplib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/snmplib
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/ChangeLog,v 1.33 2011/08/28 17:09:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/ChangeLog,v 1.34 2011/10/27 06:09:07 graaff Exp $
+
+*snmplib-1.0.4 (27 Oct 2011)
+
+ 27 Oct 2011; Hans de Graaff <graaff@gentoo.org> +snmplib-1.0.4.ebuild:
+ Version bump. Add ruby19, ree18.
28 Aug 2011; Raúl Porcel <armin76@gentoo.org> snmplib-1.0.3.ebuild:
ia64 stable wrt #379019
diff --git a/dev-ruby/snmplib/snmplib-1.0.4.ebuild b/dev-ruby/snmplib/snmplib-1.0.4.ebuild
new file mode 100644
index 000000000000..3d05d6ccf30d
--- /dev/null
+++ b/dev-ruby/snmplib/snmplib-1.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/snmplib-1.0.4.ebuild,v 1.1 2011/10/27 06:09:07 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_NAME="snmp"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+IUSE=""
+
+DESCRIPTION="SNMP library implemented in pure Ruby"
+HOMEPAGE="http://snmplib.rubyforge.org/"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+LICENSE="Ruby"
+SLOT="0"
+
+all_ruby_prepare() {
+ # Use the fully qualified class name to avoid problems with other
+ # Integer class definitions. Should fix
+ # https://bugs.gentoo.org/show_bug.cgi?id=323423
+ sed -i -e 's/\sInteger/ SNMP::Integer/' test/* || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb test/test_*.rb || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+}