/[gentoo-x86]/dev-ruby/flexmock/flexmock-1.2.0.ebuild
Gentoo

Contents of /dev-ruby/flexmock/flexmock-1.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jan 19 10:05:43 2013 UTC (23 months, 1 week ago) by graaff
Branch: MAIN
Changes since 1.2: +2 -2 lines
Update LICENSE, bug 452928.

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.2.0.ebuild,v 1.2 2013/01/15 07:18:47 zerochaos Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 jruby ree18"
7
8 RUBY_FAKEGEM_DOCDIR="html"
9 RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc doc/*.rdoc doc/releases/*"
10
11 inherit ruby-fakegem
12
13 DESCRIPTION="Simple mock object library for Ruby unit testing"
14 HOMEPAGE="http://${PN}.rubyforge.org/"
15
16 LICENSE="flexmock"
17 SLOT="0"
18 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19 IUSE=""
20
21 ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
22
23 all_ruby_prepare() {
24 # Custom template not found in package
25 sed -i -e '/jamis/d' Rakefile || die
26 }
27
28 each_ruby_test() {
29 ${RUBY} -S testrb -Ilib:. test/*_test.rb || die
30 ${RUBY} -S rspec test/rspec_integration || die
31 }

  ViewVC Help
Powered by ViewVC 1.1.20