summaryrefslogtreecommitdiff
path: root/dev-ruby/rake
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /dev-ruby/rake
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r--dev-ruby/rake/Manifest1
-rw-r--r--dev-ruby/rake/rake-13.0.3-r1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest
index d2a5b937bf2d..e3b6d2aade9c 100644
--- a/dev-ruby/rake/Manifest
+++ b/dev-ruby/rake/Manifest
@@ -6,5 +6,6 @@ DIST rake-13.0.3.tar.gz 122825 BLAKE2B a36cc6d8e5f560bc502455a756b89d763899e71b7
EBUILD rake-12.3.3.ebuild 1262 BLAKE2B 1d6dcd738a78d78cc1594ada8d551dea2d365e14f9f62a9d2fc8fb5c6e34ca8cf7c6f3e302ea9786d40772b4f6d7eb677e2ddbfa20a40bb3f19443ef9d0be8c0 SHA512 a38c5335b4363d37553d52afa7e01c53569e0c2d8e53023ad215d46886be7150a7600718a32ed0b6fbc7894c4a79f53924ec7d3273e7d7eb69b86e7fefa3e400
EBUILD rake-13.0.0.ebuild 1440 BLAKE2B 3cd568481985f897a051329b02fbd011327cb0b0b18f3c8e5c6bdcc29732d00403e191f5cf09affadfd0f41b062aa36b4039554506e2681b012df12fe9794096 SHA512 2130e165851c685a59be81b45511ff689296e76d8bacb3dbb504bc35fc461dcc2cec76f5055d9889c4a6c08d82229d84a495e61d9df0aa73cd6fbd26f6d95e9b
EBUILD rake-13.0.1.ebuild 1447 BLAKE2B 877bb61e85fb6eaf829142fd0f68176c1ab9bc947d2bd0da4b6d6c7f21cd48afd0cc307cc44e322c5693892ddf4593ca736f5e45b9e0766e766f13550ae3ef3f SHA512 54be8b3e195f8960844b38ae3171b50ad73ee71a8903e24e2eda6df2a7b49a523d1c67543e892dd42d2caf424381ab5e4930a75e2140af81dc6a152c8b5b8bcc
+EBUILD rake-13.0.3-r1.ebuild 1455 BLAKE2B c08d008ddd4c9fbbcc0bccdbeec69cbdf74eacb0a35a5f2440ee09ed4f02f926c6b15251f8ae3aa6a9fc4a8e70ae85c75505992acf78edfabc17442efab0157a SHA512 d0992df412ab18f7d724658f226c5cfded487417b0d27b44b3cfe6301da9f4a584de6a5df862c5fb1d079ae0f9945ee440b539d85918941ab14c4a5f1775cea4
EBUILD rake-13.0.3.ebuild 1447 BLAKE2B 20142be6848ce363e150b6d3b36611e99077794de5ee4ac7e22667e70245252ea5ae2c44243f1146405971ef31fbc74ae119e22e006e89e1d1c4bee894565db5 SHA512 7e6d6b6e16de8ebfab69c887d65751aff7c5902a3975bd99882ee060a0697391c58edd1c073d799aeec8fe0481d6e19bbad70b2116bb1ca67e6bc27e30a60158
MISC metadata.xml 341 BLAKE2B 4f6fce5484dd3adf4b7025f95d26ecd9f2f435d2b5e5774cb3f6ea2ea07727d4d76ef640eb039aafe67e5597b70d22258d0f8f939471af2057f0f933250098e6 SHA512 56fc95931062163036dde73847a796fd5802ff4bcb8a8e72686847537d0f38c9d15e0ec83bd06c2f86ce92952e9fbaa0e90eb4633d7afc460adbc0c9676e0040
diff --git a/dev-ruby/rake/rake-13.0.3-r1.ebuild b/dev-ruby/rake/rake-13.0.3-r1.ebuild
new file mode 100644
index 000000000000..b458f2fc2d14
--- /dev/null
+++ b/dev-ruby/rake/rake-13.0.3-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 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 ~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 * -type f -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}
+}