Skip to content

Commit

Permalink
dev-ruby/rake: add 12.2.1
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
graaff committed Oct 28, 2017
1 parent fb794df commit 522485d
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ruby/rake/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DIST rake-10.5.0.gem 130560 SHA256 2b55a1ad44b5c945719d8a97c302a316af770b835187d
DIST rake-11.3.0.tar.gz 134863 SHA256 d60ecce6911035a65daf80d038123a55723dedd62b960bccaaeda55a278b5375 SHA512 705c4b1979bdf8042acdc6cea403b2886ac9c589ed0eba7c258d0ce5c46104b7d6556415e82a26b5cd9559954ee53a0bd9f4e0373fd2601bb3b3338a426b3e5c WHIRLPOOL 162de593a1492623f2281339fb8a8974f36e691a0ab4fedae6a01f3b23a4b0dca2cbc2d0e90bbaa444a90872b55d18652800aa95c60ff8459ea732f4c0b69d5c
DIST rake-12.0.0.tar.gz 117571 SHA256 0754389d1ca3448a3715ca9f61ef303631cc6998c9483f8eceba0109de3a35f5 SHA512 2c8a0442b8c2f7755d8740f89d0772c646c87f64c04377955760c42a37ac25334628044ea37c09cd21e7372cab9e8f3d04b0076f0c34466eb4ea328c0bdcb01c WHIRLPOOL c083a8c61e0e074e2a13bcde93043dfa47523374d8a5221f5965721c690e5c39579dc367a4c85c883c515da70adac58012d11bc15ac5141688636be3ce40dc98
DIST rake-12.1.0.tar.gz 118891 SHA256 5935501d3e777405a5cc83050d3aaad14b889766d0298c8ff1d8334be58c6591 SHA512 931161e9c220bb18b913c7a2aeff5bb4711cb6a4ff5ab1850aae307e6ab38ac0dd9d0aaaaba4510c27006def6734a8debf8e500a5de8d6f827c3c954832ff136 WHIRLPOOL ff1c9e8790039d6ceed7fb21842d25122aede8b0aba657107dff4fbe4b905aaf5bb8a880de3492bcd205e3fffcf8f9523405f61d2817a8b32e2a8f2db0230d77
DIST rake-12.2.1.tar.gz 119660 SHA256 bf3226cabe1814c557c084c90d23343b925962360fea70846fcdb4355da51ca4 SHA512 930e2d82f0b5a3250cc0e8357bad60a7ad5f01fed06884e746b72cab60065a326c84d78410943836a698ee8cac1b291d162350d8304a4abcb7e8c930c026af4f WHIRLPOOL 901930bec67d3740e994570c5c5bf2cbe2932a0f7f3ff714e97e2bae0f832fea03de5bac01b7dc0f0d03d8103b7e221ae2aee4b5f5d3435722b4b370e06de36f
56 changes: 56 additions & 0 deletions dev-ruby/rake/rake-12.2.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
USE_RUBY="ruby22 ruby23 ruby24"

RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO"

RUBY_FAKEGEM_TASK_TEST=""

RUBY_FAKEGEM_BINDIR="exe"

inherit bash-completion-r1 ruby-fakegem

DESCRIPTION="Make-like scripting in Ruby"
HOMEPAGE="https://github.com/ruby/rake"
SRC_URI="https://github.com/ruby/rake/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc"

DEPEND+=" app-arch/gzip"

ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.8 )
doc? ( dev-ruby/rdoc )"

all_ruby_prepare() {
sed -i -e '/coverall/I s:^:#:' test/helper.rb || die
}

all_ruby_compile() {
if use doc; then
rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die
fi
}

each_ruby_test() {
${RUBY} -Ilib:test:. -e 'gem "minitest", "~>5.8"; require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die
}

all_ruby_install() {
ruby_fakegem_binwrapper rake

if use doc; then
pushd html
dodoc -r *
popd
fi

doman doc/rake.1

newbashcomp "${FILESDIR}"/rake.bash-completion ${PN}
}

0 comments on commit 522485d

Please sign in to comment.