/[gentoo-x86]/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild
Gentoo

Contents of /dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jan 25 00:37:24 2012 UTC (16 months, 3 weeks ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Bump to remove use of original gemspec metadata; it would have gone to look for 'rubypants.rb' for many minutes otherwise.

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

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r2.ebuild,v 1.3 2011/06/13 10:19:15 graaff Exp $
4
5 EAPI=2
6
7 USE_RUBY="ruby18 ruby19 jruby ree18"
8
9 RUBY_FAKEGEM_TASK_DOC=""
10 RUBY_FAKEGEM_TASK_TEST=""
11
12 inherit ruby-fakegem
13
14 DESCRIPTION="A Ruby port of the SmartyPants PHP library."
15 HOMEPAGE="http://chneukirchen.org/repos/rubypants/README"
16
17 LICENSE="Ruby"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE=""
21
22 ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
23
24 each_ruby_install() {
25 ruby_fakegem_install_gemspec
26
27 ruby_fakegem_newins rubypants.rb lib/rubypants.rb
28 }
29
30 each_ruby_test() {
31 # The rakefile doesn't really implement it properly, so simply
32 # replace it here.
33 ${RUBY} -I. test_rubypants.rb || die "tests failed"
34 }

  ViewVC Help
Powered by ViewVC 1.1.20