diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-01-15 10:53:13 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-01-15 10:53:13 +0000 |
commit | 0817d1d16ec7625d950706a06b6770e3ce29dce9 (patch) | |
tree | 5eab16f5ace10c4f44bf3851a135a9e0594e1570 /dev-ruby/yajl-ruby | |
parent | x86 stable wrt security bug #348998 (diff) | |
download | gentoo-2-0817d1d16ec7625d950706a06b6770e3ce29dce9.tar.gz gentoo-2-0817d1d16ec7625d950706a06b6770e3ce29dce9.tar.bz2 gentoo-2-0817d1d16ec7625d950706a06b6770e3ce29dce9.zip |
Version bump.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/yajl-ruby')
-rw-r--r-- | dev-ruby/yajl-ruby/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/yajl-ruby/yajl-ruby-0.7.9.ebuild | 41 |
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-ruby/yajl-ruby/ChangeLog b/dev-ruby/yajl-ruby/ChangeLog index c5207f711e0d..65529d5ce4dc 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.5 2010/10/09 07:39:11 graaff Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/ChangeLog,v 1.6 2011/01/15 10:53:13 graaff Exp $ + +*yajl-ruby-0.7.9 (15 Jan 2011) + + 15 Jan 2011; Hans de Graaff <graaff@gentoo.org> +yajl-ruby-0.7.9.ebuild: + Version bump. 09 Oct 2010; Hans de Graaff <graaff@gentoo.org> -yajl-ruby-0.7.7.ebuild: Remove old version. diff --git a/dev-ruby/yajl-ruby/yajl-ruby-0.7.9.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-0.7.9.ebuild new file mode 100644 index 000000000000..3b09bbfa2ebe --- /dev/null +++ b/dev-ruby/yajl-ruby/yajl-ruby-0.7.9.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.7.9.ebuild,v 1.1 2011/01/15 10:53:12 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" +} |