diff options
author | 2012-08-14 16:58:13 +0000 | |
---|---|---|
committer | 2012-08-14 16:58:13 +0000 | |
commit | cfcd8f724fcdf450f2d4c764e65941279a2c0433 (patch) | |
tree | cdae6fe09d283c427795be7cb48d42db7d3de6e8 /dev-ruby/unf | |
parent | Disable test task (drops rake dependency for USE=test); use Test::Unit 2 and ... (diff) | |
download | historical-cfcd8f724fcdf450f2d4c764e65941279a2c0433.tar.gz historical-cfcd8f724fcdf450f2d4c764e65941279a2c0433.tar.bz2 historical-cfcd8f724fcdf450f2d4c764e65941279a2c0433.zip |
Disable test task (drops rake dependency for USE=test); use Test::Unit 2 and the ruby-ng helper for tests; simplofy dependency over unf_ext.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/unf')
-rw-r--r-- | dev-ruby/unf/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/unf/unf-0.0.5.ebuild | 15 |
2 files changed, 14 insertions, 8 deletions
diff --git a/dev-ruby/unf/ChangeLog b/dev-ruby/unf/ChangeLog index 716a4ca746dd..f31501fba924 100644 --- a/dev-ruby/unf/ChangeLog +++ b/dev-ruby/unf/ChangeLog @@ -1,10 +1,13 @@ # ChangeLog for dev-ruby/unf # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/ChangeLog,v 1.1 2012/05/13 06:35:19 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/ChangeLog,v 1.2 2012/08/14 16:58:13 flameeyes Exp $ + + 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> unf-0.0.5.ebuild: + Disable test task (drops rake dependency for USE=test); use Test::Unit 2 and + the ruby-ng helper for tests; simplofy dependency over unf_ext. *unf-0.0.5 (13 May 2012) 13 May 2012; Hans de Graaff <graaff@gentoo.org> +unf-0.0.5.ebuild, +metadata.xml: Initial import. New dependency for dev-ruby/mechanize. - diff --git a/dev-ruby/unf/unf-0.0.5.ebuild b/dev-ruby/unf/unf-0.0.5.ebuild index f6b87a8b8526..01e5f5c04dce 100644 --- a/dev-ruby/unf/unf-0.0.5.ebuild +++ b/dev-ruby/unf/unf-0.0.5.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/unf-0.0.5.ebuild,v 1.1 2012/05/13 06:35:19 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/unf-0.0.5.ebuild,v 1.2 2012/08/14 16:58:13 flameeyes Exp $ EAPI=4 USE_RUBY="ruby18 ruby19 ree18 jruby" +RUBY_FAKEGEM_RECIPE_TEST="none" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.md" @@ -20,16 +21,18 @@ KEYWORDS="~amd64" IUSE="test" # jruby already has support for UNF so it does not need the extension. -USE_RUBY=ruby18 ruby_add_rdepend "dev-ruby/unf_ext" -USE_RUBY=ruby19 ruby_add_rdepend "dev-ruby/unf_ext" -USE_RUBY=ree18 ruby_add_rdepend "dev-ruby/unf_ext" +USE_RUBY=${USE_RUBY/jruby/} ruby_add_rdepend "dev-ruby/unf_ext" -ruby_add_bdepend "test? ( dev-ruby/shoulda )" +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + dev-ruby/shoulda + )" all_ruby_prepare() { sed -i -e '/bundler/,/end/ s:^:#:' test/helper.rb || die } each_ruby_test() { - ${RUBY} -S testrb test/test_*.rb || die + ruby-ng_testrb-2 test/test_*.rb } |