diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-12-25 10:48:20 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-12-25 10:48:20 +0000 |
commit | 311ce47b974108ee0109783bdc7d27c5e51161bd (patch) | |
tree | 57f1c46fcf15a05d1dac3abb6e6495dbda196131 /dev-ruby/yajl-ruby | |
parent | [bump] dev-perl/Perl-Critic-1.117.0 (diff) | |
download | gentoo-2-311ce47b974108ee0109783bdc7d27c5e51161bd.tar.gz gentoo-2-311ce47b974108ee0109783bdc7d27c5e51161bd.tar.bz2 gentoo-2-311ce47b974108ee0109783bdc7d27c5e51161bd.zip |
Version bump.
(Portage version: 2.1.10.41/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-1.1.0.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/yajl-ruby/ChangeLog b/dev-ruby/yajl-ruby/ChangeLog index 202a97fbb5d9..615d31e9f8ae 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.11 2011/12/25 10:28:12 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.12 2011/12/25 10:48:20 graaff Exp $ + +*yajl-ruby-1.1.0 (25 Dec 2011) + + 25 Dec 2011; Hans de Graaff <graaff@gentoo.org> +yajl-ruby-1.1.0.ebuild: + Version bump. 25 Dec 2011; Hans de Graaff <graaff@gentoo.org> -yajl-ruby-0.8.1.ebuild: Remove old version. diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.1.0.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.1.0.ebuild new file mode 100644 index 000000000000..9cf780abc5e8 --- /dev/null +++ b/dev-ruby/yajl-ruby/yajl-ruby-1.1.0.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-1.1.0.ebuild,v 1.1 2011/12/25 10:48:20 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" +} |