1 |
commit: ecee5d974e92f162018ef90f4bd7d38006a40858 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 07:46:31 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 07:59:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecee5d97 |
7 |
|
8 |
dev-ruby/ruby-prof: add 1.4.5 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/ruby-prof/Manifest | 1 + |
13 |
dev-ruby/ruby-prof/ruby-prof-1.4.5.ebuild | 41 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest |
17 |
index 0d84860728b6..93a1acc9050a 100644 |
18 |
--- a/dev-ruby/ruby-prof/Manifest |
19 |
+++ b/dev-ruby/ruby-prof/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ruby-prof-1.4.3.tgz 232032 BLAKE2B 68df149718869afac89b2240263cd3dd48c28b592f32cd7bc8a918b67de7a10abc3a1af04cb00eeaec9e6f7292e5258d22ba8bec0243361289add943535ffe39 SHA512 fd19d97b88b52c07331bf885c69215267eccb3a0519eb3bb6cd6e5907af55ebbace32f3bdef5b1f340bc3c4779666d7f4100878e647fdfde4da3a4df2a946ebe |
22 |
DIST ruby-prof-1.4.4.tgz 232833 BLAKE2B 932f5edd47a9de57f4c394044d1d563935f456b3cf77ac85c912359e34c8c1becafddfda329e05a672d4009b81fba386f76ba4677cee2dde44f40bef5abcaa94 SHA512 5ae25b32b26cfe7faf60c0ba84d3853c74f272783a8dde858ce3de0186683c7cf35dbcb5e89b1e5aa742ee93ea601e55f7ad99491bf9c1a1accef454b08b9921 |
23 |
+DIST ruby-prof-1.4.5.tgz 233733 BLAKE2B 1285eb2862a9159a80ead9c3e26f372ec00719553f8bc42d10645e7ea86bfb1f27525c1bdbb3a4ae187a0a34ac7d11c7516b594070fce694d1f29e840710d500 SHA512 444af657b5aff9b8c18e15600cb1bc89a2fb9085a56ac65ca392614234bdce73445fcf41ea638f1a2f02826ef35288896befd5e74526b5fa3b93d63eeb3700a0 |
24 |
|
25 |
diff --git a/dev-ruby/ruby-prof/ruby-prof-1.4.5.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.4.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..32aeba5fc051 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/ruby-prof/ruby-prof-1.4.5.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+USE_RUBY="ruby27 ruby30 ruby31" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="README.md 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" |
45 |
+ |
46 |
+inherit 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 |
+} |