diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-01-13 08:10:06 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-01-14 18:52:03 +0100 |
commit | 9f47f280bb2603c21336c7254fcbe881427bc790 (patch) | |
tree | 51af8db7f188e4324cf80a94fcd81cc1ffc6d284 | |
parent | dev-ruby/map: drop ruby22 since it does not actually work (diff) | |
download | gentoo-9f47f280bb2603c21336c7254fcbe881427bc790.tar.gz gentoo-9f47f280bb2603c21336c7254fcbe881427bc790.tar.bz2 gentoo-9f47f280bb2603c21336c7254fcbe881427bc790.zip |
dev-ruby/rake: add 10.5.0
Package-Manager: portage-2.2.26
-rw-r--r-- | dev-ruby/rake/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rake/rake-10.5.0.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index fb2b374c4d5b..76687bd4d154 100644 --- a/dev-ruby/rake/Manifest +++ b/dev-ruby/rake/Manifest @@ -2,3 +2,4 @@ DIST rake-0.9.6.gem 123904 SHA256 0cde8637bc097b984b602d7db77b1982b3a0be5ab014f1 DIST rake-10.3.2.gem 132608 SHA256 b504ad9d610b85ef0856a4771d024e4a66656c63a17121a3ed1d4d7db39c775b SHA512 98db69b02bc8d1e5b7099c8c31028ebb629d29a96b61c4200f93fe1a8b5b29fe235a4a8ccb180e44393a508a6238a0655d06f6b7fd7d67ffbca5dd42cf50da15 WHIRLPOOL 30d34219b48367a62bdc01127672c21039d8c66559e65d34acb8dbc07a747d5d7a7b8f80bde459ad38c963cb88c1fcf34c4ebb13018be0a48bd30030f12f4603 DIST rake-10.4.0.gem 130560 SHA256 887f72d6711c31576abab37f1f7db45972402cc8544fa9a67c06d2c0f0ef2028 SHA512 8b9c0e3b56bd9b47540c8c7a67fb019417e991cb15eac4de46cc611ab0d6838a931dd7b59b198a083c256dde488c767cde31d7fe18fc894c80cfcffc1a8d404f WHIRLPOOL fb21d20241288d15fd252f364853d506f223becfa88966987ded24609dd8350d3840e2770eb7ae6f9d4d9a9ea915df82632c369a7c22aecf0262e1405fc49898 DIST rake-10.4.2.gem 130560 SHA256 28970905a7bb57ba7ebcd2eda820ccea622f549b101d7590353b0647711ec0e6 SHA512 6663cd785fc0f3fe6096f962cbb01e4300446a21aa57a4784f3b79cb3228895a8a207c32463888e243d425c168ae5361e9192d86c878e0535bf4ac061a80ce51 WHIRLPOOL 2fd3590ba2d3c333e724a4193b25064f03cf50f9216da9654fecc1e36369681f892d993e9bac135babcbac47cac562c46d20f5f05a4544ec62de4ae558f0b996 +DIST rake-10.5.0.gem 130560 SHA256 2b55a1ad44b5c945719d8a97c302a316af770b835187d12143e83069df5a8a49 SHA512 0c95921e00af8dbc51edf9fdb8a8d8b0cc68295894fd310b3c4e5aafef1d5d6f9819a9e8a9b4c854f54835115123411278992f6223e0fb18e2efa7fa58ab6fcf WHIRLPOOL a35b2070c8b0eef32a106b2d15c77ab60010cc4472d222eaed826cd98302e4c037f16c6bef5f1c372ea4c8b648edd2bd8e0895133d1efaee5548744d0770cc54 diff --git a/dev-ruby/rake/rake-10.5.0.ebuild b/dev-ruby/rake/rake-10.5.0.ebuild new file mode 100644 index 000000000000..5df5ac6a53e1 --- /dev/null +++ b/dev-ruby/rake/rake-10.5.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/jimweirich/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} +} |