diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-12-25 08:56:00 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-12-25 08:56:21 +0100 |
commit | e53eb44620e0390d42ead6fd377f338bd6a5272c (patch) | |
tree | 87760bba53429fe33812d731259656269076fbaf /dev-ruby/rake | |
parent | dev-ruby/ruby-hmac: add ruby23 (diff) | |
download | gentoo-e53eb44620e0390d42ead6fd377f338bd6a5272c.tar.gz gentoo-e53eb44620e0390d42ead6fd377f338bd6a5272c.tar.bz2 gentoo-e53eb44620e0390d42ead6fd377f338bd6a5272c.zip |
dev-ruby/rake: add 12.0.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r-- | dev-ruby/rake/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rake/rake-12.0.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index a15802e13d7e..3c9af8eaee93 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.2.gem 129024 SHA256 1f2fb518497639c8fe2212f76fef8cd2e0c3832ae339d2466c7490d2e6f1d549 SHA512 ec55816ec48ddc1a91e11a2a4cbd89f139183acc7c65f05e8ea09185e6083f05601d707774e99bc1d6dd49c8d3c500b99cbe54d7242f8d638c42d8fc393f05af WHIRLPOOL aebb6efb2e2fafb7dc14bc8051fb960eca3a20b83424a66be1033326b58405a0fba76fafd46e774da1ed5aeb3a496b53623c5d8d6a51af0bb98e5183e9b1ca51 DIST rake-11.2.2.tar.gz 135005 SHA256 f0b61e1106f78356975d621086ad4ebcf0b16115345f91331c00ca1db3219986 SHA512 10fc827521ac033abe70548de4786115f37106a59750ec617bab48fde55a6c79354e91e879774b5877e1bc1492fef2cdc13ff0b76397167ada55478595f72b30 WHIRLPOOL d5964d7f7909c5b3c0c0c3bd2d836108f9c31d3d39e86d4fab85494e72ff80ba9ce40c7ff3c21f803ee20d8bdd78a522c1a17ddb1886073f31367a4ab3caf9e5 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 diff --git a/dev-ruby/rake/rake-12.0.0.ebuild b/dev-ruby/rake/rake-12.0.0.ebuild new file mode 100644 index 000000000000..6413fb8ca1fb --- /dev/null +++ b/dev-ruby/rake/rake-12.0.0.ebuild @@ -0,0 +1,52 @@ +# 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="" + +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 ~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} +} |