diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-07-15 05:48:01 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-07-15 05:48:01 +0000 |
commit | dc265f61e5ec1326cd5491c0118cd8fe7e4b4334 (patch) | |
tree | a6229bde8b52be2796e5a304ea3add386e0457c9 /dev-ruby/snmplib | |
parent | Fix broken x86 keywords. (diff) | |
download | gentoo-2-dc265f61e5ec1326cd5491c0118cd8fe7e4b4334.tar.gz gentoo-2-dc265f61e5ec1326cd5491c0118cd8fe7e4b4334.tar.bz2 gentoo-2-dc265f61e5ec1326cd5491c0118cd8fe7e4b4334.zip |
Version bump. Add ruby20, ruby21.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/snmplib')
-rw-r--r-- | dev-ruby/snmplib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/snmplib/snmplib-1.2.0.ebuild | 40 |
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/snmplib/ChangeLog b/dev-ruby/snmplib/ChangeLog index a8f518bdf078..5878f7ccca80 100644 --- a/dev-ruby/snmplib/ChangeLog +++ b/dev-ruby/snmplib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/snmplib # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/ChangeLog,v 1.50 2014/04/24 16:51:14 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/ChangeLog,v 1.51 2014/07/15 05:48:01 graaff Exp $ + +*snmplib-1.2.0 (15 Jul 2014) + + 15 Jul 2014; Hans de Graaff <graaff@gentoo.org> +snmplib-1.2.0.ebuild: + Version bump. Add ruby20, ruby21. 24 Apr 2014; Manuel Rüger <mrueg@gentoo.org> snmplib-1.1.1.ebuild: Remove ruby18 support. diff --git a/dev-ruby/snmplib/snmplib-1.2.0.ebuild b/dev-ruby/snmplib/snmplib-1.2.0.ebuild new file mode 100644 index 000000000000..52bd58a663fa --- /dev/null +++ b/dev-ruby/snmplib/snmplib-1.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/snmplib-1.2.0.ebuild,v 1.1 2014/07/15 05:48:01 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +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 ~ppc ~x86" +LICENSE="Ruby" +SLOT="0" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-4:0 )" + +all_ruby_prepare() { + sed -e '2igem "minitest", "~>4.0"' -i test/test_*.rb || 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 +} |