diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-11-19 08:27:54 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-11-19 08:27:54 +0100 |
commit | e6d12818a23ed4fc44d8202535b762b062e516d4 (patch) | |
tree | 4e1f88e89390160fbf88c4de7c677585eb0604cf /dev-ruby/rake | |
parent | dev-perl/MogileFS-Server: Bump to version 2.720.0 (diff) | |
download | gentoo-e6d12818a23ed4fc44d8202535b762b062e516d4.tar.gz gentoo-e6d12818a23ed4fc44d8202535b762b062e516d4.tar.bz2 gentoo-e6d12818a23ed4fc44d8202535b762b062e516d4.zip |
dev-ruby/rake: add 12.3.0
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r-- | dev-ruby/rake/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rake/rake-12.3.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index 82423c68ff20..4b6ad1b9bece 100644 --- a/dev-ruby/rake/Manifest +++ b/dev-ruby/rake/Manifest @@ -4,3 +4,4 @@ DIST rake-11.3.0.tar.gz 134863 SHA256 d60ecce6911035a65daf80d038123a55723dedd62b DIST rake-12.0.0.tar.gz 117571 SHA256 0754389d1ca3448a3715ca9f61ef303631cc6998c9483f8eceba0109de3a35f5 SHA512 2c8a0442b8c2f7755d8740f89d0772c646c87f64c04377955760c42a37ac25334628044ea37c09cd21e7372cab9e8f3d04b0076f0c34466eb4ea328c0bdcb01c WHIRLPOOL c083a8c61e0e074e2a13bcde93043dfa47523374d8a5221f5965721c690e5c39579dc367a4c85c883c515da70adac58012d11bc15ac5141688636be3ce40dc98 DIST rake-12.1.0.tar.gz 118891 SHA256 5935501d3e777405a5cc83050d3aaad14b889766d0298c8ff1d8334be58c6591 SHA512 931161e9c220bb18b913c7a2aeff5bb4711cb6a4ff5ab1850aae307e6ab38ac0dd9d0aaaaba4510c27006def6734a8debf8e500a5de8d6f827c3c954832ff136 WHIRLPOOL ff1c9e8790039d6ceed7fb21842d25122aede8b0aba657107dff4fbe4b905aaf5bb8a880de3492bcd205e3fffcf8f9523405f61d2817a8b32e2a8f2db0230d77 DIST rake-12.2.1.tar.gz 119660 SHA256 bf3226cabe1814c557c084c90d23343b925962360fea70846fcdb4355da51ca4 SHA512 930e2d82f0b5a3250cc0e8357bad60a7ad5f01fed06884e746b72cab60065a326c84d78410943836a698ee8cac1b291d162350d8304a4abcb7e8c930c026af4f WHIRLPOOL 901930bec67d3740e994570c5c5bf2cbe2932a0f7f3ff714e97e2bae0f832fea03de5bac01b7dc0f0d03d8103b7e221ae2aee4b5f5d3435722b4b370e06de36f +DIST rake-12.3.0.tar.gz 119742 SHA256 522e015007fd501879eca9f96802f7635f0429540f1faf2fe54d7bd7a3bd8635 SHA512 a4768530d484dd2a1abd19c1d89b33ae31da54d59a8719f7559c586abb1c4eb7f6dc3cd05f85ad136137ad3395f57a121ebcc693da2d35e4cc1d70c1f64b666f WHIRLPOOL 46c3f1bae2af9c0b6abe5a1b1b550a34b9e2d10265c9c4395370acadffbcc6feb0c81a3307721eb9a967c04bdca6b77562ed96bc13ebe99bf89de87d29423cc4 diff --git a/dev-ruby/rake/rake-12.3.0.ebuild b/dev-ruby/rake/rake-12.3.0.ebuild new file mode 100644 index 000000000000..712e7522cf9e --- /dev/null +++ b/dev-ruby/rake/rake-12.3.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +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_prepare() { + sed -i -e '/coverall/I s:^:#:' test/helper.rb || die +} + +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} +} |