/[gentoo-x86]/dev-ruby/unf/unf-0.0.5.ebuild
Gentoo

Contents of /dev-ruby/unf/unf-0.0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Aug 14 17:36:27 2012 UTC (2 years, 1 month ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Make sure to install the gemspec, but fix it so that it works correctly with JRuby.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 graaff 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/unf/unf-0.0.5.ebuild,v 1.2 2012/08/14 16:58:13 flameeyes Exp $
4 graaff 1.1
5     EAPI=4
6    
7     USE_RUBY="ruby18 ruby19 ree18 jruby"
8    
9 flameeyes 1.2 RUBY_FAKEGEM_RECIPE_TEST="none"
10 graaff 1.1 RUBY_FAKEGEM_TASK_DOC=""
11     RUBY_FAKEGEM_EXTRADOC="README.md"
12    
13     inherit ruby-fakegem
14    
15     DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby."
16     HOMEPAGE="https://github.com/knu/ruby-unf"
17    
18     LICENSE="BSD-2"
19     SLOT="0"
20     KEYWORDS="~amd64"
21     IUSE="test"
22    
23     # jruby already has support for UNF so it does not need the extension.
24 flameeyes 1.2 USE_RUBY=${USE_RUBY/jruby/} ruby_add_rdepend "dev-ruby/unf_ext"
25 graaff 1.1
26 flameeyes 1.2 ruby_add_bdepend "
27     test? (
28     >=dev-ruby/test-unit-2.5.1-r1
29     dev-ruby/shoulda
30     )"
31 graaff 1.1
32     all_ruby_prepare() {
33     sed -i -e '/bundler/,/end/ s:^:#:' test/helper.rb || die
34     }
35    
36     each_ruby_test() {
37 flameeyes 1.2 ruby-ng_testrb-2 test/test_*.rb
38 graaff 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20