public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/em-websocket/
Date: Mon, 26 Nov 2018 06:20:58 +0000 (UTC)	[thread overview]
Message-ID: <1543213220.8cb1b592372396da24d3e0efd8e532df0f6f587b.graaff@gentoo> (raw)

commit:     8cb1b592372396da24d3e0efd8e532df0f6f587b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 26 06:20:20 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Nov 26 06:20:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb1b592

dev-ruby/em-websocket: fix FEATURES=test and dependencies

Match dependencies to gemspec.
Unbreak DEPEND and RDEPEND.
Run unit tests only due to unpackaged dependencies.
Install proper gemspec file.
Add ruby as co-maintainer.

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

 dev-ruby/em-websocket/em-websocket-0.5.1.ebuild | 21 +++++++++++++++------
 dev-ruby/em-websocket/metadata.xml              |  4 ++++
 2 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
index 9e941fc5e43..42534c14304 100644
--- a/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
+++ b/dev-ruby/em-websocket/em-websocket-0.5.1.ebuild
@@ -1,14 +1,18 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 USE_RUBY="ruby23 ruby24 ruby25"
 
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_DOCDIR="rdoc"
 RUBY_FAKEGEM_EXTRADOC="README.md"
 
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
 inherit ruby-fakegem
 
 DESCRIPTION="EventMachine based WebSocket server"
@@ -20,14 +24,19 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
-DEPEND=""
-RDEPEND=""
-
 ruby_add_rdepend "
-	>=dev-ruby/eventmachine-0.5
-	>=dev-ruby/http_parser_rb-0.6.0
+	>=dev-ruby/eventmachine-0.12.9
+	=dev-ruby/http_parser_rb-0.6*
 "
 
+all_ruby_prepare() {
+	# Only run unit tests since we require unpackaged code for the
+	# integration tests.
+	sed -i -e "/^require 'em-\(spec\|http\|websocket-client\)/ s:^:#:" \
+		-e "/^require 'integration/ s:^:#:" spec/helper.rb || die
+	rm -fr spec/integration || die
+}
+
 all_ruby_install() {
 	all_fakegem_install
 

diff --git a/dev-ruby/em-websocket/metadata.xml b/dev-ruby/em-websocket/metadata.xml
index 6c884949856..8cebe0b9e50 100644
--- a/dev-ruby/em-websocket/metadata.xml
+++ b/dev-ruby/em-websocket/metadata.xml
@@ -5,6 +5,10 @@
 		<email>bman@gentoo.org</email>
 		<name>Aaron Bauman</name>
 	</maintainer>
+  <maintainer type="project">
+    <email>ruby@gentoo.org</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
 	<upstream>
 		<remote-id type="github">igrigorik/em-websocket</remote-id>
 	</upstream>


             reply	other threads:[~2018-11-26  6:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26  6:20 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-29 17:44 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/em-websocket/ Hans de Graaff
2023-07-12  7:46 Hans de Graaff
2023-03-12 12:09 Hans de Graaff
2023-03-12 12:09 Hans de Graaff
2021-11-11  7:04 Hans de Graaff
2021-10-09  7:27 Hans de Graaff
2021-07-06  6:56 Hans de Graaff
2020-10-04  5:42 Hans de Graaff
2020-09-25  6:09 Hans de Graaff
2019-02-02 10:36 Hans de Graaff
2018-12-10  7:55 Hans de Graaff
2018-11-29  7:30 Hans de Graaff
2018-11-25 21:58 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1543213220.8cb1b592372396da24d3e0efd8e532df0f6f587b.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox