diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-21 15:42:10 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-21 15:42:10 +0000 |
commit | 4ec6586caf2c3d31a1b28501773b5c6b47d2f983 (patch) | |
tree | d306fe7881b12fe46057ce2a5338932ff1ec008c /dev-ruby/json | |
parent | sparc stable wrt #281643 (diff) | |
download | gentoo-2-4ec6586caf2c3d31a1b28501773b5c6b47d2f983.tar.gz gentoo-2-4ec6586caf2c3d31a1b28501773b5c6b47d2f983.tar.bz2 gentoo-2-4ec6586caf2c3d31a1b28501773b5c6b47d2f983.zip |
Fix building when tests are not executed.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/json')
-rw-r--r-- | dev-ruby/json/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/json/json-1.2.0-r1.ebuild | 16 |
2 files changed, 15 insertions, 7 deletions
diff --git a/dev-ruby/json/ChangeLog b/dev-ruby/json/ChangeLog index 4a4f5ca4c061..018505aa1ca2 100644 --- a/dev-ruby/json/ChangeLog +++ b/dev-ruby/json/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/json # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.9 2009/12/20 09:22:22 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/ChangeLog,v 1.10 2009/12/21 15:42:10 flameeyes Exp $ + + 21 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> + json-1.2.0-r1.ebuild: + Fix building when tests are not executed. *json-1.2.0-r1 (20 Dec 2009) diff --git a/dev-ruby/json/json-1.2.0-r1.ebuild b/dev-ruby/json/json-1.2.0-r1.ebuild index 839ce5f1c1ac..247b3a1ea7fa 100644 --- a/dev-ruby/json/json-1.2.0-r1.ebuild +++ b/dev-ruby/json/json-1.2.0-r1.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.2.0-r1.ebuild,v 1.1 2009/12/20 09:22:22 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/json/json-1.2.0-r1.ebuild,v 1.2 2009/12/21 15:42:10 flameeyes Exp $ EAPI=2 USE_RUBY="ruby18" -RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README" +RUBY_FAKEGEM_DOCDIR="doc" inherit ruby-fakegem @@ -18,12 +19,15 @@ KEYWORDS="~amd64 ~ppc ~x86" SLOT="0" IUSE="" +RDEPEND="" +DEPEND="dev-util/ragel" + +each_ruby_compile() { + ${RUBY} -S rake compile_ext || die "extension compile failed" +} + each_ruby_install() { each_fakegem_install ruby_fakegem_newins ext/json/ext/generator.so lib/json/generator.so ruby_fakegem_newins ext/json/ext/parser.so lib/json/parser.so } - -all_ruby_install() { - dodoc CHANGES TODO README -} |