diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-07-23 08:01:12 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-07-23 08:01:12 +0200 |
commit | 9b9636cfac517beda8b36d034a290ce347f51cd1 (patch) | |
tree | 0e800bc7aaa405e540c8b08c0c7933336d5b88d9 /dev-ruby/rake | |
parent | media-radio/wsjtx: Add missing build dep to dev-qt/linguist-tools (diff) | |
download | gentoo-9b9636cfac517beda8b36d034a290ce347f51cd1.tar.gz gentoo-9b9636cfac517beda8b36d034a290ce347f51cd1.tar.bz2 gentoo-9b9636cfac517beda8b36d034a290ce347f51cd1.zip |
dev-ruby/rake: add 12.3.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r-- | dev-ruby/rake/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rake/rake-12.3.3.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index d2b87ba90ac0..ad60d73b25e8 100644 --- a/dev-ruby/rake/Manifest +++ b/dev-ruby/rake/Manifest @@ -1,2 +1,3 @@ DIST rake-12.3.1.tar.gz 120170 BLAKE2B c0d087911f33ccd5256462501d175e1f92fa104a3c89b62a5bc434836d5abb277a61fb12269778d0a6e3b9b831e78c0a94d9d1cd885906980fdb55e0402e398b SHA512 49736059713d609b0786d4ea89866fd5d58076977aabeda3eeee0440f10edad708cc10ba91b5224f59a8ab87ee2ab8e2674e9115f90f035c16e1fa8cba3f7649 DIST rake-12.3.2.tar.gz 121854 BLAKE2B 76d52fbb08f626232bb829da5d125236f99ade886e26a65c8faa7126cb0a902659160971520b1106064371b55f1bf3f27f77ad10c6879200bfbc8e724d57874f SHA512 ed96decf4414eeee0ea79726a5862c8850cbf4db56702a6a7326784249efe432b37f16d4d96ef2c2886fdd693966f5770838802f1bc3446b0724617b8d0869a4 +DIST rake-12.3.3.tar.gz 122233 BLAKE2B e6c913b833092ef5d4203265bb5daf725bfc34ff3abef5a4871845ba9ee322bb8ec668564ed7fe5a2d9ce219d5b7cb00fa22d0b76fb9721f2138d2d963f16c22 SHA512 de15ea4428e845de214d35ad2155bd55cab51354feb5c7ae4c2cde5365d7a3959ee96d913346bdafacdb0542ab2d0e4c2e905514a7f97cfb18e630794bba3a3b diff --git a/dev-ruby/rake/rake-12.3.3.ebuild b/dev-ruby/rake/rake-12.3.3.ebuild new file mode 100644 index 000000000000..a65e0ab0ae4b --- /dev/null +++ b/dev-ruby/rake/rake-12.3.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +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_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} +} |