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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Dec 28 08:44:37 2014 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup.

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

  ViewVC Help
Powered by ViewVC 1.1.20