From d4f5b4b70891f92f426854e2dae5fb430bb18044 Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Sat, 12 Mar 2016 22:32:36 +0100 Subject: dev-ruby/rake: Version bump Package-Manager: portage-2.2.28 --- dev-ruby/rake/Manifest | 1 + dev-ruby/rake/rake-11.1.0.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-ruby/rake/rake-11.1.0.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index 944af58551de..ded5b3d1c1e6 100644 --- a/dev-ruby/rake/Manifest +++ b/dev-ruby/rake/Manifest @@ -1,3 +1,4 @@ DIST rake-0.9.6.gem 123904 SHA256 0cde8637bc097b984b602d7db77b1982b3a0be5ab014f1e533b6b517ca807e26 SHA512 9ea3b7bd96db7e96f8bf5a00db710003d39ffeea6eabfde4b9a8afead0e6f6a8fa7740f42a61d77a4322f64ab0338b19af8c63d0178624dc7c0e787e11b0b6f3 WHIRLPOOL 90ab856325bd4c4a3944720e063156d65368298658ed0619380da4cdbc7c932ede44e39fd79f87f5a5ed6ce63f4c7d01c0d1f06ee1b720e3576ac6ba04290e03 DIST rake-10.5.0.gem 130560 SHA256 2b55a1ad44b5c945719d8a97c302a316af770b835187d12143e83069df5a8a49 SHA512 0c95921e00af8dbc51edf9fdb8a8d8b0cc68295894fd310b3c4e5aafef1d5d6f9819a9e8a9b4c854f54835115123411278992f6223e0fb18e2efa7fa58ab6fcf WHIRLPOOL a35b2070c8b0eef32a106b2d15c77ab60010cc4472d222eaed826cd98302e4c037f16c6bef5f1c372ea4c8b648edd2bd8e0895133d1efaee5548744d0770cc54 DIST rake-11.0.1.gem 129024 SHA256 c4c902e78f2eb4d87ce7f18fe13483ab92d964197431113f422233dca340feda SHA512 f1adbfb73593ad337705600d019f50eaad567bd38986a6730c78916dc17ca6b93bfabc473357cb7bd1960d24bac7f7d8ea16987e9ee259189b2fbb5244e207bb WHIRLPOOL 8c5e7c77cf62e57a78ec6ce07ed3b49a90c5e0066600fbd55899f1f7963046ff9e02fea7ca6c2dbd0456d1baa91e3a8db4812f57594dc6f2a5b53336c8e3073c +DIST rake-11.1.0.gem 129024 SHA256 aef48a72ef8101b4400f3eb67a7adc27e39cedcbfe83bf57f1d759f00596b4f7 SHA512 9b2df8dc386f3c881c84cf3dfc07b2e04c21049eeb82553fc59094e5c6b647f66b301ba47cd90b2b60838e6216292e16890700547ef93d59482de2e803167f97 WHIRLPOOL 2544e23322b4fc9fc306a9ecd1a164a4189e76ecde246156ac2d185f607f8f05f385a3bf0f7f4b176ba80358cf073030aa1d4bbe55fc8b3217ff2718aa95ceea diff --git a/dev-ruby/rake/rake-11.1.0.ebuild b/dev-ruby/rake/rake-11.1.0.ebuild new file mode 100644 index 000000000000..93013f79e4c1 --- /dev/null +++ b/dev-ruby/rake/rake-11.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit bash-completion-r1 ruby-fakegem + +DESCRIPTION="Make-like scripting in Ruby" +HOMEPAGE="https://github.com/ruby/rake" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~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 )" + +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 + dohtml -r * + popd + fi + + doman doc/rake.1 + + newbashcomp "${FILESDIR}"/rake.bash-completion ${PN} +} -- cgit v1.2.3-65-gdbad