From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- dev-ruby/rake/Manifest | 1 + dev-ruby/rake/rake-13.0.6-r1.ebuild | 61 +++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-ruby/rake/rake-13.0.6-r1.ebuild (limited to 'dev-ruby/rake') diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index e0b1c6bac73a..c63422e3c2d2 100644 --- a/dev-ruby/rake/Manifest +++ b/dev-ruby/rake/Manifest @@ -4,5 +4,6 @@ DIST rake-13.0.4.tar.gz 123399 BLAKE2B f91079b3e22f0b1e09857ac5f549ad1cd4372ccbd DIST rake-13.0.6.tar.gz 123485 BLAKE2B 39c99b9d125ba7519bd8eaadac85646e785cc01fafad549becea5b2801f14d74085365743f1c5eb1126d0ae32b19ebcde636badc06670a0ad0dba419082e691f SHA512 1b438be96d8cedaf70e961b0bbd2217692b0b5537b2e1d5f599158e7da3e300cf6ab0c5f0c52fea89be0beb675effbbf563d24e55c84fb673b4982013355e03c EBUILD rake-13.0.3-r1.ebuild 1447 BLAKE2B 96f2489a15db199dbb9359a5d2d2f030aff19cf2cf0b09df6541293261f121bce6099c2464b3f7af17b3465ffe2a908fc597806bfb6aa8c27407f796dfbd69c7 SHA512 c2cb29b463a828f0afe59643c81199677e3f990c3c9fdc45fe0e0dfbbf0d184484cbc82a80ecb47da7ead7f0b942dad4d436f54fc433d146eef5e702dd65044d EBUILD rake-13.0.4.ebuild 1488 BLAKE2B 81506dd9027bf056da28aa18840319ce3502057ae76552bb5ab465929c9d9c7da0da84ef1f4fe61e22069667dbfda47a9081b370573f3d7ed9351cc8558234f8 SHA512 45f5cffd067f5c2b4d6429dfa18e17fa4ee9a10459260c9780f31eb66c8960fdc6c0655ebcb443959e9aed21cfea9dd7d73c3a5b2dd2e94e64d8a228338a0c97 +EBUILD rake-13.0.6-r1.ebuild 1495 BLAKE2B 37aa50af83427de95e432034399a09d9a02e62695379ea4d0471f501429b97810e0399f70180912cafac1bab4b958087fc1e8e68a84166593ebb46a367bb3cff SHA512 d0d648e9dcd9dbe9f430b1170cf8b3ef84c2573ed7362660f5fbb9d79fa392dad07cc41760712f1f0808d1833e8f3e138e750f3b996a4ffd61838c4c1a452676 EBUILD rake-13.0.6.ebuild 1495 BLAKE2B a2ac9cd9bc02871fbcd730ff671ef1de072c6f07673f3d6346dfd6531673f3c95fb8c06ecca72956069d3fff3cc6f35b4b9c5d9cbd0e999ddce854b68d4f6948 SHA512 3097bc7c795bee111cd8bf15a8a7e2dfb687dcfc87d35c07576e2479185f331b6e6c681f1622665fc08655a14df4d29ce23a5be18da11f12d68aab04cf68af06 MISC metadata.xml 342 BLAKE2B 2ce6f0f6a15a223f7ce774b3c3ca1dc060bdd8eff79741692a6ae900ca52f3f37d9616de4c2e87826086de2fbc6d66cc2aba8a17081430d587d3b170a391de56 SHA512 484f0bbde0d79a392f8e3e95d447f62a5b3246b93b273395bfc4e5f6ef5ed18f6435cd071bbb6594d4bac2f8013a90a3c97044eb8e69d9aa437f511f77bae1e5 diff --git a/dev-ruby/rake/rake-13.0.6-r1.ebuild b/dev-ruby/rake/rake-13.0.6-r1.ebuild new file mode 100644 index 000000000000..56b5c8015f57 --- /dev/null +++ b/dev-ruby/rake/rake-13.0.6-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_GEMSPEC="rake.gemspec" + +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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 -e 's/git ls-files -z/find * -type f -print0/' \ + -e "s:_relative ': './:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_compile() { + if use doc; then + rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die + rm -f html/js/*.js.gz + 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} +} -- cgit v1.2.3