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/coolio/
Date: Wed, 27 Oct 2021 11:26:35
Message-Id: 1635333889.53ea357ac30c2b22cc46b6b0dd17a3530a71d842.graaff@gentoo
1 commit: 53ea357ac30c2b22cc46b6b0dd17a3530a71d842
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 05:44:37 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 11:24:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ea357a
7
8 dev-ruby/coolio: cleanup
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/coolio/Manifest | 2 --
14 dev-ruby/coolio/coolio-1.6.0.ebuild | 57 -------------------------------------
15 dev-ruby/coolio/coolio-1.7.0.ebuild | 57 -------------------------------------
16 3 files changed, 116 deletions(-)
17
18 diff --git a/dev-ruby/coolio/Manifest b/dev-ruby/coolio/Manifest
19 index de32634e524..b22bb8e144a 100644
20 --- a/dev-ruby/coolio/Manifest
21 +++ b/dev-ruby/coolio/Manifest
22 @@ -1,3 +1 @@
23 -DIST cool.io-1.6.0.gem 112128 BLAKE2B 829a2ce47342b4611fb76457836935e26902e5849dd7c43aae297f1d4b220c30020478d3176d15c179489be2ceb504da218b123d04cd6639a7b99e8a185f51eb SHA512 d6ef51ef15b804158b5d84a6a774368513e787d0bec12743d3ebf0c634d40b1fbfe213b5b7c484a1f3de0aaf894e5edb3072e39452d53886b00317a368570e76
24 -DIST cool.io-1.7.0.gem 112128 BLAKE2B 6c3db3fb6ac001321884de8cb1ffb4b1b8d7ef10afdd92cdbbae97672de43b75b79316cdd56f3a2075c7521742e1fd6874afdd9c218c68f532560d0fa77c0745 SHA512 e443fdd71a6bd0dd8409b7285a4fcea880aae2a43fc5687f664caa936ff4304b522bc07e148bdd51c91f8847ed2f482c5bbcee435dfab5282cf1114a47686d95
25 DIST cool.io-1.7.1.gem 112640 BLAKE2B 107d7541180de46c78542eab4b131220c4ae4a10210c7ff870f54eb24178b364fcac1abc4b93f8d0eccea197fb746cede95416aea8f3d5cc458626b1fa9a02f4 SHA512 9ab3e6ddd1689b2825f9bd82714b4ef5ac921dc4b2f84786971c3ec448577613cee73084c99090382878b0da43c9228cb2fd3a8627dc8f62ceeeff274dbdc929
26
27 diff --git a/dev-ruby/coolio/coolio-1.6.0.ebuild b/dev-ruby/coolio/coolio-1.6.0.ebuild
28 deleted file mode 100644
29 index cb36a9e516a..00000000000
30 --- a/dev-ruby/coolio/coolio-1.6.0.ebuild
31 +++ /dev/null
32 @@ -1,57 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
39 -
40 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
41 -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
42 -RUBY_FAKEGEM_NAME="cool.io"
43 -
44 -RUBY_FAKEGEM_GEMSPEC="cool.io.gemspec"
45 -
46 -inherit multilib ruby-fakegem
47 -
48 -DESCRIPTION="A high performance event framework for Ruby which uses the libev C library"
49 -HOMEPAGE="https://coolio.github.com/"
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~x86"
54 -IUSE=""
55 -
56 -# cool.io includes a bundled version of libev that is patched to work correctly with ruby.
57 -
58 -ruby_add_rdepend ">=dev-ruby/iobuffer-1"
59 -
60 -all_ruby_prepare() {
61 - rm -r Gemfile* lib/.gitignore || die
62 -
63 - sed -i -e '/[Bb]undler/d' Rakefile || die
64 - sed -i -e '28i s.add_dependency "iobuffer"' ${RUBY_FAKEGEM_GEMSPEC} || die
65 - sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
66 -
67 - # Avoid dependency on rake-compiler
68 - sed -i -e '/extensiontask/ s:^:#:' \
69 - -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die
70 -
71 - # Remove specs that require network connectivity
72 - rm -f spec/dns_spec.rb || die
73 -
74 - # Use one address consistently
75 - sed -i -e 's/localhost/127.0.0.1/' spec/{udp_socket,tcp_server,iobuffer}_spec.rb || die
76 -}
77 -
78 -each_ruby_configure() {
79 - pushd ext/cool.io || die
80 - ${RUBY} extconf.rb || die
81 - popd || die
82 -}
83 -
84 -each_ruby_compile() {
85 - pushd ext/cool.io || die
86 - emake V=1
87 - popd || die
88 - cp ext/cool.io/cool.io_ext$(get_modname) lib/ || die
89 -}
90
91 diff --git a/dev-ruby/coolio/coolio-1.7.0.ebuild b/dev-ruby/coolio/coolio-1.7.0.ebuild
92 deleted file mode 100644
93 index 30cbd1fc5c9..00000000000
94 --- a/dev-ruby/coolio/coolio-1.7.0.ebuild
95 +++ /dev/null
96 @@ -1,57 +0,0 @@
97 -# Copyright 1999-2020 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI=7
101 -
102 -USE_RUBY="ruby25 ruby26 ruby27"
103 -
104 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
105 -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
106 -RUBY_FAKEGEM_NAME="cool.io"
107 -
108 -RUBY_FAKEGEM_GEMSPEC="cool.io.gemspec"
109 -
110 -inherit multilib ruby-fakegem
111 -
112 -DESCRIPTION="A high performance event framework for Ruby which uses the libev C library"
113 -HOMEPAGE="https://coolio.github.com/"
114 -
115 -LICENSE="MIT"
116 -SLOT="0"
117 -KEYWORDS="~amd64 ~x86"
118 -IUSE=""
119 -
120 -# cool.io includes a bundled version of libev that is patched to work correctly with ruby.
121 -
122 -ruby_add_rdepend ">=dev-ruby/iobuffer-1"
123 -
124 -all_ruby_prepare() {
125 - rm -r Gemfile* lib/.gitignore || die
126 -
127 - sed -i -e '/[Bb]undler/d' Rakefile || die
128 - sed -i -e '28i s.add_dependency "iobuffer"' ${RUBY_FAKEGEM_GEMSPEC} || die
129 - sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
130 -
131 - # Avoid dependency on rake-compiler
132 - sed -i -e '/extensiontask/ s:^:#:' \
133 - -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die
134 -
135 - # Remove specs that require network connectivity
136 - rm -f spec/dns_spec.rb || die
137 -
138 - # Use one address consistently
139 - sed -i -e 's/localhost/127.0.0.1/' spec/{udp_socket,tcp_server,iobuffer}_spec.rb || die
140 -}
141 -
142 -each_ruby_configure() {
143 - pushd ext/cool.io || die
144 - ${RUBY} extconf.rb || die
145 - popd || die
146 -}
147 -
148 -each_ruby_compile() {
149 - pushd ext/cool.io || die
150 - emake V=1
151 - popd || die
152 - cp ext/cool.io/cool.io_ext$(get_modname) lib/ || die
153 -}