| 1 |
flameeyes |
1.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/childprocess/childprocess-0.3.4.ebuild,v 1.1 2012/07/29 15:17:46 graaff Exp $
|
| 4 |
|
|
|
| 5 |
|
|
EAPI=4
|
| 6 |
|
|
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
| 7 |
|
|
|
| 8 |
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
| 9 |
|
|
|
| 10 |
|
|
RUBY_FAKEGEM_TASK_DOC="yard"
|
| 11 |
|
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
| 12 |
|
|
|
| 13 |
|
|
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
| 14 |
|
|
|
| 15 |
|
|
inherit ruby-fakegem
|
| 16 |
|
|
|
| 17 |
|
|
DESCRIPTION="A simple and reliable solution for controlling external programs running in the background."
|
| 18 |
|
|
HOMEPAGE="https://github.com/jarib/childprocess"
|
| 19 |
|
|
|
| 20 |
|
|
LICENSE="MIT"
|
| 21 |
|
|
SLOT="2"
|
| 22 |
|
|
KEYWORDS="~amd64 ~hppa ~x86"
|
| 23 |
|
|
IUSE=""
|
| 24 |
|
|
|
| 25 |
|
|
ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/rspec:2 )"
|
| 26 |
|
|
|
| 27 |
|
|
ruby_add_rdepend "virtual/ruby-ffi"
|
| 28 |
|
|
|
| 29 |
|
|
all_ruby_prepare() {
|
| 30 |
|
|
# Remove bundler support
|
| 31 |
|
|
rm Gemfile || die
|
| 32 |
|
|
sed -i -e "/[Bb]undler/d" Rakefile || die
|
| 33 |
|
|
|
| 34 |
|
|
sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
| 35 |
|
|
}
|