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/eventmachine/
Date: Sun, 15 Jul 2018 19:05:09
Message-Id: 1531681489.db88bb70602fcf30e837e11bd5d0123839a6c348.graaff@gentoo
1 commit: db88bb70602fcf30e837e11bd5d0123839a6c348
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 15 19:01:30 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 15 19:04:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db88bb70
7
8 dev-ruby/eventmachine: cleanup
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-ruby/eventmachine/Manifest | 1 -
13 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 88 -----------------------
14 2 files changed, 89 deletions(-)
15
16 diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
17 index 79ad71842e0..bcec3e811ea 100644
18 --- a/dev-ruby/eventmachine/Manifest
19 +++ b/dev-ruby/eventmachine/Manifest
20 @@ -1,2 +1 @@
21 -DIST eventmachine-1.2.0.1.gem 241152 BLAKE2B f7df9888ba9f3ef731099124ce7cf2b6b396f57dc948feb828f015f2b33426348c87f2443fc6f678e94550167241c2ae154f3679b13b3b7e1bdb6bcdae6cfaab SHA512 a861a2c5172b7cf2720bdb54f52ea96c311c10efdb2f54970054901674e044a72307a5b32210efbbdb78d0472a9b3fb6e898640e1c0b406bdad8b581970e30aa
22 DIST eventmachine-1.2.7.tar.gz 246402 BLAKE2B 3eee1e5fbb367c03e3d801cb705a0f95b7bbb461885f04820f57421019a3d61eecabe71309981eec35168395eb6d98a8c675bd0fb225497de511f2ce09a5df92 SHA512 768ec084903dce4c737cf564fce7886a3e7e5b7d4a89c2baea3e998130c53dc00488eaa2d8e9b0133d9e4d8fffbde80c3025403881486a7968c2d84425cc1f50
23
24 diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
25 deleted file mode 100644
26 index 600e79ac569..00000000000
27 --- a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
28 +++ /dev/null
29 @@ -1,88 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -
35 -USE_RUBY="ruby22 ruby23"
36 -
37 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
38 -RUBY_FAKEGEM_DOCDIR="rdoc"
39 -RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
40 -
41 -inherit ruby-fakegem
42 -
43 -DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs"
44 -HOMEPAGE="http://rubyeventmachine.com"
45 -
46 -LICENSE="|| ( GPL-2 Ruby )"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
49 -IUSE=""
50 -
51 -DEPEND="${DEPEND}
52 - dev-libs/openssl:0"
53 -RDEPEND="${RDEPEND}
54 - dev-libs/openssl:0"
55 -
56 -ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
57 -
58 -all_ruby_prepare() {
59 - # Remove package tasks to avoid dependency on rake-compiler.
60 - rm rakelib/package.rake || die
61 -
62 - # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
63 - sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
64 - sed -i -e "/omit_/d" tests/test_*.rb || die
65 - # Remove the resolver tests since they require network access and
66 - # the localhost test fails with an IPv6 localhost.
67 - rm tests/test_resolver.rb || die
68 - # Needs a tty
69 - rm tests/test_kb.rb || die
70 - # Avoid tests that require network access
71 - sed -i -e '/test_bind_connect/,/^ end/ s:^:#:' \
72 - tests/test_basic.rb || die
73 - sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^ end/ s:^:#:' \
74 - tests/test_httpclient.rb || die
75 - sed -i -e '/test_\(get\|https_get\)/,/^ end/ s:^:#:' \
76 - tests/test_httpclient2.rb || die
77 - sed -i -e '/test_connect_timeout/,/^ end/ s:^:#:' \
78 - tests/test_unbind_reason.rb || die
79 - sed -i -e '/test_for_real/,/^ end/ s:^:#:' \
80 - tests/test_pending_connect_timeout.rb || die
81 - rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
82 - sed -i -e '/test_ipv6_tcp_client_with_ipv6_google_com/aomit "network"' tests/test_ipv6.rb || die
83 - # don't test unsecure and obsolete protocols
84 - sed -i -e 's/sslv2 sslv3//' \
85 - -e '/\(test_any_to_v3\|test_v3_to_any\|test_v3_to_v3\|test_v3_with_external\)/aomit "obsolete"' \
86 - tests/test_ssl_protocols.rb || die
87 -
88 -}
89 -
90 -each_ruby_configure() {
91 - for extdir in ext ext/fastfilereader; do
92 - pushd $extdir
93 - ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
94 - popd
95 - done
96 -}
97 -
98 -each_ruby_compile() {
99 - for extdir in ext ext/fastfilereader; do
100 - pushd $extdir
101 - # both extensions use C++, so use the CXXFLAGS not the CFLAGS
102 - emake V=1 CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed for ${extdir}"
103 - popd
104 - cp $extdir/*.so lib/ || die "Unable to copy extensions for ${extdir}"
105 - done
106 -}
107 -
108 -each_ruby_test() {
109 - ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
110 -}
111 -
112 -all_ruby_install() {
113 - all_fakegem_install
114 -
115 - insinto /usr/share/doc/${PF}/
116 - doins -r examples || die "Failed to install examples"
117 -}