diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-04-12 05:49:03 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-04-12 05:49:03 +0000 |
commit | 52a115778d501809ae09c62e82212d0768454f29 (patch) | |
tree | 99bac506d14b18ed67032251f14a9b449e05c052 /dev-ruby/yajl-ruby | |
parent | Remove old versions. (diff) | |
download | gentoo-2-52a115778d501809ae09c62e82212d0768454f29.tar.gz gentoo-2-52a115778d501809ae09c62e82212d0768454f29.tar.bz2 gentoo-2-52a115778d501809ae09c62e82212d0768454f29.zip |
Version bump.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/yajl-ruby')
-rw-r--r-- | dev-ruby/yajl-ruby/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/yajl-ruby/yajl-ruby-0.8.2.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/yajl-ruby/ChangeLog b/dev-ruby/yajl-ruby/ChangeLog index 833b5908b952..318a5bad2468 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.8 2011/04/12 05:42:24 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.9 2011/04/12 05:49:03 graaff Exp $ + +*yajl-ruby-0.8.2 (12 Apr 2011) + + 12 Apr 2011; Hans de Graaff <graaff@gentoo.org> +yajl-ruby-0.8.2.ebuild: + Version bump. 12 Apr 2011; Hans de Graaff <graaff@gentoo.org> -yajl-ruby-0.7.8.ebuild, -yajl-ruby-0.7.9.ebuild: diff --git a/dev-ruby/yajl-ruby/yajl-ruby-0.8.2.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-0.8.2.ebuild new file mode 100644 index 000000000000..90537a1e4c76 --- /dev/null +++ b/dev-ruby/yajl-ruby/yajl-ruby-0.8.2.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/yajl-ruby/yajl-ruby-0.8.2.ebuild,v 1.1 2011/04/12 05:49:03 graaff Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="" + +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="~amd64 ~x86" +IUSE="test" + +RDEPEND="${RDEPEND} dev-libs/yajl" +DEPEND="${DEPEND} dev-libs/yajl" + +ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" + +each_ruby_configure() { + ${RUBY} -Cext/yajl extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/yajl CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "make extension failed" + cp ext/yajl/yajl$(get_modname) lib/yajl/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S rspec spec || die "Tests failed" +} |