[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2023-03-29 Thread Sam James
commit: a6ecdab26407dfb04c23f3cbc53487b23e4c028a
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 29 11:51:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 29 12:56:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ecdab2

dev-ruby/eventmachine: drop 1.2.7-r3

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild | 85 --
 1 file changed, 85 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
deleted file mode 100644
index 268f40c9d2c3..
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby26 ruby27"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md CHANGELOG.md README.md"
-
-RUBY_FAKEGEM_GEMSPEC="eventmachine.gemspec"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb ext/fastfilereader/extconf.rb)
-RUBY_FAKEGEM_EXTRAINSTALL=(examples)
-
-inherit ruby-fakegem
-
-DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
-HOMEPAGE="https://github.com/eventmachine/eventmachine;
-SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-# Collection of upstream patches to fix compatibility with newer OpenSSL
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-patches.tar.bz2;
-
-LICENSE="|| ( GPL-2 Ruby-BSD )"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="${DEPEND}
-   dev-libs/openssl:0="
-RDEPEND="${RDEPEND}
-   dev-libs/openssl:0="
-
-ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
-
-PATCHES=(
-   # Collection of upstream patches (rebased by Fedora, thanks!) to
-   # fix (mostly test) compatibility with >= OpenSSL 1.1.1.
-   "${WORKDIR}"/all/patches/
-)
-
-all_ruby_prepare() {
-   # Remove package tasks to avoid dependency on rake-compiler.
-   rm rakelib/package.rake || die
-
-   sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
-   # Remove the resolver tests since they require network access and
-   # the localhost test fails with an IPv6 localhost.
-   rm tests/test_resolver.rb || die
-
-   # Needs a tty
-   rm tests/test_kb.rb || die
-
-   # Avoid tests that require network access
-   sed -e '/test_bind_connect/,/^  end/ s:^:#:' \
-   -e '/test_invalid_address_bind_connect_src/,/^  end/ s:^:#:' \
-   -e '/test_invalid_address_bind_connect_dst/,/^  end/ s:^:#:' \
-   -i tests/test_basic.rb || die
-   sed -e '/test_ipv6_udp_local_server/,/^end/ s:^:#:' \
-   -e '/test_ipv6_tcp_local_server/,/^end/ s:^:#:' \
-   -i tests/test_ipv6.rb || die
-   sed -e '/test_for_real/,/^end/ s:^:#:' -i 
tests/test_pending_connect_timeout.rb || die
-   sed -e '/test_connect_timeout/,/^  end/ s:^:#:' -i 
tests/test_unbind_reason.rb || die
-   sed -e '/test_cookie/,/^  end/ s:^:#:' \
-   -e '/test_http_client/,/^  end/ s:^:#:' \
-   -e '/test_version_1_0/,/^  end/ s:^:#:' \
-   -i tests/test_httpclient.rb || die
-   sed -e '/test_get/,/^  end/ s:^:#:' \
-   -e '/test_https_get/,/^  end/ s:^:#:' \
-   -i tests/test_httpclient2.rb || die
-
-   # Avoid test that deliberately triggers a C++ exception which causes
-   # a SEGFAULT. This does not appear to happen upstream (on travis).
-   rm tests/test_exc.rb || die
-}
-
-each_ruby_test() {
-   ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
-}
-
-all_ruby_install() {
-   all_fakegem_install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2023-03-29 Thread Sam James
commit: 33b032fc15f45822e573776bdc03239ba538062e
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 29 11:48:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 29 11:48:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b032fc

dev-ruby/eventmachine: Stabilize 1.2.7-r4 amd64, #903522

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
index e9a3e83bc5e8..5929734388cb 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
@@ -23,7 +23,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-
 
 LICENSE="|| ( GPL-2 Ruby-BSD )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2023-03-29 Thread Sam James
commit: c8ae173dbedb462082febd3d2e64be13b98ff838
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 29 11:38:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 29 11:38:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ae173d

dev-ruby/eventmachine: Stabilize 1.2.7-r4 x86, #903522

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
index 482bba2d56f2..e9a3e83bc5e8 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
@@ -23,7 +23,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-
 
 LICENSE="|| ( GPL-2 Ruby-BSD )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2023-03-12 Thread Hans de Graaff
commit: 14519433f24d00d8543afa4c7e04ca4392e2ea1d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Mar 12 08:24:10 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Mar 12 12:09:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14519433

dev-ruby/eventmachine: add github, rubygems upstream metadata

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/eventmachine/metadata.xml | 21 ++---
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/dev-ruby/eventmachine/metadata.xml 
b/dev-ruby/eventmachine/metadata.xml
index 9a6d487f6b15..21498041991b 100644
--- a/dev-ruby/eventmachine/metadata.xml
+++ b/dev-ruby/eventmachine/metadata.xml
@@ -1,11 +1,18 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   r...@gentoo.org
-   Gentoo Ruby Project
-
-
-Ruby/EventMachine is a fast, simple event-processing library for Ruby 
programs. It lets you write network clients and servers without handling 
sockets- all you do is send and receive data. Single-threaded socket engine- 
scalable and FAST!
-
+  
+r...@gentoo.org
+Gentoo Ruby Project
+  
+  
+eventmachine/eventmachine
+eventmachine
+  
+  
+Ruby/EventMachine is a fast, simple event-processing library for
+Ruby programs. It lets you write network clients and servers without
+handling sockets- all you do is send and receive
+data. Single-threaded socket engine- scalable and FAST!
+  
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/, dev-ruby/eventmachine/files/

2023-03-12 Thread Hans de Graaff
commit: 02377af5dfcf713dedeea83954ea22b4bf24d5b1
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Mar 12 08:23:03 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Mar 12 12:09:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02377af5

dev-ruby/eventmachine: update EAPI 7 -> 8

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild | 87 
 .../eventmachine-1.2.7-ruby3-process-status.patch  | 94 ++
 .../files/eventmachine-1.2.7-test-processes.patch  | 73 +
 3 files changed, 254 insertions(+)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
new file mode 100644
index ..482bba2d56f2
--- /dev/null
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r4.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="docs/*.md CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="eventmachine.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb ext/fastfilereader/extconf.rb)
+RUBY_FAKEGEM_EXTRAINSTALL=(examples)
+
+inherit ruby-fakegem
+
+DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
+HOMEPAGE="https://github.com/eventmachine/eventmachine;
+SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+# Collection of upstream patches to fix compatibility with newer OpenSSL
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-patches.tar.bz2;
+
+LICENSE="|| ( GPL-2 Ruby-BSD )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="${DEPEND}
+   dev-libs/openssl:0="
+RDEPEND="${RDEPEND}
+   dev-libs/openssl:0="
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+
+PATCHES=(
+   # Collection of upstream patches (rebased by Fedora, thanks!) to
+   # fix (mostly test) compatibility with >= OpenSSL 1.1.1.
+   "${WORKDIR}"/all/patches/
+   # Backport upstream changes for ruby 3
+   "${FILESDIR}"/${P}-test-processes.patch
+   "${FILESDIR}"/${P}-ruby3-process-status.patch
+)
+
+all_ruby_prepare() {
+   # Remove package tasks to avoid dependency on rake-compiler.
+   rm rakelib/package.rake || die
+
+   sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+   # Remove the resolver tests since they require network access and
+   # the localhost test fails with an IPv6 localhost.
+   rm tests/test_resolver.rb || die
+
+   # Needs a tty
+   rm tests/test_kb.rb || die
+
+   # Avoid tests that require network access
+   sed -e '/test_bind_connect/,/^  end/ s:^:#:' \
+   -e '/test_invalid_address_bind_connect_src/,/^  end/ s:^:#:' \
+   -e '/test_invalid_address_bind_connect_dst/,/^  end/ s:^:#:' \
+   -i tests/test_basic.rb || die
+   sed -e '/test_ipv6_udp_local_server/,/^end/ s:^:#:' \
+   -e '/test_ipv6_tcp_local_server/,/^end/ s:^:#:' \
+   -i tests/test_ipv6.rb || die
+   sed -e '/test_for_real/,/^end/ s:^:#:' -i 
tests/test_pending_connect_timeout.rb || die
+   sed -e '/test_connect_timeout/,/^  end/ s:^:#:' -i 
tests/test_unbind_reason.rb || die
+   sed -e '/test_cookie/,/^  end/ s:^:#:' \
+   -e '/test_http_client/,/^  end/ s:^:#:' \
+   -e '/test_version_1_0/,/^  end/ s:^:#:' \
+   -i tests/test_httpclient.rb || die
+   sed -e '/test_get/,/^  end/ s:^:#:' \
+   -e '/test_https_get/,/^  end/ s:^:#:' \
+   -i tests/test_httpclient2.rb || die
+
+   # Avoid test that deliberately triggers a C++ exception which causes
+   # a SEGFAULT. This does not appear to happen upstream (on travis).
+   rm tests/test_exc.rb || die
+}
+
+each_ruby_test() {
+   ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
+}
+
+all_ruby_install() {
+   all_fakegem_install
+}

diff --git 
a/dev-ruby/eventmachine/files/eventmachine-1.2.7-ruby3-process-status.patch 
b/dev-ruby/eventmachine/files/eventmachine-1.2.7-ruby3-process-status.patch
new file mode 100644
index ..f836d3ff076e
--- /dev/null
+++ b/dev-ruby/eventmachine/files/eventmachine-1.2.7-ruby3-process-status.patch
@@ -0,0 +1,94 @@
+From daeb121fb5600cc0f4fc604fbf7d742578f26483 Mon Sep 17 00:00:00 2001
+From: MSP-Greg 
+Date: Sat, 12 Jun 2021 22:37:37 -0500
+Subject: [PATCH] Fixes for Process::Status changes in Ruby 3
+
+---
+ ext/extconf.rb   |  3 +++
+ ext/rubymain.cpp | 36 ++--
+ 2 files changed, 33 insertions(+), 6 deletions(-)
+
+diff --git a/ext/extconf.rb b/ext/extconf.rb
+index 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2022-07-30 Thread Hans de Graaff
commit: cd0472d5b37054adfbba7b117e0f61416ef88065
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jul 30 06:51:30 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jul 30 07:46:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0472d5

dev-ruby/eventmachine: update LICENSE

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
index b49f277c998d..268f40c9d2c3 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
@@ -22,7 +22,7 @@ 
SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> $
 # Collection of upstream patches to fix compatibility with newer OpenSSL
 SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-patches.tar.bz2;
 
-LICENSE="|| ( GPL-2 Ruby )"
+LICENSE="|| ( GPL-2 Ruby-BSD )"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
 IUSE="test"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2022-06-26 Thread Hans de Graaff
commit: 89949b2d5e1648b6c796200a39883d1332f6b0ab
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 26 06:25:28 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 26 06:43:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89949b2d

dev-ruby/eventmachine: drop 1.2.7-r1

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild | 92 --
 1 file changed, 92 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
deleted file mode 100644
index b3220823080d..
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
-HOMEPAGE="https://github.com/eventmachine/eventmachine;
-SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="${DEPEND}
-   dev-libs/openssl:0"
-RDEPEND="${RDEPEND}
-   dev-libs/openssl:0="
-
-ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
-
-all_ruby_prepare() {
-   # Remove package tasks to avoid dependency on rake-compiler.
-   rm rakelib/package.rake || die
-
-   # Remove the resolver tests since they require network access and
-   # the localhost test fails with an IPv6 localhost.
-   rm tests/test_resolver.rb || die
-
-   # Needs a tty
-   rm tests/test_kb.rb || die
-
-   # Avoid tests that require network access
-   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
-   tests/test_basic.rb || die
-   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
-   tests/test_httpclient.rb || die
-   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
-   tests/test_httpclient2.rb || die
-   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
-   tests/test_unbind_reason.rb || die
-   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
-   tests/test_pending_connect_timeout.rb || die
-   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
-
-   # Avoid tests for insecure SSL versions that may not be available
-   sed -i -e '/test_any_to_v3/,/^end/ s:^:#:' \
-   -e '/test_v3_/,/^end/ s:^:#:' \
-   -e '/test_tlsv1_required_with_external_client/aomit "sslv3"' \
-   tests/test_ssl_protocols.rb || die
-
-   # Avoid test that deliberately triggers a C++ exception which causes
-   # a SEGFAULT. This does not appear to happen upstream (on travis).
-   rm -f tests/test_exc.rb || die
-}
-
-each_ruby_configure() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
-   popd
-   done
-}
-
-each_ruby_compile() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
-   emake V=1 CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}"
-   popd
-   cp $extdir/*.so lib/ || die "Unable to copy extensions for 
${extdir}"
-   done
-}
-
-each_ruby_test() {
-   ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
-}
-
-all_ruby_install() {
-   all_fakegem_install
-
-   dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2022-06-18 Thread Sam James
commit: 7dab4ce5f165a9434e97ba73e46b84e71442c351
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 18 20:24:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 20:24:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dab4ce5

dev-ruby/eventmachine: Stabilize 1.2.7-r3 amd64, #852866

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
index ce7cdf3ce6ad..a883b85ecca6 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,7 +24,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2022-06-18 Thread Sam James
commit: 768d933b1e3748f9ff8056de94747068e09b7439
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 18 20:25:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 20:25:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768d933b

dev-ruby/eventmachine: Stabilize 1.2.7-r3 x86, #852866

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
index a883b85ecca6..b49f277c998d 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
@@ -24,7 +24,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2021-09-28 Thread Sam James
commit: 5dd88defd7f4a8482ad22e71e72ebd7740b85fd2
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 28 19:30:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 28 19:34:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd88def

dev-ruby/eventmachine: skip fewer tests, backport OpenSSL 1.1.1 fixes

While I'd prefer to not mess with SSL patches where possible,
on balance, it's worth using these here:
- They're upstream patches;
- They're being used in production by Fedora and Debian (in stable too);
- This is the lesser evil given that tests fail with latest OpenSSL
(hence we can't really judge if things are working) and, in the best case,
at runtime, this will fallback to older SSL/TLS versions.

Bug: https://bugs.gentoo.org/765253
Closes: https://bugs.gentoo.org/723818
Closes: https://bugs.gentoo.org/759250
Fixes: f05cc0db4473e05d408574c23a494ce903173e8d
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/Manifest |  1 +
 2.7-r2.ebuild => eventmachine-1.2.7-r3.ebuild} | 30 +-
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index bcec3e811ea..81c0d1ad05a 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1 +1,2 @@
+DIST eventmachine-1.2.7-openssl-patches.tar.bz2 14837 BLAKE2B 
5f3280c053bd67c97db53814db3bbfd9bb3047d0fdae3972494a88bc9062e0f20b5684da8ba4264299a4fd5b0c159ad0d006fe78f6f1e8c0e9cdb531d98e3017
 SHA512 
9294ae918a51c2e7db098add3e793a2a57e40b223b7ee7113664245b5584af7b7bb180cf1dd83d0c30a316b6598a0a4507b953603c95482c42738099d33419d0
 DIST eventmachine-1.2.7.tar.gz 246402 BLAKE2B 
3eee1e5fbb367c03e3d801cb705a0f95b7bbb461885f04820f57421019a3d61eecabe71309981eec35168395eb6d98a8c675bd0fb225497de511f2ce09a5df92
 SHA512 
768ec084903dce4c737cf564fce7886a3e7e5b7d4a89c2baea3e998130c53dc00488eaa2d8e9b0133d9e4d8fffbde80c3025403881486a7968c2d84425cc1f50

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
similarity index 71%
rename from dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild
rename to dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
index d3b2c9b344d..ce7cdf3ce6a 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r3.ebuild
@@ -19,6 +19,8 @@ inherit ruby-fakegem
 DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
 HOMEPAGE="https://github.com/eventmachine/eventmachine;
 SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+# Collection of upstream patches to fix compatibility with newer OpenSSL
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-openssl-patches.tar.bz2;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
@@ -27,12 +29,18 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="${DEPEND}
-   dev-libs/openssl:0"
+   dev-libs/openssl:0="
 RDEPEND="${RDEPEND}
dev-libs/openssl:0="
 
 ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
 
+PATCHES=(
+   # Collection of upstream patches (rebased by Fedora, thanks!) to
+   # fix (mostly test) compatibility with >= OpenSSL 1.1.1.
+   "${WORKDIR}"/all/patches/
+)
+
 all_ruby_prepare() {
# Remove package tasks to avoid dependency on rake-compiler.
rm rakelib/package.rake || die
@@ -50,20 +58,18 @@ all_ruby_prepare() {
-e '/test_invalid_address_bind_connect_src/,/^  end/ s:^:#:' \
-e '/test_invalid_address_bind_connect_dst/,/^  end/ s:^:#:' \
-i tests/test_basic.rb || die
-   # Avoid tests for insecure SSL versions that may not be available
-   sed -e '/test_any_to_v3/,/^end/ s:^:#:' \
-   -e '/test_v3_/,/^end/ s:^:#:' \
-   -e '/test_tlsv1_required_with_external_client/aomit "sslv3"' \
-   -e '/test_any_to_any/,/^end/ s:^:#:' \
-   -e '/test_case_insensitivity/,/^end/ s:^:#:' \
-   -e '/test_default_to_default/,/^end/ s:^:#:' \
-   -i tests/test_ssl_protocols.rb || die
-   # Those also want network
sed -e '/test_ipv6_udp_local_server/,/^end/ s:^:#:' \
-e '/test_ipv6_tcp_local_server/,/^end/ s:^:#:' \
-i tests/test_ipv6.rb || die
-
-   rm 
tests/test_{sock_opt,ssl_verify,ssl_methods,ssl_dhparam,ssl_ecdh_curve,idle_connection}.rb
 || die
+   sed -e '/test_for_real/,/^end/ s:^:#:' -i 
tests/test_pending_connect_timeout.rb || die
+   sed -e '/test_connect_timeout/,/^  end/ s:^:#:' -i 
tests/test_unbind_reason.rb || die
+   sed -e '/test_cookie/,/^  end/ s:^:#:' \
+   -e '/test_http_client/,/^  end/ s:^:#:' \
+   -e '/test_version_1_0/,/^  end/ s:^:#:' \
+   -i tests/test_httpclient.rb || die
+   sed -e '/test_get/,/^  

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2021-09-27 Thread Sam James
commit: ad0aa2b94fa5ee7c59f923ab359b1cdf97a92b5e
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 28 01:08:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 28 01:08:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0aa2b9

dev-ruby/eventmachine: disable ruby25, drop unused multilib.eclass

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild
index 1954db7ace0..d3b2c9b344d 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_DOCDIR="rdoc"
@@ -14,7 +14,7 @@ RUBY_FAKEGEM_GEMSPEC="eventmachine.gemspec"
 RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb ext/fastfilereader/extconf.rb)
 RUBY_FAKEGEM_EXTRAINSTALL=(examples)
 
-inherit multilib ruby-fakegem
+inherit ruby-fakegem
 
 DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
 HOMEPAGE="https://github.com/eventmachine/eventmachine;



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2021-09-27 Thread Sam James
commit: 70b8ef2605acc363ea1a0347f9df23fa92590847
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 28 01:07:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 28 01:07:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70b8ef26

dev-ruby/eventmachine: restore stable version (1.2.7-r1)

And cut the new changes into ~arch'd -r2.

Bug: https://bugs.gentoo.org/765253
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild | 71 +-
 2.7-r1.ebuild => eventmachine-1.2.7-r2.ebuild} |  0
 2 files changed, 42 insertions(+), 29 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
index 1954db7ace0..7128a0f86c4 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
@@ -1,20 +1,15 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=6
 
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md CHANGELOG.md README.md"
+RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
 
-RUBY_FAKEGEM_GEMSPEC="eventmachine.gemspec"
-
-RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb ext/fastfilereader/extconf.rb)
-RUBY_FAKEGEM_EXTRAINSTALL=(examples)
-
-inherit multilib ruby-fakegem
+inherit ruby-fakegem
 
 DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
 HOMEPAGE="https://github.com/eventmachine/eventmachine;
@@ -22,9 +17,8 @@ 
SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> $
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
+IUSE=""
 
 DEPEND="${DEPEND}
dev-libs/openssl:0"
@@ -37,7 +31,6 @@ all_ruby_prepare() {
# Remove package tasks to avoid dependency on rake-compiler.
rm rakelib/package.rake || die
 
-   sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
# Remove the resolver tests since they require network access and
# the localhost test fails with an IPv6 localhost.
rm tests/test_resolver.rb || die
@@ -46,28 +39,45 @@ all_ruby_prepare() {
rm tests/test_kb.rb || die
 
# Avoid tests that require network access
-   sed -e '/test_bind_connect/,/^  end/ s:^:#:' \
-   -e '/test_invalid_address_bind_connect_src/,/^  end/ s:^:#:' \
-   -e '/test_invalid_address_bind_connect_dst/,/^  end/ s:^:#:' \
-   -i tests/test_basic.rb || die
+   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
+   tests/test_basic.rb || die
+   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
+   tests/test_httpclient.rb || die
+   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
+   tests/test_httpclient2.rb || die
+   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
+   tests/test_unbind_reason.rb || die
+   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
+   tests/test_pending_connect_timeout.rb || die
+   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
+
# Avoid tests for insecure SSL versions that may not be available
-   sed -e '/test_any_to_v3/,/^end/ s:^:#:' \
+   sed -i -e '/test_any_to_v3/,/^end/ s:^:#:' \
-e '/test_v3_/,/^end/ s:^:#:' \
-e '/test_tlsv1_required_with_external_client/aomit "sslv3"' \
-   -e '/test_any_to_any/,/^end/ s:^:#:' \
-   -e '/test_case_insensitivity/,/^end/ s:^:#:' \
-   -e '/test_default_to_default/,/^end/ s:^:#:' \
-   -i tests/test_ssl_protocols.rb || die
-   # Those also want network
-   sed -e '/test_ipv6_udp_local_server/,/^end/ s:^:#:' \
-   -e '/test_ipv6_tcp_local_server/,/^end/ s:^:#:' \
-   -i tests/test_ipv6.rb || die
-
-   rm 
tests/test_{sock_opt,ssl_verify,ssl_methods,ssl_dhparam,ssl_ecdh_curve,idle_connection}.rb
 || die
+   tests/test_ssl_protocols.rb || die
 
# Avoid test that deliberately triggers a C++ exception which causes
# a SEGFAULT. This does not appear to happen upstream (on travis).
-   rm tests/test_exc.rb || die
+   rm -f tests/test_exc.rb || die
+}
+
+each_ruby_configure() {
+   for extdir in ext ext/fastfilereader; do
+   pushd $extdir
+   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
+   popd
+   done
+}
+
+each_ruby_compile() {
+   for 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2021-09-27 Thread Sam James
commit: f05cc0db4473e05d408574c23a494ce903173e8d
Author: Guillaume Seren  gmail  com>
AuthorDate: Wed Mar 10 20:43:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 28 01:00:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f05cc0db

dev-ruby/eventmachine: Add ruby27 + tests support

Closes: https://bugs.gentoo.org/765253
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Guillaume Seren  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild | 71 +-
 1 file changed, 29 insertions(+), 42 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
index 7128a0f86c4..1954db7ace0 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
@@ -1,15 +1,20 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+USE_RUBY="ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
+RUBY_FAKEGEM_EXTRADOC="docs/*.md CHANGELOG.md README.md"
 
-inherit ruby-fakegem
+RUBY_FAKEGEM_GEMSPEC="eventmachine.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb ext/fastfilereader/extconf.rb)
+RUBY_FAKEGEM_EXTRAINSTALL=(examples)
+
+inherit multilib ruby-fakegem
 
 DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
 HOMEPAGE="https://github.com/eventmachine/eventmachine;
@@ -17,8 +22,9 @@ 
SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> $
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
-IUSE=""
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x64-solaris ~x86-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 DEPEND="${DEPEND}
dev-libs/openssl:0"
@@ -31,6 +37,7 @@ all_ruby_prepare() {
# Remove package tasks to avoid dependency on rake-compiler.
rm rakelib/package.rake || die
 
+   sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
# Remove the resolver tests since they require network access and
# the localhost test fails with an IPv6 localhost.
rm tests/test_resolver.rb || die
@@ -39,45 +46,28 @@ all_ruby_prepare() {
rm tests/test_kb.rb || die
 
# Avoid tests that require network access
-   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
-   tests/test_basic.rb || die
-   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
-   tests/test_httpclient.rb || die
-   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
-   tests/test_httpclient2.rb || die
-   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
-   tests/test_unbind_reason.rb || die
-   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
-   tests/test_pending_connect_timeout.rb || die
-   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
-
+   sed -e '/test_bind_connect/,/^  end/ s:^:#:' \
+   -e '/test_invalid_address_bind_connect_src/,/^  end/ s:^:#:' \
+   -e '/test_invalid_address_bind_connect_dst/,/^  end/ s:^:#:' \
+   -i tests/test_basic.rb || die
# Avoid tests for insecure SSL versions that may not be available
-   sed -i -e '/test_any_to_v3/,/^end/ s:^:#:' \
+   sed -e '/test_any_to_v3/,/^end/ s:^:#:' \
-e '/test_v3_/,/^end/ s:^:#:' \
-e '/test_tlsv1_required_with_external_client/aomit "sslv3"' \
-   tests/test_ssl_protocols.rb || die
+   -e '/test_any_to_any/,/^end/ s:^:#:' \
+   -e '/test_case_insensitivity/,/^end/ s:^:#:' \
+   -e '/test_default_to_default/,/^end/ s:^:#:' \
+   -i tests/test_ssl_protocols.rb || die
+   # Those also want network
+   sed -e '/test_ipv6_udp_local_server/,/^end/ s:^:#:' \
+   -e '/test_ipv6_tcp_local_server/,/^end/ s:^:#:' \
+   -i tests/test_ipv6.rb || die
+
+   rm 
tests/test_{sock_opt,ssl_verify,ssl_methods,ssl_dhparam,ssl_ecdh_curve,idle_connection}.rb
 || die
 
# Avoid test that deliberately triggers a C++ exception which causes
# a SEGFAULT. This does not appear to happen upstream (on travis).
-   rm -f tests/test_exc.rb || die
-}
-
-each_ruby_configure() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
-   popd
-   done
-}
-
-each_ruby_compile() {
-   for extdir in ext ext/fastfilereader; do
-

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2021-06-22 Thread Sam James
commit: 657fe0b1b68bf44fa812beaaa5388583b6b32d90
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Jun 21 21:16:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 22 18:18:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=657fe0b1

dev-ruby/eventmachine: use binding := for dev-libs/openssl

Needed for upcoming upgrade to OpenSSL 3.0.0 which has changed ABI.

Acked-by: David Seifert  gentoo.org>
Signed-off-by: Ionen Wolkens  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 .../{eventmachine-1.2.7.ebuild => eventmachine-1.2.7-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
similarity index 99%
rename from dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
rename to dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
index 4a7c7d6f292..7128a0f86c4 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7-r1.ebuild
@@ -23,7 +23,7 @@ IUSE=""
 DEPEND="${DEPEND}
dev-libs/openssl:0"
 RDEPEND="${RDEPEND}
-   dev-libs/openssl:0"
+   dev-libs/openssl:0="
 
 ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2020-05-23 Thread Hans de Graaff
commit: 44eea83f805bb8a2f227cfb106020c1d710a1c04
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat May 23 06:01:07 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat May 23 06:33:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44eea83f

dev-ruby/eventmachine: update HOMEPAGE

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.2.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
index eef8004a177..2a49e0f7298 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
 inherit ruby-fakegem
 
 DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
-HOMEPAGE="http://rubyeventmachine.com;
+HOMEPAGE="https://github.com/eventmachine/eventmachine;
 SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="|| ( GPL-2 Ruby )"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2019-02-02 Thread Hans de Graaff
commit: 2d1cf83fe9ba575cf80e2f39008fd1a5b16d318f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Feb  2 09:33:37 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Feb  2 10:36:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d1cf83f

dev-ruby/eventmachine: add ruby26

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/eventmachine/eventmachine-1.2.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
index db8dc33c6ed..ee3b825cbf5 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_DOCDIR="rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-07-15 Thread Hans de Graaff
commit: db88bb70602fcf30e837e11bd5d0123839a6c348
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 15 19:01:30 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 15 19:04:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db88bb70

dev-ruby/eventmachine: cleanup

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/eventmachine/Manifest|  1 -
 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 88 ---
 2 files changed, 89 deletions(-)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index 79ad71842e0..bcec3e811ea 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1,2 +1 @@
-DIST eventmachine-1.2.0.1.gem 241152 BLAKE2B 
f7df9888ba9f3ef731099124ce7cf2b6b396f57dc948feb828f015f2b33426348c87f2443fc6f678e94550167241c2ae154f3679b13b3b7e1bdb6bcdae6cfaab
 SHA512 
a861a2c5172b7cf2720bdb54f52ea96c311c10efdb2f54970054901674e044a72307a5b32210efbbdb78d0472a9b3fb6e898640e1c0b406bdad8b581970e30aa
 DIST eventmachine-1.2.7.tar.gz 246402 BLAKE2B 
3eee1e5fbb367c03e3d801cb705a0f95b7bbb461885f04820f57421019a3d61eecabe71309981eec35168395eb6d98a8c675bd0fb225497de511f2ce09a5df92
 SHA512 
768ec084903dce4c737cf564fce7886a3e7e5b7d4a89c2baea3e998130c53dc00488eaa2d8e9b0133d9e4d8fffbde80c3025403881486a7968c2d84425cc1f50

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
deleted file mode 100644
index 600e79ac569..000
--- a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby22 ruby23"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
-HOMEPAGE="http://rubyeventmachine.com;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="${DEPEND}
-   dev-libs/openssl:0"
-RDEPEND="${RDEPEND}
-   dev-libs/openssl:0"
-
-ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
-
-all_ruby_prepare() {
-   # Remove package tasks to avoid dependency on rake-compiler.
-   rm rakelib/package.rake || die
-
-   # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
-   sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
-   sed -i -e "/omit_/d" tests/test_*.rb || die
-   # Remove the resolver tests since they require network access and
-   # the localhost test fails with an IPv6 localhost.
-   rm tests/test_resolver.rb || die
-   # Needs a tty
-   rm tests/test_kb.rb || die
-   # Avoid tests that require network access
-   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
-   tests/test_basic.rb || die
-   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
-   tests/test_httpclient.rb || die
-   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
-   tests/test_httpclient2.rb || die
-   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
-   tests/test_unbind_reason.rb || die
-   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
-   tests/test_pending_connect_timeout.rb || die
-   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
-   sed -i -e '/test_ipv6_tcp_client_with_ipv6_google_com/aomit "network"' 
tests/test_ipv6.rb || die
-   # don't test unsecure and obsolete protocols
-   sed -i -e 's/sslv2 sslv3//' \
-   -e 
'/\(test_any_to_v3\|test_v3_to_any\|test_v3_to_v3\|test_v3_with_external\)/aomit
 "obsolete"' \
-   tests/test_ssl_protocols.rb || die
-
-}
-
-each_ruby_configure() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
-   popd
-   done
-}
-
-each_ruby_compile() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
-   emake V=1 CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || 
die "emake failed for ${extdir}"
-   popd
-   cp $extdir/*.so lib/ || die "Unable to copy extensions for 
${extdir}"
-   done
-}
-
-each_ruby_test() {
-   ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
-}
-
-all_ruby_install() {
-   all_fakegem_install
-
-   insinto /usr/share/doc/${PF}/
-   doins -r examples || die "Failed to install examples"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-07-15 Thread Hans de Graaff
commit: cb9498d9e249e2769daa4d4727c54d42152be987
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 15 19:00:48 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 15 19:04:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9498d9

dev-ruby/eventmachine: amd64 stable

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/eventmachine/eventmachine-1.2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
index d274553f56f..db8dc33c6ed 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> $
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 DEPEND="${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-05-17 Thread Hans de Graaff
commit: 27ea231578af1bae6cda05a6aa38f643aa928fba
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri May 18 04:59:15 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri May 18 04:59:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ea2315

dev-ruby/eventmachine: add 1.2.7

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-ruby/eventmachine/Manifest  |  1 +
 dev-ruby/eventmachine/eventmachine-1.2.7.ebuild | 92 +
 2 files changed, 93 insertions(+)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index fa1148deea1..79ad71842e0 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1 +1,2 @@
 DIST eventmachine-1.2.0.1.gem 241152 BLAKE2B 
f7df9888ba9f3ef731099124ce7cf2b6b396f57dc948feb828f015f2b33426348c87f2443fc6f678e94550167241c2ae154f3679b13b3b7e1bdb6bcdae6cfaab
 SHA512 
a861a2c5172b7cf2720bdb54f52ea96c311c10efdb2f54970054901674e044a72307a5b32210efbbdb78d0472a9b3fb6e898640e1c0b406bdad8b581970e30aa
+DIST eventmachine-1.2.7.tar.gz 246402 BLAKE2B 
3eee1e5fbb367c03e3d801cb705a0f95b7bbb461885f04820f57421019a3d61eecabe71309981eec35168395eb6d98a8c675bd0fb225497de511f2ce09a5df92
 SHA512 
768ec084903dce4c737cf564fce7886a3e7e5b7d4a89c2baea3e998130c53dc00488eaa2d8e9b0133d9e4d8fffbde80c3025403881486a7968c2d84425cc1f50

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
new file mode 100644
index 000..68b8c3ce850
--- /dev/null
+++ b/dev-ruby/eventmachine/eventmachine-1.2.7.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
+HOMEPAGE="http://rubyeventmachine.com;
+SRC_URI="https://github.com/eventmachine/eventmachine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="${DEPEND}
+   dev-libs/openssl:0"
+RDEPEND="${RDEPEND}
+   dev-libs/openssl:0"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+
+all_ruby_prepare() {
+   # Remove package tasks to avoid dependency on rake-compiler.
+   rm rakelib/package.rake || die
+
+   # Remove the resolver tests since they require network access and
+   # the localhost test fails with an IPv6 localhost.
+   rm tests/test_resolver.rb || die
+
+   # Needs a tty
+   rm tests/test_kb.rb || die
+
+   # Avoid tests that require network access
+   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
+   tests/test_basic.rb || die
+   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
+   tests/test_httpclient.rb || die
+   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
+   tests/test_httpclient2.rb || die
+   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
+   tests/test_unbind_reason.rb || die
+   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
+   tests/test_pending_connect_timeout.rb || die
+   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
+
+   # Avoid tests for insecure SSL versions that may not be available
+   sed -i -e '/test_any_to_v3/,/^end/ s:^:#:' \
+   -e '/test_v3_/,/^end/ s:^:#:' \
+   -e '/test_tlsv1_required_with_external_client/aomit "sslv3"' \
+   tests/test_ssl_protocols.rb || die
+
+   # Avoid test that deliberately triggers a C++ exception which causes
+   # a SEGFAULT. This does not appear to happen upstream (on travis).
+   rm -f tests/test_exc.rb || die
+}
+
+each_ruby_configure() {
+   for extdir in ext ext/fastfilereader; do
+   pushd $extdir
+   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
+   popd
+   done
+}
+
+each_ruby_compile() {
+   for extdir in ext ext/fastfilereader; do
+   pushd $extdir
+   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
+   emake V=1 CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || 
die "emake failed for ${extdir}"
+   popd
+   cp $extdir/*.so lib/ || die "Unable to copy extensions for 
${extdir}"
+   done
+}
+
+each_ruby_test() {
+   ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
+}
+
+all_ruby_install() {
+   all_fakegem_install
+
+   insinto /usr/share/doc/${PF}/
+   doins -r examples || die "Failed to install examples"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-04-25 Thread Hans de Graaff
commit: d8b2724b00d15400c79511aefd6fd3b2cff591ae
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Apr 26 04:53:00 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Apr 26 04:53:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8b2724b

dev-ruby/eventmachine: cleanup

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/eventmachine/Manifest|  1 -
 dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild | 81 ---
 2 files changed, 82 deletions(-)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index 00927b43ebb..fa1148deea1 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1,2 +1 @@
-DIST eventmachine-1.0.9.1.gem 235008 BLAKE2B 
d19fea338daeebf1c7c4ca64de7643ff46e455feb500979c1de96d1806d379c337f70189039d700889eb2ef416b35cd45f298656abe6c5ef79ba2da4dba0ffb8
 SHA512 
5cbc178c604fe9a21850c298f7a5b6f904573f5e1db9e07fee599c5700841c52ec0311a6e50192eff9c1bb45cf30a9dd81d2150fe9d04cabd24cc7c9c32c5df0
 DIST eventmachine-1.2.0.1.gem 241152 BLAKE2B 
f7df9888ba9f3ef731099124ce7cf2b6b396f57dc948feb828f015f2b33426348c87f2443fc6f678e94550167241c2ae154f3679b13b3b7e1bdb6bcdae6cfaab
 SHA512 
a861a2c5172b7cf2720bdb54f52ea96c311c10efdb2f54970054901674e044a72307a5b32210efbbdb78d0472a9b3fb6e898640e1c0b406bdad8b581970e30aa

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
deleted file mode 100644
index 7f0b8880d3c..000
--- a/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21 ruby22"
-
-RUBY_FAKEGEM_RECIPE_DOC="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
-HOMEPAGE="http://rubyeventmachine.com;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="${DEPEND}
-   dev-libs/openssl:0"
-RDEPEND="${RDEPEND}
-   dev-libs/openssl:0"
-
-ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
-
-all_ruby_prepare() {
-   # Remove package tasks to avoid dependency on rake-compiler.
-   rm rakelib/package.rake || die
-
-   # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
-   sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
-   sed -i -e "/omit_/d" tests/test_*.rb || die
-   # Remove the resolver tests since they require network access and
-   # the localhost test fails with an IPv6 localhost.
-   rm tests/test_resolver.rb || die
-   # Needs a tty
-   rm tests/test_kb.rb || die
-   # Avoid tests that require network access
-   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
-   tests/test_basic.rb || die
-   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
-   tests/test_httpclient.rb || die
-   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
-   tests/test_httpclient2.rb || die
-   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
-   tests/test_unbind_reason.rb || die
-   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
-   tests/test_pending_connect_timeout.rb || die
-   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
-}
-
-each_ruby_configure() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
-   popd
-   done
-}
-
-each_ruby_compile() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
-   emake V=1 CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || 
die "emake failed for ${extdir}"
-   popd
-   cp $extdir/*.so lib/ || die "Unable to copy extensions for 
${extdir}"
-   done
-}
-
-each_ruby_test() {
-   ${RUBY} -Ilib -S testrb tests/test_*.rb || die
-}
-
-all_ruby_install() {
-   all_fakegem_install
-
-   insinto /usr/share/doc/${PF}/
-   doins -r examples || die "Failed to install examples"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-04-17 Thread Hans de Graaff
commit: 391802e94b4dcf522f7756dd8179016661ecf034
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Apr 17 18:26:29 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Apr 17 18:26:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391802e9

dev-ruby/eventmachine: fix tests

Avoid tests requiring either a network or obsolete SSL protocols.

Closes: https://bugs.gentoo.org/648776
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
index 3fa90ddd8cb..af902ccb133 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
@@ -50,6 +50,12 @@ all_ruby_prepare() {
sed -i -e '/test_for_real/,/^end/ s:^:#:' \
tests/test_pending_connect_timeout.rb || die
rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
+   sed -i -e '/test_ipv6_tcp_client_with_ipv6_google_com/aomit "network"' 
tests/test_ipv6.rb || die
+   # don't test unsecure and obsolete protocols
+   sed -i -e 's/sslv2 sslv3//' \
+   -e 
'/\(test_any_to_v3\|test_v3_to_any\|test_v3_to_v3\|test_v3_with_external\)/aomit
 "obsolete"' \
+   tests/test_ssl_protocols.rb || die
+
 }
 
 each_ruby_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-04-16 Thread Hans de Graaff
commit: dc06be4e1199ade7a71e40125e4bf43d11aef71d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 16 17:01:11 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 16 18:32:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc06be4e

dev-ruby/eventmachine: remove obsolete ruby targets

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
index 9d6c7332197..3fa90ddd8cb 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=5
 
-# ruby20 crashes in test suite
-USE_RUBY="ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_DOCDIR="rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-02-24 Thread Hans de Graaff
commit: 7bc7a47974c8683cdbaa41d5365257fc184767ea
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Feb 25 07:38:18 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Feb 25 07:47:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bc7a479

dev-ruby/eventmachine: use correct test script, fixing bug 645840

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
index 76dd3fced0f..9d6c7332197 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
@@ -72,7 +72,7 @@ each_ruby_compile() {
 }
 
 each_ruby_test() {
-   ${RUBY} -Ilib -S testrb tests/test_*.rb || die
+   ${RUBY} -Ilib -S testrb-2 tests/test_*.rb || die
 }
 
 all_ruby_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2018-02-24 Thread Hans de Graaff
commit: 4f9ed0d6c7b2a1fc5ff0ad740fe4964b7fefb3ca
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Feb 25 06:42:31 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Feb 25 06:42:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9ed0d6

dev-ruby/eventmachine: amd64 stable, bug 645622

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
index f33030d6614..76dd3fced0f 100644
--- a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,7 +17,7 @@ HOMEPAGE="http://rubyeventmachine.com;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 DEPEND="${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/files/

2016-10-31 Thread Patrice Clement
commit: e7d2afd54a019937d7cb8dc263f6ad1f4013b18d
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Mon Sep 26 16:18:01 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Oct 31 12:00:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d2afd5

dev-ruby/eventmachine: remove unused patches.

Closes: https://github.com/gentoo/gentoo/pull/2417

Signed-off-by: Patrice Clement  gentoo.org>

 .../files/eventmachine-0.12.10-gentoo.patch| 62 --
 .../files/eventmachine-0.12.10-https-test.patch| 22 
 2 files changed, 84 deletions(-)

diff --git a/dev-ruby/eventmachine/files/eventmachine-0.12.10-gentoo.patch 
b/dev-ruby/eventmachine/files/eventmachine-0.12.10-gentoo.patch
deleted file mode 100644
index 72b7b72..
--- a/dev-ruby/eventmachine/files/eventmachine-0.12.10-gentoo.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-unchanged:
 a/Rakefile
-+++ b/Rakefile
-@@ -86,7 +86,7 @@
-   s.rdoc_options  = %w(--title EventMachine --main README --line-numbers 
-x lib/em/version -x lib/emva -x lib/evma/ -x lib/pr_eventmachine -x 
lib/jeventmachine)
-   s.extra_rdoc_files  = Dir['README,docs/*']
- 
--  s.files = `git ls-files`.split("\n")
-+  s.files = `git ls-files`.split("\n") rescue Errno::ENOENT
- 
-   s.require_path  = 'lib'
- 
-@@ -301,7 +301,7 @@ rescue LoadError
-   require 'rake/rdoctask'
-   Rake::RDocTask
- end
--df = begin; require 'rdoc/generator/darkfish'; true; rescue LoadError; end
-+df = begin; require 'rdoc/rdoc'; require 'rdoc/generator/darkfish'; true; 
rescue LoadError; end
- rdtask = rdoc_task_type.new do |rd|
-   rd.title = Spec.name
-   rd.rdoc_dir = 'rdoc'
-unchanged:
 a/tests/test_defer.rb
-+++ b/tests/test_defer.rb
-@@ -28,6 +28,7 @@ $:.unshift "../lib"
- require 'eventmachine'
- require 'test/unit'
- 
-+unless RUBY_VERSION >= '1.9.0'
- class TestDeferUsage < Test::Unit::TestCase
- 
-   def test_defers
-@@ -41,7 +42,8 @@ class TestDeferUsage < Test::Unit::TestCase
-   }
- }
- assert_equal( n, n_times )
--  end unless RUBY_VERSION >= '1.9.0'
-+  end
- 
- end
-+end
- 
-only in patch2:
-unchanged:
 a/tests/test_process_watch.rb
-+++ b/tests/test_process_watch.rb
-@@ -2,6 +2,7 @@ $:.unshift "../lib"
- require 'eventmachine'
- require 'test/unit'
- 
-+if EM.kqueue?
- class TestProcessWatch < Test::Unit::TestCase
-   module ParentProcessWatcher
- def process_forked
-@@ -45,4 +46,5 @@ class TestProcessWatch < Test::Unit::TestCase
- assert($exited)
- assert($unbind)
-   end
--end
-\ No newline at end of file
-+end
-+end

diff --git a/dev-ruby/eventmachine/files/eventmachine-0.12.10-https-test.patch 
b/dev-ruby/eventmachine/files/eventmachine-0.12.10-https-test.patch
deleted file mode 100644
index d589d71..
--- a/dev-ruby/eventmachine/files/eventmachine-0.12.10-https-test.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 63f2debff906a0f51bb807ac8f67c749d72b492d
-Author: Michael S. Klishin 
-Date:   Sun May 23 21:09:03 2010 +0400
-
-Makes HTTPS client tests pass
-
-https://www.amazon.com now redirects to http version. Switching site
-is enough to make the test pass.
-
-diff --git a/tests/test_httpclient2.rb b/tests/test_httpclient2.rb
-index ef72e7c..4705e42 100644
 a/tests/test_httpclient2.rb
-+++ b/tests/test_httpclient2.rb
-@@ -142,7 +142,7 @@ class TestHttpClient2 < Test::Unit::TestCase
-   def test_https_get
- d = nil
- EM.run {
--  http = EM::P::HttpClient2.connect :host => 'www.amazon.com', :port => 
443, :ssl => true
-+  http = EM::P::HttpClient2.connect :host => 'www.apple.com', :port => 
443, :ssl => true
-   d = http.get "/"
-   d.callback {
- EM.stop



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2016-06-25 Thread Hans de Graaff
commit: de42bf234fa7ad0344dc3c81fb1343c1294aa465
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 26 05:34:36 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 26 05:34:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de42bf23

dev-ruby/eventmachine: cleanup

Package-Manager: portage-2.2.28

 dev-ruby/eventmachine/Manifest |  1 -
 dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index f104823..f30c868 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1,3 +1,2 @@
-DIST eventmachine-1.0.3.gem 225792 SHA256 
34424c87fc517f70ba137fe2281d16b53ce9c13f5cbfc2dda3ada56e96a65827 SHA512 
ea4f0b1a2580d14e564641c49f0e3ac2a9c86d916dd2c5e938df22d1d105c00811154d8bfa7a0f9a8ce32783f5398524c70458c161eab2f0591c690e1e6a5573
 WHIRLPOOL 
52159101a59ba3d9eff28bedbc2baea46c867049de596f72da4d4a5784e79542f291275c61639d3dc6f062150d4819f7343d12e71bae8fc8954956d6d6db36e2
 DIST eventmachine-1.0.9.1.gem 235008 SHA256 
9f4cb30b3bce0c2a90da875a81534f12cbf6f1174f80d64c32efbda1140b599e SHA512 
5cbc178c604fe9a21850c298f7a5b6f904573f5e1db9e07fee599c5700841c52ec0311a6e50192eff9c1bb45cf30a9dd81d2150fe9d04cabd24cc7c9c32c5df0
 WHIRLPOOL 
9b46ec04930ff0d54b27cace94b9fe65118e122c96c15b5aed0a7ac7c4ff9e5e4bbf73c8325af2e50db7e7e4014cbfadd5b3dc287fe144bb5fc5610f7f9969e7
 DIST eventmachine-1.2.0.1.gem 241152 SHA256 
a23d65be3492b5e8699699c549799e9d0fbffaac7bf9f5c0fd9afd23e287fbf1 SHA512 
a861a2c5172b7cf2720bdb54f52ea96c311c10efdb2f54970054901674e044a72307a5b32210efbbdb78d0472a9b3fb6e898640e1c0b406bdad8b581970e30aa
 WHIRLPOOL 
91e26345f995f2a77f6f9186fbda2614a99ff9abb5dc623cf0c610e2c1bcc4333efeac5dedc70269df23e71d2e5edd59a7ea6677571b810986cbc33e52d6bcc3

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild
deleted file mode 100644
index ab06620..000
--- a/dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-# jruby → has shims for Java handling but tests fail badly, remaining
-# stuck; avoid that for now.
-USE_RUBY="ruby19 ruby20"
-
-RUBY_FAKEGEM_TASK_DOC="yard"
-RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
-HOMEPAGE="http://rubyeventmachine.com;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="${DEPEND}
-   dev-libs/openssl:0"
-RDEPEND="${RDEPEND}
-   dev-libs/openssl:0"
-
-ruby_add_bdepend "doc? ( dev-ruby/yard )"
-
-all_ruby_prepare() {
-   # Remove package tasks to avoid dependency on rake-compiler.
-   rm rakelib/package.rake || die
-
-   # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
-   sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
-
-   # Remove the resolver tests since they require network access and
-   # the localhost test fails with an IPv6 localhost.
-   rm tests/test_resolver.rb || die
-}
-
-each_ruby_configure() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
-   popd
-   done
-}
-
-each_ruby_compile() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
-   emake V=1 CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || 
die "emake failed for ${extdir}"
-   popd
-   cp $extdir/*.so lib/ || die "Unable to copy extensions for 
${extdir}"
-   done
-}
-
-each_ruby_test() {
-   ${RUBY} -Ilib -S testrb tests/test_*.rb || die
-}
-
-all_ruby_install() {
-   all_fakegem_install
-
-   insinto /usr/share/doc/${PF}/
-   doins -r examples || die "Failed to install examples"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2016-03-20 Thread Agostino Sarubbo
commit: 803d9c81430e384ecdb39f7bc742f7dbdf7984f6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 17 11:55:24 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 17 11:55:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803d9c81

dev-ruby/eventmachine: amd64 stable wrt bug #556728

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
index c5e5693..be953b4 100644
--- a/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="http://rubyeventmachine.com;
 
 LICENSE="|| ( GPL-2 Ruby )"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
 DEPEND="${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2016-03-19 Thread Hans de Graaff
commit: 96a8bfce5c194d5674508cb486495f07efb9066a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 17 06:37:31 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 17 06:37:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a8bfce

dev-ruby/eventmachine: cleanup

Package-Manager: portage-2.2.26

 dev-ruby/eventmachine/Manifest  |  1 -
 dev-ruby/eventmachine/eventmachine-1.0.8.ebuild | 84 -
 2 files changed, 85 deletions(-)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index d8f8042..f104823 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1,4 +1,3 @@
 DIST eventmachine-1.0.3.gem 225792 SHA256 
34424c87fc517f70ba137fe2281d16b53ce9c13f5cbfc2dda3ada56e96a65827 SHA512 
ea4f0b1a2580d14e564641c49f0e3ac2a9c86d916dd2c5e938df22d1d105c00811154d8bfa7a0f9a8ce32783f5398524c70458c161eab2f0591c690e1e6a5573
 WHIRLPOOL 
52159101a59ba3d9eff28bedbc2baea46c867049de596f72da4d4a5784e79542f291275c61639d3dc6f062150d4819f7343d12e71bae8fc8954956d6d6db36e2
-DIST eventmachine-1.0.8.gem 232960 SHA256 
57ba18d8f76fb43f8842dd17cc3cebc46eea06a5d5033b3131ac8f73c7bc3bbb SHA512 
55bfb8a22149495ca70913e6df6b9861cf0e10a512cdd25579064a816eb7e365bd0a03a1219ed23ed99772b9b312e3ce137781cb0890e31fbb5e5f542ba5ef70
 WHIRLPOOL 
e4c295ebb6f931a0773b9fd9618598e56a7e5ec07908159aac4bdfb148b42ef0ee18d10e5f01008d2c435b008565b6d874a6776ab43d3171f372b6c855afbfaa
 DIST eventmachine-1.0.9.1.gem 235008 SHA256 
9f4cb30b3bce0c2a90da875a81534f12cbf6f1174f80d64c32efbda1140b599e SHA512 
5cbc178c604fe9a21850c298f7a5b6f904573f5e1db9e07fee599c5700841c52ec0311a6e50192eff9c1bb45cf30a9dd81d2150fe9d04cabd24cc7c9c32c5df0
 WHIRLPOOL 
9b46ec04930ff0d54b27cace94b9fe65118e122c96c15b5aed0a7ac7c4ff9e5e4bbf73c8325af2e50db7e7e4014cbfadd5b3dc287fe144bb5fc5610f7f9969e7
 DIST eventmachine-1.2.0.1.gem 241152 SHA256 
a23d65be3492b5e8699699c549799e9d0fbffaac7bf9f5c0fd9afd23e287fbf1 SHA512 
a861a2c5172b7cf2720bdb54f52ea96c311c10efdb2f54970054901674e044a72307a5b32210efbbdb78d0472a9b3fb6e898640e1c0b406bdad8b581970e30aa
 WHIRLPOOL 
91e26345f995f2a77f6f9186fbda2614a99ff9abb5dc623cf0c610e2c1bcc4333efeac5dedc70269df23e71d2e5edd59a7ea6677571b810986cbc33e52d6bcc3

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.8.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.8.ebuild
deleted file mode 100644
index 9ee7dd7..000
--- a/dev-ruby/eventmachine/eventmachine-1.0.8.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
-
-RUBY_FAKEGEM_TASK_DOC="yard"
-RUBY_FAKEGEM_DOCDIR="rdoc"
-RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
-HOMEPAGE="http://rubyeventmachine.com;
-
-LICENSE="|| ( GPL-2 Ruby )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="${DEPEND}
-   dev-libs/openssl:0"
-RDEPEND="${RDEPEND}
-   dev-libs/openssl:0"
-
-ruby_add_bdepend "doc? ( dev-ruby/yard )
-   test? ( dev-ruby/test-unit:2 )"
-
-all_ruby_prepare() {
-   # Remove package tasks to avoid dependency on rake-compiler.
-   rm rakelib/package.rake || die
-
-   # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
-   sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
-   sed -i -e "/omit_/d" tests/test_*.rb || die
-   # Remove the resolver tests since they require network access and
-   # the localhost test fails with an IPv6 localhost.
-   rm tests/test_resolver.rb || die
-   # Needs a tty
-   rm tests/test_kb.rb || die
-   # Avoid tests that require network access
-   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
-   tests/test_basic.rb || die
-   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
-   tests/test_httpclient.rb || die
-   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
-   tests/test_httpclient2.rb || die
-   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
-   tests/test_unbind_reason.rb || die
-   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
-   tests/test_pending_connect_timeout.rb || die
-   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
-}
-
-each_ruby_configure() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
-   popd
-   done
-}
-
-each_ruby_compile() {
-   for extdir in ext ext/fastfilereader; do
-   pushd $extdir
-   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
-  

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2016-03-19 Thread Hans de Graaff
commit: a17eb33de0f0ac4ba50be28d8fc18ea6acf6b0aa
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 17 06:37:03 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 17 06:37:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17eb33d

dev-ruby/eventmachine: drop yard dependency

Package-Manager: portage-2.2.26

 dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
index 086b3d5..c5e5693 100644
--- a/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
@@ -6,8 +6,7 @@ EAPI=5
 
 USE_RUBY="ruby20 ruby21 ruby22"
 
-RUBY_FAKEGEM_TASK_DOC="yard"
-RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
 
 inherit ruby-fakegem
@@ -25,8 +24,7 @@ DEPEND="${DEPEND}
 RDEPEND="${RDEPEND}
dev-libs/openssl:0"
 
-ruby_add_bdepend "doc? ( dev-ruby/yard )
-   test? ( dev-ruby/test-unit:2 )"
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
 
 all_ruby_prepare() {
# Remove package tasks to avoid dependency on rake-compiler.



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2016-03-18 Thread Hans de Graaff
commit: a037e07efd55b118871fd332ba4e3fe0ce38bd63
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Mar 17 06:30:52 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 17 06:30:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a037e07e

dev-ruby/eventmachine: add 1.2.0.1

Package-Manager: portage-2.2.26

 dev-ruby/eventmachine/Manifest|  1 +
 dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild | 84 +++
 2 files changed, 85 insertions(+)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index 49c7bb0..d8f8042 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1,3 +1,4 @@
 DIST eventmachine-1.0.3.gem 225792 SHA256 
34424c87fc517f70ba137fe2281d16b53ce9c13f5cbfc2dda3ada56e96a65827 SHA512 
ea4f0b1a2580d14e564641c49f0e3ac2a9c86d916dd2c5e938df22d1d105c00811154d8bfa7a0f9a8ce32783f5398524c70458c161eab2f0591c690e1e6a5573
 WHIRLPOOL 
52159101a59ba3d9eff28bedbc2baea46c867049de596f72da4d4a5784e79542f291275c61639d3dc6f062150d4819f7343d12e71bae8fc8954956d6d6db36e2
 DIST eventmachine-1.0.8.gem 232960 SHA256 
57ba18d8f76fb43f8842dd17cc3cebc46eea06a5d5033b3131ac8f73c7bc3bbb SHA512 
55bfb8a22149495ca70913e6df6b9861cf0e10a512cdd25579064a816eb7e365bd0a03a1219ed23ed99772b9b312e3ce137781cb0890e31fbb5e5f542ba5ef70
 WHIRLPOOL 
e4c295ebb6f931a0773b9fd9618598e56a7e5ec07908159aac4bdfb148b42ef0ee18d10e5f01008d2c435b008565b6d874a6776ab43d3171f372b6c855afbfaa
 DIST eventmachine-1.0.9.1.gem 235008 SHA256 
9f4cb30b3bce0c2a90da875a81534f12cbf6f1174f80d64c32efbda1140b599e SHA512 
5cbc178c604fe9a21850c298f7a5b6f904573f5e1db9e07fee599c5700841c52ec0311a6e50192eff9c1bb45cf30a9dd81d2150fe9d04cabd24cc7c9c32c5df0
 WHIRLPOOL 
9b46ec04930ff0d54b27cace94b9fe65118e122c96c15b5aed0a7ac7c4ff9e5e4bbf73c8325af2e50db7e7e4014cbfadd5b3dc287fe144bb5fc5610f7f9969e7
+DIST eventmachine-1.2.0.1.gem 241152 SHA256 
a23d65be3492b5e8699699c549799e9d0fbffaac7bf9f5c0fd9afd23e287fbf1 SHA512 
a861a2c5172b7cf2720bdb54f52ea96c311c10efdb2f54970054901674e044a72307a5b32210efbbdb78d0472a9b3fb6e898640e1c0b406bdad8b581970e30aa
 WHIRLPOOL 
91e26345f995f2a77f6f9186fbda2614a99ff9abb5dc623cf0c610e2c1bcc4333efeac5dedc70269df23e71d2e5edd59a7ea6677571b810986cbc33e52d6bcc3

diff --git a/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
new file mode 100644
index 000..c23e792
--- /dev/null
+++ b/dev-ruby/eventmachine/eventmachine-1.2.0.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ruby20 crashes in test suite
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
+HOMEPAGE="http://rubyeventmachine.com;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="${DEPEND}
+   dev-libs/openssl:0"
+RDEPEND="${RDEPEND}
+   dev-libs/openssl:0"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
+
+all_ruby_prepare() {
+   # Remove package tasks to avoid dependency on rake-compiler.
+   rm rakelib/package.rake || die
+
+   # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
+   sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
+   sed -i -e "/omit_/d" tests/test_*.rb || die
+   # Remove the resolver tests since they require network access and
+   # the localhost test fails with an IPv6 localhost.
+   rm tests/test_resolver.rb || die
+   # Needs a tty
+   rm tests/test_kb.rb || die
+   # Avoid tests that require network access
+   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
+   tests/test_basic.rb || die
+   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
+   tests/test_httpclient.rb || die
+   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
+   tests/test_httpclient2.rb || die
+   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
+   tests/test_unbind_reason.rb || die
+   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
+   tests/test_pending_connect_timeout.rb || die
+   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
+}
+
+each_ruby_configure() {
+   for extdir in ext ext/fastfilereader; do
+   pushd $extdir
+   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
+   popd
+   done
+}
+
+each_ruby_compile() {
+   for extdir in ext ext/fastfilereader; do
+   pushd $extdir
+   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2016-01-14 Thread Manuel Rüger
commit: f4b6ae9fa11e6a5f08f08e34cdaa16ae76b2f2eb
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Jan 14 20:36:50 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Jan 14 20:36:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4b6ae9f

dev-ruby/eventmachine: Version bump

Package-Manager: portage-2.2.26

 dev-ruby/eventmachine/Manifest|  1 +
 dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild | 84 +++
 2 files changed, 85 insertions(+)

diff --git a/dev-ruby/eventmachine/Manifest b/dev-ruby/eventmachine/Manifest
index edbd3cf..b7bed57 100644
--- a/dev-ruby/eventmachine/Manifest
+++ b/dev-ruby/eventmachine/Manifest
@@ -1,3 +1,4 @@
 DIST eventmachine-1.0.3.gem 225792 SHA256 
34424c87fc517f70ba137fe2281d16b53ce9c13f5cbfc2dda3ada56e96a65827 SHA512 
ea4f0b1a2580d14e564641c49f0e3ac2a9c86d916dd2c5e938df22d1d105c00811154d8bfa7a0f9a8ce32783f5398524c70458c161eab2f0591c690e1e6a5573
 WHIRLPOOL 
52159101a59ba3d9eff28bedbc2baea46c867049de596f72da4d4a5784e79542f291275c61639d3dc6f062150d4819f7343d12e71bae8fc8954956d6d6db36e2
 DIST eventmachine-1.0.7.gem 231424 SHA256 
342b7dfa2bc1d43f9b58c4481d81cc9eb5f7c92a5d0eb39739459fcbdd579d4c SHA512 
e119de503d41b34f70060f7735f8d047c139aa14c343cc43c34074196f560dfd64e9f274bb7e44556bf8ded112e5476214196b0ec8635a169f8a050771619ffd
 WHIRLPOOL 
3026f0d9e4ffa791487f657bba0db920c3192d97cbab0447e426ee55b176e4ada87079248fd657278cdaa4556ba8f7da7cce4a106c88c4af45d680c2a6f088e1
 DIST eventmachine-1.0.8.gem 232960 SHA256 
57ba18d8f76fb43f8842dd17cc3cebc46eea06a5d5033b3131ac8f73c7bc3bbb SHA512 
55bfb8a22149495ca70913e6df6b9861cf0e10a512cdd25579064a816eb7e365bd0a03a1219ed23ed99772b9b312e3ce137781cb0890e31fbb5e5f542ba5ef70
 WHIRLPOOL 
e4c295ebb6f931a0773b9fd9618598e56a7e5ec07908159aac4bdfb148b42ef0ee18d10e5f01008d2c435b008565b6d874a6776ab43d3171f372b6c855afbfaa
+DIST eventmachine-1.0.9.1.gem 235008 SHA256 
9f4cb30b3bce0c2a90da875a81534f12cbf6f1174f80d64c32efbda1140b599e SHA512 
5cbc178c604fe9a21850c298f7a5b6f904573f5e1db9e07fee599c5700841c52ec0311a6e50192eff9c1bb45cf30a9dd81d2150fe9d04cabd24cc7c9c32c5df0
 WHIRLPOOL 
9b46ec04930ff0d54b27cace94b9fe65118e122c96c15b5aed0a7ac7c4ff9e5e4bbf73c8325af2e50db7e7e4014cbfadd5b3dc287fe144bb5fc5610f7f9969e7

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
new file mode 100644
index 000..086b3d5
--- /dev/null
+++ b/dev-ruby/eventmachine/eventmachine-1.0.9.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC="yard"
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby 
programs"
+HOMEPAGE="http://rubyeventmachine.com;
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="${DEPEND}
+   dev-libs/openssl:0"
+RDEPEND="${RDEPEND}
+   dev-libs/openssl:0"
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )
+   test? ( dev-ruby/test-unit:2 )"
+
+all_ruby_prepare() {
+   # Remove package tasks to avoid dependency on rake-compiler.
+   rm rakelib/package.rake || die
+
+   # fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
+   sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
+   sed -i -e "/omit_/d" tests/test_*.rb || die
+   # Remove the resolver tests since they require network access and
+   # the localhost test fails with an IPv6 localhost.
+   rm tests/test_resolver.rb || die
+   # Needs a tty
+   rm tests/test_kb.rb || die
+   # Avoid tests that require network access
+   sed -i -e '/test_bind_connect/,/^  end/ s:^:#:' \
+   tests/test_basic.rb || die
+   sed -i -e '/test_\(cookie\|http_client\|version_1_0\)/,/^  end/ s:^:#:' 
\
+   tests/test_httpclient.rb || die
+   sed -i -e '/test_\(get\|https_get\)/,/^  end/ s:^:#:' \
+   tests/test_httpclient2.rb || die
+   sed -i -e '/test_connect_timeout/,/^  end/ s:^:#:' \
+   tests/test_unbind_reason.rb || die
+   sed -i -e '/test_for_real/,/^end/ s:^:#:' \
+   tests/test_pending_connect_timeout.rb || die
+   rm -f tests/test_{get_sock_opt,set_sock_opt,idle_connection}.rb || die
+}
+
+each_ruby_configure() {
+   for extdir in ext ext/fastfilereader; do
+   pushd $extdir
+   ${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
+   popd
+   done
+}
+
+each_ruby_compile() {
+   for extdir in ext ext/fastfilereader; do
+   pushd $extdir
+   # both extensions use C++, so use the CXXFLAGS not the CFLAGS
+   

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/eventmachine/

2015-10-03 Thread Hans de Graaff
commit: 2938932ca952e1329689c9061a5cf8fe98bb4a69
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Oct  3 09:04:35 2015 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Oct  3 09:12:42 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2938932c

dev-ruby/eventmachine: fix openssl dependency

Package-Manager: portage-2.2.20.1

 dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild | 4 ++--
 dev-ruby/eventmachine/eventmachine-1.0.3-r2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild
index 0e8a5f7..ab06620 100644
--- a/dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.0.3-r1.ebuild
@@ -22,9 +22,9 @@ KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x
 IUSE=""
 
 DEPEND="${DEPEND}
-   dev-libs/openssl"
+   dev-libs/openssl:0"
 RDEPEND="${RDEPEND}
-   dev-libs/openssl"
+   dev-libs/openssl:0"
 
 ruby_add_bdepend "doc? ( dev-ruby/yard )"
 

diff --git a/dev-ruby/eventmachine/eventmachine-1.0.3-r2.ebuild 
b/dev-ruby/eventmachine/eventmachine-1.0.3-r2.ebuild
index 2bafdeb..6ae9778 100644
--- a/dev-ruby/eventmachine/eventmachine-1.0.3-r2.ebuild
+++ b/dev-ruby/eventmachine/eventmachine-1.0.3-r2.ebuild
@@ -21,9 +21,9 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos
 IUSE=""
 
 DEPEND="${DEPEND}
-   dev-libs/openssl"
+   dev-libs/openssl:0"
 RDEPEND="${RDEPEND}
-   dev-libs/openssl"
+   dev-libs/openssl:0"
 
 ruby_add_bdepend "doc? ( dev-ruby/yard )"