/[gentoo-x86]/dev-ruby/addressable/addressable-2.2.8.ebuild
Gentoo

Contents of /dev-ruby/addressable/addressable-2.2.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Dec 1 14:38:29 2012 UTC (21 months, 3 weeks ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old version.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/addressable/addressable-2.2.8.ebuild,v 1.1 2012/05/08 18:25:08 graaff Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 jruby ree18"
7
8 RUBY_FAKEGEM_TASK_DOC="doc:yard"
9 RUBY_FAKEGEM_TASK_TEST="spec:normal"
10
11 RAKE_FAKEGEM_DOCDIR="doc"
12 RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
13
14 inherit ruby-fakegem
15
16 DESCRIPTION="A replacement for the URI implementation that is part of Ruby's standard library."
17 HOMEPAGE="http://addressable.rubyforge.org/"
18
19 LICENSE="as-is"
20
21 SLOT="0"
22 KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
23 IUSE="doc test"
24
25 ruby_add_bdepend "doc? ( dev-ruby/yard )"
26 ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
27
28 all_ruby_prepare() {
29 # Remove spec-related tasks so that we don't need to require rspec
30 # just to build the documentation, bug 383611.
31 sed -i -e '/spectask/d' Rakefile || die
32 rm tasks/rspec.rake || die
33 }
34
35 each_ruby_test() {
36 ${RUBY} -I lib -S rspec spec || die "Tests failed."
37 }

  ViewVC Help
Powered by ViewVC 1.1.20