summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-04-06 07:56:46 +0200
committerHans de Graaff <graaff@gentoo.org>2024-04-06 08:14:28 +0200
commit68248fd09db8bdf6d4330a62831f19c63c98eba0 (patch)
tree9424415c44b44ecbec8d4841458ce0ba2566e8e1 /dev-ruby/rake
parentnet-vpn/strongswan: Stabilize 5.9.14 x86, #928650 (diff)
downloadgentoo-68248fd09db8bdf6d4330a62831f19c63c98eba0.tar.gz
gentoo-68248fd09db8bdf6d4330a62831f19c63c98eba0.tar.bz2
gentoo-68248fd09db8bdf6d4330a62831f19c63c98eba0.zip
dev-ruby/rake: add 13.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r--dev-ruby/rake/Manifest1
-rw-r--r--dev-ruby/rake/rake-13.2.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest
index 5074cc79ca62..3d3b4acd4012 100644
--- a/dev-ruby/rake/Manifest
+++ b/dev-ruby/rake/Manifest
@@ -1,3 +1,4 @@
DIST rake-13.0.6.tar.gz 123485 BLAKE2B 39c99b9d125ba7519bd8eaadac85646e785cc01fafad549becea5b2801f14d74085365743f1c5eb1126d0ae32b19ebcde636badc06670a0ad0dba419082e691f SHA512 1b438be96d8cedaf70e961b0bbd2217692b0b5537b2e1d5f599158e7da3e300cf6ab0c5f0c52fea89be0beb675effbbf563d24e55c84fb673b4982013355e03c
DIST rake-13.1.0.tar.gz 124144 BLAKE2B 753995c99c165c2f7fb58da698c8599bed700503fe887062c984f20f0792c8d27aa9e7bb00b4c234aa493437f569d389068c6ace1cd72be9c21f7a4b515df584 SHA512 aaea4566834e588ff5cf9f48892cb7aea40f0057db949eb0053755b2f601d5c19073128aedb1f3c98cace441518bbf9bc215ba45d9135123d5b3a48a1625a995
DIST rake-13.2.0.tar.gz 124514 BLAKE2B 07765d63d46e2044bf571491aea70a9a74156c8a68d524339c443e38ad298efc53bc9cbba288039ec7ad02cf6984ca3a1008c22478188bab0e2a7c4bda82ccb4 SHA512 c1c36de667c92a5e627b29d6d504aa22bf845f27d04eace5fbc13b10845932fe6ba58b4d64d6aca45436f6db6f2b4fbab4c155120d4818db0870c8d58e957d9c
+DIST rake-13.2.1.tar.gz 124565 BLAKE2B c9ec38d3808705aa583d815966c026ee891f4af8860267515b92e14e4a9c2f85f6d08c338546837cd01cda6f4398bf5001017838561b4b8abeba5aa54ce6f19b SHA512 23948361713d751c6ed83fa84ce2c02031604d2c6f2f8d4db92a50ba2b614214f58b3c156066bb2653dd9728243493100cefbc76ee95ba377ccb90f696974952
diff --git a/dev-ruby/rake/rake-13.2.1.ebuild b/dev-ruby/rake/rake-13.2.1.ebuild
new file mode 100644
index 000000000000..9f9e0a5bc533
--- /dev/null
+++ b/dev-ruby/rake/rake-13.2.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc"
+
+BDEPEND+=" app-alternatives/gzip"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit )
+ 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() {
+ MT_NO_PLUGINS=true RUBYLIB="$(pwd)/lib" ${RUBY} -Ilib:test:. -e '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}
+}