Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-prof/
Date: Fri, 04 Jun 2021 09:24:23
Message-Id: 1622798655.d197c3a1e0a6c43da5b9e440293176aace4b203c.graaff@gentoo
1 commit: d197c3a1e0a6c43da5b9e440293176aace4b203c
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 4 08:41:55 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=d197c3a1
7
8 dev-ruby/ruby-prof: cleanup
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 | 2 -
14 dev-ruby/ruby-prof/ruby-prof-0.18.0.ebuild | 62 ------------------------------
15 dev-ruby/ruby-prof/ruby-prof-1.4.1.ebuild | 51 ------------------------
16 3 files changed, 115 deletions(-)
17
18 diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest
19 index 07c13e32180..aee7ae61ba5 100644
20 --- a/dev-ruby/ruby-prof/Manifest
21 +++ b/dev-ruby/ruby-prof/Manifest
22 @@ -1,3 +1 @@
23 -DIST ruby-prof-0.18.0.tgz 93925 BLAKE2B f7e0825e5291fdab017035b2a71029407d2b01161f4c4c7aa1f10a80b4080ac14f7adaa2c0340fe5c80f7352181d085d724dee66597ed29825ab7116d37c5e58 SHA512 1743bbd97789c9de66e9479384d204b0870e43a265471f0fbdf7a72bb19d77a30afc25da9d0ac66a921c28ce83d8a8d72279bdd9b23cf8505ccde952092dd9a5
24 -DIST ruby-prof-1.4.1.tgz 90180 BLAKE2B d996474330146a5daac50f1dcc2e39ed9d3c43ab5f4851805ab264168d3a242371cf216df53c474360de164dd42c14465b4d660c4a6aee7e8983d69ea52dc4e0 SHA512 a436f5fb81bc972c799591ee1077d8fe3d092680c8c0c40ca3607f7ba49611e6fb986464df16bacc7e429ad51276f76c800457a3a68beb659ef8ad01d183434a
25 DIST ruby-prof-1.4.2.tgz 90386 BLAKE2B 55263f6cd24b18112a917c2b03a57ca91619419244f79b2b06f6d6794f76d9411d4e1b39dbb2e4b7e2ca6cc03b244f529f4b56fec54ef5fda18853ec2ef05fb4 SHA512 e75a8898533dd2ce9098fcf940883e3cbeaeaecdaebe3592ee67321feb4e294e25bdf14ce6cac50fb6d582cd55d33f175929a1d5446a21b74eb86c468e779fc3
26
27 diff --git a/dev-ruby/ruby-prof/ruby-prof-0.18.0.ebuild b/dev-ruby/ruby-prof/ruby-prof-0.18.0.ebuild
28 deleted file mode 100644
29 index 867b5dd4fab..00000000000
30 --- a/dev-ruby/ruby-prof/ruby-prof-0.18.0.ebuild
31 +++ /dev/null
32 @@ -1,62 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -USE_RUBY="ruby24 ruby25 ruby26"
39 -
40 -RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES"
41 -RUBY_FAKEGEM_DOCDIR="doc"
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"' test/test_helper.rb || die
61 -
62 - # Fix a timing-dependant spec since its thresholds for success are
63 - # too tight.
64 - sed -i -e '/test_class_methods/,/^ end/ s:^:#:' test/measure_cpu_time_test.rb || die
65 -
66 - # We install the shared object in lib, not ext.
67 - sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die
68 -
69 - # Avoid unneeded dependency on rake-compiler
70 - sed -i -e '/extensiontask/ s:^:#:' \
71 - -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die
72 -
73 - # Create directory required for the test suite to pass
74 - mkdir tmp || die
75 -}
76 -
77 -each_ruby_configure() {
78 - ${RUBY} -Cext/ruby_prof extconf.rb || die "extconf.rb failed"
79 -}
80 -
81 -each_ruby_compile() {
82 - emake V=1 -Cext/ruby_prof
83 -
84 - cp ext/ruby_prof/*$(get_modname) lib/ || die "copy of extension failed"
85 -}
86 -
87 -all_ruby_install() {
88 - all_fakegem_install
89 -
90 - for dir in examples ; do
91 - docinto "${dir}"
92 - dodoc -r "${dir}"/.
93 - done
94 -}
95
96 diff --git a/dev-ruby/ruby-prof/ruby-prof-1.4.1.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.4.1.ebuild
97 deleted file mode 100644
98 index 0a16a9c1518..00000000000
99 --- a/dev-ruby/ruby-prof/ruby-prof-1.4.1.ebuild
100 +++ /dev/null
101 @@ -1,51 +0,0 @@
102 -# Copyright 1999-2021 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=7
106 -
107 -USE_RUBY="ruby25 ruby26 ruby27"
108 -
109 -RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES"
110 -RUBY_FAKEGEM_DOCDIR="doc"
111 -
112 -RUBY_FAKEGEM_GEMSPEC="ruby-prof.gemspec"
113 -
114 -inherit multilib ruby-fakegem
115 -
116 -DESCRIPTION="A module for profiling Ruby code"
117 -HOMEPAGE="https://github.com/ruby-prof/ruby-prof"
118 -SRC_URI="https://github.com/ruby-prof/${PN}/archive/${PV}.tar.gz -> ${P}.tgz"
119 -
120 -LICENSE="BSD"
121 -SLOT="0"
122 -KEYWORDS="~amd64 ~ppc ~x86"
123 -IUSE=""
124 -
125 -ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/minitest )"
126 -
127 -all_ruby_prepare() {
128 - # Avoid bundler
129 - sed -i -e '/bundler/I s:^:#:' -e '/:build/ s:^:#:' Rakefile || die
130 -
131 - sed -i -e '2igem "test-unit"' test/test_helper.rb || die
132 -
133 - # We install the shared object in lib, not ext.
134 - sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die
135 -
136 - # Avoid unneeded dependency on rake-compiler
137 - sed -i -e '/extensiontask/ s:^:#:' \
138 - -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die
139 -
140 - # Create directory required for the test suite to pass
141 - mkdir tmp || die
142 -}
143 -
144 -each_ruby_configure() {
145 - ${RUBY} -Cext/ruby_prof extconf.rb || die "extconf.rb failed"
146 -}
147 -
148 -each_ruby_compile() {
149 - emake V=1 -Cext/ruby_prof
150 -
151 - cp ext/ruby_prof/*$(get_modname) lib/ || die "copy of extension failed"
152 -}