1 |
commit: 3e7efe66b7a466b7eefe141d39a1d8f6074d71cd |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 4 09:24:01 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 4 09:24:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7efe66 |
7 |
|
8 |
dev-ruby/ruby-prof: add 1.4.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/ruby-prof/Manifest | 1 + |
14 |
dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild | 41 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest |
18 |
index aee7ae61ba5..c68c6d85008 100644 |
19 |
--- a/dev-ruby/ruby-prof/Manifest |
20 |
+++ b/dev-ruby/ruby-prof/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ruby-prof-1.4.2.tgz 90386 BLAKE2B 55263f6cd24b18112a917c2b03a57ca91619419244f79b2b06f6d6794f76d9411d4e1b39dbb2e4b7e2ca6cc03b244f529f4b56fec54ef5fda18853ec2ef05fb4 SHA512 e75a8898533dd2ce9098fcf940883e3cbeaeaecdaebe3592ee67321feb4e294e25bdf14ce6cac50fb6d582cd55d33f175929a1d5446a21b74eb86c468e779fc3 |
23 |
+DIST ruby-prof-1.4.3.tgz 232032 BLAKE2B 68df149718869afac89b2240263cd3dd48c28b592f32cd7bc8a918b67de7a10abc3a1af04cb00eeaec9e6f7292e5258d22ba8bec0243361289add943535ffe39 SHA512 fd19d97b88b52c07331bf885c69215267eccb3a0519eb3bb6cd6e5907af55ebbace32f3bdef5b1f340bc3c4779666d7f4100878e647fdfde4da3a4df2a946ebe |
24 |
|
25 |
diff --git a/dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1924a8778cd |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/ruby-prof/ruby-prof-1.4.3.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+USE_RUBY="ruby25 ruby26 ruby27" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES" |
39 |
+RUBY_FAKEGEM_DOCDIR="doc" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="ruby-prof.gemspec" |
42 |
+ |
43 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/ruby_prof/extconf.rb) |
44 |
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/ruby_prof" |
45 |
+ |
46 |
+inherit multilib ruby-fakegem |
47 |
+ |
48 |
+DESCRIPTION="A module for profiling Ruby code" |
49 |
+HOMEPAGE="https://github.com/ruby-prof/ruby-prof" |
50 |
+SRC_URI="https://github.com/ruby-prof/${PN}/archive/${PV}.tar.gz -> ${P}.tgz" |
51 |
+ |
52 |
+LICENSE="BSD" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~ppc ~x86" |
55 |
+IUSE="" |
56 |
+ |
57 |
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/minitest )" |
58 |
+ |
59 |
+all_ruby_prepare() { |
60 |
+ # Avoid bundler |
61 |
+ sed -i -e '/bundler/I s:^:#:' -e '/:build/ s:^:#:' Rakefile || die |
62 |
+ |
63 |
+ sed -i -e '2igem "test-unit"' -e '/bundler/ s:^:#:' test/test_helper.rb || die |
64 |
+ |
65 |
+ # We install the shared object in lib, not ext. |
66 |
+ sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die |
67 |
+ |
68 |
+ # Avoid unneeded dependency on rake-compiler |
69 |
+ sed -i -e '/extensiontask/ s:^:#:' \ |
70 |
+ -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die |
71 |
+} |