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