/[gentoo-x86]/dev-ruby/samuel/samuel-0.3.3.ebuild
Gentoo

Contents of /dev-ruby/samuel/samuel-0.3.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Oct 30 15:57:38 2014 UTC (4 years, 11 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Drop jruby target. Cleanup old.

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/samuel/samuel-0.3.3.ebuild,v 1.7 2014/08/05 16:00:32 mrueg Exp $
4
5 EAPI=5
6
7 USE_RUBY="ruby19 jruby"
8
9 RUBY_FAKEGEM_TASK_DOC=""
10
11 inherit ruby-fakegem
12
13 DESCRIPTION="An automatic logger for HTTP requests in Ruby"
14 HOMEPAGE="http://github.com/chrisk/samuel"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
19 IUSE=""
20
21 ruby_add_bdepend "
22 test? (
23 >=dev-ruby/shoulda-2.11.3
24 >=dev-ruby/fakeweb-1.3
25 >=dev-ruby/httpclient-2.2.3
26 dev-ruby/mocha:0.12
27 )"
28
29 all_ruby_prepare() {
30 # Remove references to bundler
31 sed -i -e '/[Bb]undler/d' test/test_helper.rb || die
32 rm Gemfile*
33
34 # Change the default port from 8000 to 64888 to sidestep Issue #10.
35 # https://github.com/chrisk/samuel/issues/10
36 sed -i -e 's:8000:64888:g' test/*.rb || die
37
38 # Require an old enough version of mocha.
39 sed -i -e '1igem "mocha", "~> 0.12.0"' test/test_helper.rb || die
40 }

  ViewVC Help
Powered by ViewVC 1.1.20