/[gentoo-x86]/dev-ruby/bcat/bcat-0.6.2.ebuild
Gentoo

Contents of /dev-ruby/bcat/bcat-0.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Jan 15 05:19:20 2013 UTC (5 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
adding ~arm keywords to net-analyzer/metasploit rdeps

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

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/bcat/bcat-0.6.2.ebuild,v 1.8 2012/10/28 18:16:22 armin76 Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 ree18"
7
8 RUBY_FAKEGEM_TASK_DOC="man"
9 RUBY_FAKEGEM_EXTRADOC="README"
10
11 inherit ruby-fakegem
12
13 DESCRIPTION="A pipe to browser utility for use at the shell and within editors like Vim or Emacs."
14 HOMEPAGE="http://github.com/rtomayko/bcat"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
19 IUSE=""
20
21 # Collides on /usr/bin/bcat, bug 418301
22 RDEPEND="${RDEPEND} !!app-accessibility/speech-tools"
23
24 ruby_add_bdepend "doc? ( app-text/ronn )"
25 ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
26
27 ruby_add_rdepend "dev-ruby/rack"
28
29 each_ruby_prepare() {
30 sed -i -e "s/a2h/#{ENV['RUBY']} -S a2h/" test/test_bcat_a2h.rb || die
31 }
32
33 each_ruby_test() {
34 # The Rakefile uses weird trickery with load path that causes gems
35 # not to be found. Run tests directly instead and do the trickery
36 # here to support popen calls for the bins in this package.
37 RUBY=${RUBY} RUBYLIB=lib:${RUBYLIB} PATH=bin:${PATH} ${RUBY} -S testrb test/test_*.rb || die
38 }
39
40 all_ruby_install() {
41 all_fakegem_install
42
43 doman man/*.1
44 }

  ViewVC Help
Powered by ViewVC 1.1.20