summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-08-20 18:44:01 +0000
committerHans de Graaff <graaff@gentoo.org>2014-08-20 18:44:01 +0000
commit088b321a5eab01a1763153372e7144135078d2d9 (patch)
tree40864eb6637c1198c677965ed302e1c297d67cb8
parentVersion bumps. (diff)
downloadgentoo-2-088b321a5eab01a1763153372e7144135078d2d9.tar.gz
gentoo-2-088b321a5eab01a1763153372e7144135078d2d9.tar.bz2
gentoo-2-088b321a5eab01a1763153372e7144135078d2d9.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
-rw-r--r--dev-ruby/yajl-ruby/ChangeLog7
-rw-r--r--dev-ruby/yajl-ruby/yajl-ruby-1.2.1.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-ruby/yajl-ruby/ChangeLog b/dev-ruby/yajl-ruby/ChangeLog
index 892861d8e385..cddbd90a0eb3 100644
--- a/dev-ruby/yajl-ruby/ChangeLog
+++ b/dev-ruby/yajl-ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/yajl-ruby
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.31 2014/08/15 16:54:40 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.32 2014/08/20 18:44:01 graaff Exp $
+
+*yajl-ruby-1.2.1 (20 Aug 2014)
+
+ 20 Aug 2014; Hans de Graaff <graaff@gentoo.org> +yajl-ruby-1.2.1.ebuild:
+ Version bump.
15 Aug 2014; Raúl Porcel <armin76@gentoo.org> yajl-ruby-1.1.0.ebuild,
yajl-ruby-1.1.0-r1.ebuild, yajl-ruby-1.2.0.ebuild:
diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.2.1.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.2.1.ebuild
new file mode 100644
index 000000000000..45190d773689
--- /dev/null
+++ b/dev-ruby/yajl-ruby/yajl-ruby-1.2.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/yajl-ruby-1.2.1.ebuild,v 1.1 2014/08/20 18:44:01 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library"
+HOMEPAGE="http://github.com/brianmario/yajl-ruby"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="${RDEPEND} dev-libs/yajl"
+DEPEND="${DEPEND} dev-libs/yajl"
+
+each_ruby_prepare() {
+ # Make sure the right ruby interpreter is used
+ sed -e '/capture/ s:ruby:'${RUBY}':' -i spec/parsing/large_number_spec.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/yajl extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -Cext/yajl CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1
+ cp ext/yajl/yajl$(get_modname) lib/yajl/ || die
+}
+
+each_ruby_test() {
+ # Set RUBYLIB to pass search path on to additional interpreters that
+ # are started.
+ RUBYLIB=lib ${RUBY} -S rspec --format progress spec || die
+}