gentoo/dev-ruby/ruby-progressbar/ruby-progressbar-1.4.2-r1.ebuild
Hans de Graaff aa1dd33939
dev-ruby/ruby-progressbar: add ruby23
Package-Manager: Portage-2.3.19, Repoman-2.3.6
2018-02-25 08:47:25 +01:00

29 lines
586 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby22 ruby23"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="A Text Progress Bar Library for Ruby"
HOMEPAGE="https://github.com/jfelchner/ruby-progressbar"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~x86-fbsd"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/timecop )"
all_ruby_prepare() {
sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' spec/spec_helper.rb || die
}