1 |
commit: 7d77b58a972ef45f63dbc86e22a2c83359a7aba4 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 31 16:17:07 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 1 06:08:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d77b58a |
7 |
|
8 |
dev-ruby/ruby-prof: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
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.2.ebuild | 51 ------------------------------- |
15 |
2 files changed, 52 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest |
18 |
index c68c6d85008..2f622cfe746 100644 |
19 |
--- a/dev-ruby/ruby-prof/Manifest |
20 |
+++ b/dev-ruby/ruby-prof/Manifest |
21 |
@@ -1,2 +1 @@ |
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.2.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.4.2.ebuild |
26 |
deleted file mode 100644 |
27 |
index 716e4bf8ce7..00000000000 |
28 |
--- a/dev-ruby/ruby-prof/ruby-prof-1.4.2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,51 +0,0 @@ |
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 |
-inherit multilib ruby-fakegem |
44 |
- |
45 |
-DESCRIPTION="A module for profiling Ruby code" |
46 |
-HOMEPAGE="https://github.com/ruby-prof/ruby-prof" |
47 |
-SRC_URI="https://github.com/ruby-prof/${PN}/archive/${PV}.tar.gz -> ${P}.tgz" |
48 |
- |
49 |
-LICENSE="BSD" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="~amd64 ~ppc ~x86" |
52 |
-IUSE="" |
53 |
- |
54 |
-ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/minitest )" |
55 |
- |
56 |
-all_ruby_prepare() { |
57 |
- # Avoid bundler |
58 |
- sed -i -e '/bundler/I s:^:#:' -e '/:build/ s:^:#:' Rakefile || die |
59 |
- |
60 |
- sed -i -e '2igem "test-unit"' -e '/bundler/ s:^:#:' test/test_helper.rb || die |
61 |
- |
62 |
- # We install the shared object in lib, not ext. |
63 |
- sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die |
64 |
- |
65 |
- # Avoid unneeded dependency on rake-compiler |
66 |
- sed -i -e '/extensiontask/ s:^:#:' \ |
67 |
- -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die |
68 |
- |
69 |
- # Create directory required for the test suite to pass |
70 |
- mkdir tmp || die |
71 |
-} |
72 |
- |
73 |
-each_ruby_configure() { |
74 |
- ${RUBY} -Cext/ruby_prof extconf.rb || die "extconf.rb failed" |
75 |
-} |
76 |
- |
77 |
-each_ruby_compile() { |
78 |
- emake V=1 -Cext/ruby_prof |
79 |
- |
80 |
- cp ext/ruby_prof/*$(get_modname) lib/ || die "copy of extension failed" |
81 |
-} |