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, 13 Jul 2018 19:01:10
Message-Id: 1531508438.03a8ae3c29949db008e248b674c61c5cf5755863.graaff@gentoo
1 commit: 03a8ae3c29949db008e248b674c61c5cf5755863
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 13 06:58:07 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 13 19:00:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a8ae3c
7
8 dev-ruby/ruby-prof: cleanup
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-ruby/ruby-prof/Manifest | 1 -
13 dev-ruby/ruby-prof/ruby-prof-0.16.2.ebuild | 62 ------------------------------
14 2 files changed, 63 deletions(-)
15
16 diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest
17 index 3529e052177..dd3197a9aee 100644
18 --- a/dev-ruby/ruby-prof/Manifest
19 +++ b/dev-ruby/ruby-prof/Manifest
20 @@ -1,2 +1 @@
21 -DIST ruby-prof-0.16.2.tgz 87039 BLAKE2B 89a06edd36e7e70b978ce56b4cfea04f871538d2c35f25be3e46049d7fea863ad91006f87aa7ffb9afa4416c3e2aaafb7774c93804476dbc746b764c86d01c0e SHA512 4a070486375a40afd03c006385a14f5d2ae3670a658e1153b086d0e63eb7a87af38ae060c9d457cd67a5e084f75dd997cd39b890ef4a510bbae801838f74f7f8
22 DIST ruby-prof-0.17.0.tgz 93492 BLAKE2B e573b77fb5f1134af99480efe3af706cade122c51bbef883cf0f915e359c695fe70485239fee7415288e99115146230bc803ec1976a39c6f5d743c10f0158744 SHA512 4e2a542420eced379a0326c0f48a041379a7a2aa06247e5cd9659f92b44ebcfca21d12a7bdf50f23ef0bdd6b37895b963a489a975ca84d487920c8fe52446d53
23
24 diff --git a/dev-ruby/ruby-prof/ruby-prof-0.16.2.ebuild b/dev-ruby/ruby-prof/ruby-prof-0.16.2.ebuild
25 deleted file mode 100644
26 index 65a6ba3cbda..00000000000
27 --- a/dev-ruby/ruby-prof/ruby-prof-0.16.2.ebuild
28 +++ /dev/null
29 @@ -1,62 +0,0 @@
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -
35 -USE_RUBY="ruby21 ruby22 ruby23 ruby24"
36 -
37 -RUBY_FAKEGEM_EXTRADOC="README.rdoc CHANGES"
38 -RUBY_FAKEGEM_DOCDIR="doc"
39 -
40 -inherit multilib ruby-fakegem
41 -
42 -DESCRIPTION="A module for profiling Ruby code"
43 -HOMEPAGE="https://github.com/ruby-prof/ruby-prof"
44 -SRC_URI="https://github.com/ruby-prof/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~ppc ~x86"
49 -IUSE=""
50 -
51 -ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/minitest )"
52 -
53 -all_ruby_prepare() {
54 - # Avoid bundler
55 - sed -i -e '/bundler/I s:^:#:' -e '/:build/ s:^:#:' Rakefile || die
56 -
57 - sed -i -e '2igem "test-unit"' test/test_helper.rb || die
58 -
59 - # Fix a timing-dependant spec since its thresholds for success are
60 - # too tight.
61 - sed -i -e '/test_class_methods/,/^ end/ s:^:#:' test/measure_cpu_time_test.rb || die
62 -
63 - # We install the shared object in lib, not ext.
64 - sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die
65 -
66 - # Avoid unneeded dependency on rake-compiler
67 - sed -i -e '/extensiontask/ s:^:#:' \
68 - -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die
69 -
70 - # Create directory required for the test suite to pass
71 - mkdir tmp || die
72 -}
73 -
74 -each_ruby_configure() {
75 - ${RUBY} -Cext/ruby_prof extconf.rb || die "extconf.rb failed"
76 -}
77 -
78 -each_ruby_compile() {
79 - emake V=1 -Cext/ruby_prof || die "build failed"
80 -
81 - cp ext/ruby_prof/*$(get_modname) lib/ || die "copy of extension failed"
82 -}
83 -
84 -all_ruby_install() {
85 - all_fakegem_install
86 -
87 - for dir in examples ; do
88 - docinto "$dir"
89 - dodoc -r "$dir"/*
90 - done
91 -}