summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-12-28 08:38:58 +0100
committerHans de Graaff <graaff@gentoo.org>2020-12-28 08:46:44 +0100
commit1be4c7110aa425a1a572b9a823fe814aa255c976 (patch)
tree483958a54c3ffde8c35c444ed96410bc86f020e6 /dev-ruby/rake
parentdev-ruby/minitest: add ruby30 (diff)
downloadgentoo-1be4c7110aa425a1a572b9a823fe814aa255c976.tar.gz
gentoo-1be4c7110aa425a1a572b9a823fe814aa255c976.tar.bz2
gentoo-1be4c7110aa425a1a572b9a823fe814aa255c976.zip
dev-ruby/rake: add 13.0.3
Package-Manager: Portage-3.0.9, Repoman-3.0.2 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.0.3.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest
index 8902027a44a1..2d18ff4e9a6d 100644
--- a/dev-ruby/rake/Manifest
+++ b/dev-ruby/rake/Manifest
@@ -1,3 +1,4 @@
DIST rake-12.3.3.tar.gz 122233 BLAKE2B e6c913b833092ef5d4203265bb5daf725bfc34ff3abef5a4871845ba9ee322bb8ec668564ed7fe5a2d9ce219d5b7cb00fa22d0b76fb9721f2138d2d963f16c22 SHA512 de15ea4428e845de214d35ad2155bd55cab51354feb5c7ae4c2cde5365d7a3959ee96d913346bdafacdb0542ab2d0e4c2e905514a7f97cfb18e630794bba3a3b
DIST rake-13.0.0.tar.gz 122378 BLAKE2B 996990f061a2604bf031926670043773b029d03e092513be3566763b04474d88b9bd05c085f25fc9d66b26a55e191b45fa34dc4aa215376703ad28750d71a6b1 SHA512 56038199fedd952994459967173d298afb13ae7fe9d7873dfe18cd4030b37f841ff74c944835843379cd66da96a6d1ee8c38294203f9d8e514c4331d65f5db79
DIST rake-13.0.1.tar.gz 122821 BLAKE2B 698e92d32d4bedf523bc81636f4183ccb11da1f467d116f7ff4978e121bddc41b66160798e2c0a2b00aa8f79171a81df7e214e556adeb386bdb00a72a18b82b7 SHA512 50d82b3a9bbe194467c7669000ed9dd8e55fbb22307fbc7180aff6ab77095108a2519b3095965ad08b52cc984d0384016d7b166676f2e97394409a069d01545f
+DIST rake-13.0.3.tar.gz 122825 BLAKE2B a36cc6d8e5f560bc502455a756b89d763899e71b711ba6b11d17fd86a460b4cb3ac47705645d4ccbaef9b6d8964cdc5d4d535b4470582cb3658016a399f78d58 SHA512 aff09bbfa58620cd6902e6679ae3f54d90424bfac40c7ad6efcc590a1c9624ae7a0c5597b8b05b378d90e422285c41d781485b9aebe1819c0c2eaf5f2624afa2
diff --git a/dev-ruby/rake/rake-13.0.3.ebuild b/dev-ruby/rake/rake-13.0.3.ebuild
new file mode 100644
index 000000000000..f4f4bbd23a56
--- /dev/null
+++ b/dev-ruby/rake/rake-13.0.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+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 ~s390 ~sparc ~x86 ~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 's/git ls-files -z/find . -print0/' ${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}
+}