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: Sat, 05 Feb 2022 06:57:08
Message-Id: 1644044221.73225d4f9a4b1729c0c88e8996416c8d88746396.graaff@gentoo
1 commit: 73225d4f9a4b1729c0c88e8996416c8d88746396
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 5 06:49:25 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 5 06:57:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73225d4f
7
8 dev-ruby/coolio: cleanup
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/coolio/coolio-1.7.1.ebuild | 46 -------------------------------------
14 1 file changed, 46 deletions(-)
15
16 diff --git a/dev-ruby/coolio/coolio-1.7.1.ebuild b/dev-ruby/coolio/coolio-1.7.1.ebuild
17 deleted file mode 100644
18 index 18be3f40240f..000000000000
19 --- a/dev-ruby/coolio/coolio-1.7.1.ebuild
20 +++ /dev/null
21 @@ -1,46 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -USE_RUBY="ruby25 ruby26 ruby27"
28 -
29 -RUBY_FAKEGEM_RECIPE_TEST="rspec3"
30 -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
31 -RUBY_FAKEGEM_NAME="cool.io"
32 -
33 -RUBY_FAKEGEM_GEMSPEC="cool.io.gemspec"
34 -
35 -RUBY_FAKEGEM_EXTENSIONS=(ext/cool.io/extconf.rb)
36 -
37 -inherit multilib ruby-fakegem
38 -
39 -DESCRIPTION="A high performance event framework for Ruby which uses the libev C library"
40 -HOMEPAGE="https://coolio.github.io/"
41 -
42 -LICENSE="MIT"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE=""
46 -
47 -# cool.io includes a bundled version of libev that is patched to work correctly with ruby.
48 -
49 -ruby_add_rdepend ">=dev-ruby/iobuffer-1"
50 -
51 -all_ruby_prepare() {
52 - rm -r Gemfile* lib/.gitignore || die
53 -
54 - sed -i -e '/[Bb]undler/d' Rakefile || die
55 - sed -i -e '28i s.add_dependency "iobuffer"' ${RUBY_FAKEGEM_GEMSPEC} || die
56 - sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
57 -
58 - # Avoid dependency on rake-compiler
59 - sed -i -e '/extensiontask/ s:^:#:' \
60 - -e '/ExtensionTask/,/^end/ s:^:#:' Rakefile || die
61 -
62 - # Remove specs that require network connectivity
63 - rm -f spec/dns_spec.rb || die
64 -
65 - # Use one address consistently
66 - sed -i -e 's/localhost/127.0.0.1/' spec/{udp_socket,tcp_server,iobuffer}_spec.rb || die
67 -}