/[gentoo-x86]/dev-ruby/twitter/twitter-4.8.0.ebuild
Gentoo

Contents of /dev-ruby/twitter/twitter-4.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Nov 11 11:17:26 2013 UTC (4 years, 8 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup old.

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

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/twitter/twitter-4.8.0.ebuild,v 1.1 2013/06/12 12:13:50 graaff Exp $
4
5 EAPI=5
6 USE_RUBY="ruby18 ruby19"
7
8 RUBY_FAKEGEM_TASK_DOC="yard"
9 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
10
11 inherit ruby-fakegem
12
13 DESCRIPTION="Ruby wrapper around the Twitter API"
14 HOMEPAGE="http://twitter.rubyforge.org/"
15
16 LICENSE="MIT"
17 SLOT="4"
18 KEYWORDS="~amd64 ~x86"
19 IUSE=""
20
21 ruby_add_rdepend "
22 =dev-ruby/faraday-0*
23 >=dev-ruby/faraday-0.8
24 =dev-ruby/multi_json-1*
25 =dev-ruby/simple_oauth-0*
26 >=dev-ruby/simple_oauth-0.2"
27
28 ruby_add_bdepend "test? (
29 dev-ruby/rspec:2
30 dev-ruby/webmock
31 )
32 doc? ( dev-ruby/yard )"
33
34 all_ruby_prepare() {
35 # rm Gemfile || die
36 sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
37
38 sed -i -e '/simplecov/,/SimpleCov.start/ s:^:#:' spec/helper.rb || die
39 }
40
41 each_ruby_test() {
42 CI=true ${RUBY} -S rspec spec || die
43 }

  ViewVC Help
Powered by ViewVC 1.1.20