/[gentoo-x86]/dev-ruby/awesome_print/awesome_print-1.0.2.ebuild
Gentoo

Contents of /dev-ruby/awesome_print/awesome_print-1.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Oct 28 17:16:52 2012 UTC (6 months, 3 weeks ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
alpha stable, add ~alpha/~ia64/~sparc, etc

(Portage version: 2.1.11.9/cvs/Linux x86_64, RepoMan options: --force)

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/awesome_print/awesome_print-1.0.2.ebuild,v 1.2 2012/08/19 11:00:17 blueness Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18 ruby19 ree18 jruby"
7
8 RUBY_FAKEGEM_RECIPE_TEST="rspec"
9
10 RUBY_FAKEGEM_TASK_DOC=""
11 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="Ruby library that pretty prints Ruby objects in full color with proper indentation."
16 HOMEPAGE="http://github.com/michaeldv/awesome_print"
17 LICENSE="MIT"
18
19 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
20 SLOT="0"
21 IUSE=""
22
23 all_ruby_prepare() {
24 # Avoid intermittent hash-ordering test failure:
25 # https://github.com/michaeldv/awesome_print/issues/74
26 sed -i -e '/handle array grep when pattern contains/,/end/ s:^:#:' spec/formats_spec.rb || die
27 sed -i -e '/should pass the matching string within the block/,/^ end/ s:^:#:' spec/methods_spec.rb || die
28 }

  ViewVC Help
Powered by ViewVC 1.1.13