summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/msgpack/ChangeLog7
-rw-r--r--dev-ruby/msgpack/msgpack-0.4.4.ebuild40
-rw-r--r--dev-ruby/mustache/ChangeLog7
-rw-r--r--dev-ruby/mustache/mustache-0.12.0.ebuild34
4 files changed, 86 insertions, 2 deletions
diff --git a/dev-ruby/msgpack/ChangeLog b/dev-ruby/msgpack/ChangeLog
index e0edcacfed6a..89a560732578 100644
--- a/dev-ruby/msgpack/ChangeLog
+++ b/dev-ruby/msgpack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/msgpack
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.8 2010/12/31 22:38:01 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/ChangeLog,v 1.9 2010/12/31 22:41:00 graaff Exp $
+
+*msgpack-0.4.4 (31 Dec 2010)
+
+ 31 Dec 2010; Hans de Graaff <graaff@gentoo.org> +msgpack-0.4.4.ebuild:
+ Version bump.
31 Dec 2010; Hans de Graaff <graaff@gentoo.org> -msgpack-0.3.9.ebuild:
Remove old version.
diff --git a/dev-ruby/msgpack/msgpack-0.4.4.ebuild b/dev-ruby/msgpack/msgpack-0.4.4.ebuild
new file mode 100644
index 000000000000..02547f1e51bf
--- /dev/null
+++ b/dev-ruby/msgpack/msgpack-0.4.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/msgpack/msgpack-0.4.4.ebuild,v 1.1 2010/12/31 22:41:00 graaff Exp $
+
+EAPI="2"
+
+# ruby19 → tests fail
+# jruby → uses a binary extension
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Binary-based efficient data interchange format for ruby binding"
+HOMEPAGE="http://msgpack.sourceforge.jp/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die "Configuration of extension failed."
+}
+
+each_ruby_compile() {
+ emake -Cext || die
+
+ mkdir lib || die "Unable to make lib directory."
+ cp ext/msgpack.so lib/ || die "Unable to install msgpack library."
+}
+
+each_ruby_test() {
+ ${RUBY} test/test_cases.rb || die "tests failed"
+ ${RUBY} test/test_pack_unpack.rb || die "tests failed"
+}
diff --git a/dev-ruby/mustache/ChangeLog b/dev-ruby/mustache/ChangeLog
index a91323c96c18..432ce8b5a419 100644
--- a/dev-ruby/mustache/ChangeLog
+++ b/dev-ruby/mustache/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mustache
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/ChangeLog,v 1.1 2010/09/14 19:03:11 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/ChangeLog,v 1.2 2010/12/31 22:43:42 graaff Exp $
+
+*mustache-0.12.0 (31 Dec 2010)
+
+ 31 Dec 2010; Hans de Graaff <graaff@gentoo.org> +mustache-0.12.0.ebuild:
+ Version bump.
*mustache-0.11.2 (14 Sep 2010)
diff --git a/dev-ruby/mustache/mustache-0.12.0.ebuild b/dev-ruby/mustache/mustache-0.12.0.ebuild
new file mode 100644
index 000000000000..ba1d6fea238a
--- /dev/null
+++ b/dev-ruby/mustache/mustache-0.12.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/mustache-0.12.0.ebuild,v 1.1 2010/12/31 22:43:42 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC="man:build"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Mustache is a framework-agnostic way to render logic-free views."
+HOMEPAGE="http://mustache.github.com/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "doc? ( app-text/ronn )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib -e "Dir['test/*.rb'].each{|f| require f}"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman man/mustache.1 man/mustache.5
+}