diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-06-12 07:44:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-06-12 07:44:26 +0200 |
commit | 4132af84ad7aa58202873445384aeb394750bd5c (patch) | |
tree | 5c301ad753b8a69baa24e966616c2f0cf3391664 /dev-ruby/rake | |
parent | net-firewall/fwknop: verbump to 2.6.9 (diff) | |
download | gentoo-4132af84ad7aa58202873445384aeb394750bd5c.tar.gz gentoo-4132af84ad7aa58202873445384aeb394750bd5c.tar.bz2 gentoo-4132af84ad7aa58202873445384aeb394750bd5c.zip |
dev-ruby/rake: add 11.2.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r-- | dev-ruby/rake/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rake/rake-11.2.2.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index cc05e9ace0bf..b2211c87248d 100644 --- a/dev-ruby/rake/Manifest +++ b/dev-ruby/rake/Manifest @@ -3,3 +3,4 @@ DIST rake-10.5.0.gem 130560 SHA256 2b55a1ad44b5c945719d8a97c302a316af770b835187d DIST rake-11.1.0.gem 129024 SHA256 aef48a72ef8101b4400f3eb67a7adc27e39cedcbfe83bf57f1d759f00596b4f7 SHA512 9b2df8dc386f3c881c84cf3dfc07b2e04c21049eeb82553fc59094e5c6b647f66b301ba47cd90b2b60838e6216292e16890700547ef93d59482de2e803167f97 WHIRLPOOL 2544e23322b4fc9fc306a9ecd1a164a4189e76ecde246156ac2d185f607f8f05f385a3bf0f7f4b176ba80358cf073030aa1d4bbe55fc8b3217ff2718aa95ceea DIST rake-11.1.1.gem 129024 SHA256 0fe21c345852d5fea819e1388408f512a0859dc5b700bdfdd974c02e58641c41 SHA512 bc352d8515986274c372764c8537b009b1d8f80569fa51d1319ed176a1a7412db3decd82b60f9d7491ddbb7ff491430fbfdbdfc25c1551b26192e02f0d42163d WHIRLPOOL b3e930bc03ec4fbff629cf918a519d7186eac9084a26c2019d284bcbc7d95e52b039191760a314025753919fd977daa0aec48178b5de015429c8fda02bcc57ec DIST rake-11.1.2.gem 129024 SHA256 1f2fb518497639c8fe2212f76fef8cd2e0c3832ae339d2466c7490d2e6f1d549 SHA512 ec55816ec48ddc1a91e11a2a4cbd89f139183acc7c65f05e8ea09185e6083f05601d707774e99bc1d6dd49c8d3c500b99cbe54d7242f8d638c42d8fc393f05af WHIRLPOOL aebb6efb2e2fafb7dc14bc8051fb960eca3a20b83424a66be1033326b58405a0fba76fafd46e774da1ed5aeb3a496b53623c5d8d6a51af0bb98e5183e9b1ca51 +DIST rake-11.2.2.tar.gz 135005 SHA256 f0b61e1106f78356975d621086ad4ebcf0b16115345f91331c00ca1db3219986 SHA512 10fc827521ac033abe70548de4786115f37106a59750ec617bab48fde55a6c79354e91e879774b5877e1bc1492fef2cdc13ff0b76397167ada55478595f72b30 WHIRLPOOL d5964d7f7909c5b3c0c0c3bd2d836108f9c31d3d39e86d4fab85494e72ff80ba9ce40c7ff3c21f803ee20d8bdd78a522c1a17ddb1886073f31367a4ab3caf9e5 diff --git a/dev-ruby/rake/rake-11.2.2.ebuild b/dev-ruby/rake/rake-11.2.2.ebuild new file mode 100644 index 000000000000..3851138a1057 --- /dev/null +++ b/dev-ruby/rake/rake-11.2.2.ebuild @@ -0,0 +1,50 @@ +# 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" +SRC_URI="https://github.com/ruby/rake/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +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} +} |