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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 18 09:17:06 2014 UTC (4 years, 2 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup.

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

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/twitter/twitter-5.9.0.ebuild,v 1.1 2014/05/16 08:20:42 graaff Exp $
4
5 EAPI=5
6 USE_RUBY="ruby19"
7
8 RUBY_FAKEGEM_RECIPE_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="5"
18 KEYWORDS="~amd64"
19 IUSE=""
20
21 ruby_add_rdepend "
22 >=dev-ruby/addressable-2.3
23 >=dev-ruby/buftok-0.2.0
24 >=dev-ruby/equalizer-0.0.9
25 =dev-ruby/faraday-0*
26 >=dev-ruby/faraday-0.9.0
27 >=dev-ruby/http-0.6.0:0.6
28 >=dev-ruby/http_parser_rb-0.6.0
29 >=dev-ruby/json-1.8
30 >=dev-ruby/memoizable-0.4.0
31 >=dev-ruby/naught-1.0
32 =dev-ruby/simple_oauth-0*
33 >=dev-ruby/simple_oauth-0.2"
34
35 ruby_add_bdepend "test? (
36 dev-ruby/rspec:2
37 dev-ruby/webmock
38 )
39 doc? ( dev-ruby/yard )"
40
41 all_ruby_prepare() {
42 # rm Gemfile || die
43 sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
44
45 sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
46 }
47
48 each_ruby_test() {
49 CI=true ${RUBY} -S rspec spec || die
50 }

  ViewVC Help
Powered by ViewVC 1.1.20