summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-04-21 07:14:15 +0000
committerHans de Graaff <graaff@gentoo.org>2012-04-21 07:14:15 +0000
commit93265c673ce270a5ae07861b08d869153b4357a3 (patch)
tree8f1d9825a1e7e9b82a62e5fe69692596f6c52c15 /dev-ruby
parentVersion bump. (diff)
downloadgentoo-2-93265c673ce270a5ae07861b08d869153b4357a3.tar.gz
gentoo-2-93265c673ce270a5ae07861b08d869153b4357a3.tar.bz2
gentoo-2-93265c673ce270a5ae07861b08d869153b4357a3.zip
Version bump. Run tests.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sigar/ChangeLog7
-rw-r--r--dev-ruby/sigar/sigar-0.7.2.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ruby/sigar/ChangeLog b/dev-ruby/sigar/ChangeLog
index 4aa08b6c1496..5d5a7a63d9c8 100644
--- a/dev-ruby/sigar/ChangeLog
+++ b/dev-ruby/sigar/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/sigar
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sigar/ChangeLog,v 1.2 2012/03/05 10:30:16 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sigar/ChangeLog,v 1.3 2012/04/21 07:14:15 graaff Exp $
+
+*sigar-0.7.2 (21 Apr 2012)
+
+ 21 Apr 2012; Hans de Graaff <graaff@gentoo.org> +sigar-0.7.2.ebuild:
+ Version bump. Run tests.
05 Mar 2012; Thomas Kahle <tomka@gentoo.org> sigar-0.7.0.ebuild:
marked ~x86 per bug 398989
diff --git a/dev-ruby/sigar/sigar-0.7.2.ebuild b/dev-ruby/sigar/sigar-0.7.2.ebuild
new file mode 100644
index 000000000000..df03ac4681f2
--- /dev/null
+++ b/dev-ruby/sigar/sigar-0.7.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sigar/sigar-0.7.2.ebuild,v 1.1 2012/04/21 07:14:15 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ohai profiles your system and emits JSON"
+HOMEPAGE="http://sigar.hyperic.com/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} -Cbindings/ruby extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cbindings/ruby
+}
+
+each_ruby_test() {
+ ${RUBY} -S testrb bindings/ruby/test/*_test.rb || die
+}
+
+each_ruby_install() {
+ mkdir lib || die
+ cp bindings/ruby/${PN}$(get_modname) lib/ || die
+
+ each_fakegem_install
+}