summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-08-20 06:34:51 +0200
committerHans de Graaff <graaff@gentoo.org>2015-08-20 07:00:20 +0200
commit89ea0dfa7fd7c0012b51999c1b3399552d1339e1 (patch)
treec6c7288ac90644eabe65c3e2512d88fa97d8a696 /dev-ruby/websocket-driver
parentsci-physics/yoda: initial import from the science overlay (diff)
downloadgentoo-89ea0dfa7fd7c0012b51999c1b3399552d1339e1.tar.gz
gentoo-89ea0dfa7fd7c0012b51999c1b3399552d1339e1.tar.bz2
gentoo-89ea0dfa7fd7c0012b51999c1b3399552d1339e1.zip
dev-ruby/websocket-driver: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/websocket-driver')
-rw-r--r--dev-ruby/websocket-driver/Manifest1
-rw-r--r--dev-ruby/websocket-driver/metadata.xml2
-rw-r--r--dev-ruby/websocket-driver/websocket-driver-0.6.2.ebuild37
3 files changed, 39 insertions, 1 deletions
diff --git a/dev-ruby/websocket-driver/Manifest b/dev-ruby/websocket-driver/Manifest
index abd2c148ac34..b1a8a6b38276 100644
--- a/dev-ruby/websocket-driver/Manifest
+++ b/dev-ruby/websocket-driver/Manifest
@@ -1 +1,2 @@
DIST websocket-driver-0.3.4.gem 19456 SHA256 b829ee1da54aa1374ca0cc143a83f1f5a55ea9f318021f06fec4b34a2f47b038 SHA512 c3c2c98bd5057a47e830fc31d56f88ad376ad71b473963fa20c1380de8a9c95b458cd9545b676f7adc1ed494664714648aec182b6b3681c38c87248370f1db64 WHIRLPOOL 019e6527dcd034ddfd3652c1f71bbeee01e62dfa59e7c70d1986b64bb05364122cc7d2c4bee2c2c0d4559e55724f6def40a1b20ad47e6fa153f5b7e8b3c0366d
+DIST websocket-driver-0.6.2.tar.gz 24186 SHA256 531b5687169e837c6c6378cac0716710143691138caa95ef67a5bb2a14a46f71 SHA512 c4a7d91a6f3c882029c50723da90cf5b1daac725bc1b4ac1bb5136b1fbb96f6206f9b304ff9d404399ab1d1995a39a9db63123fff8fd9b80241cc16709fc7200 WHIRLPOOL 64c4134ec7ebfaba790cd68863ca3989282444417a84d058a034b14814e02e8bcd11744a33739e45a7cc8009e30bbb8333990626af44f8df6b411478cd7d8120
diff --git a/dev-ruby/websocket-driver/metadata.xml b/dev-ruby/websocket-driver/metadata.xml
index 80b360ff138f..71706974ac70 100644
--- a/dev-ruby/websocket-driver/metadata.xml
+++ b/dev-ruby/websocket-driver/metadata.xml
@@ -3,6 +3,6 @@
<pkgmetadata>
<herd>ruby</herd>
<upstream>
- <remote-id type="github">faye/websocket-driver</remote-id>
+ <remote-id type="github">faye/websocket-driver-ruby</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-ruby/websocket-driver/websocket-driver-0.6.2.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.6.2.ebuild
new file mode 100644
index 000000000000..bbdec490615a
--- /dev/null
+++ b/dev-ruby/websocket-driver/websocket-driver-0.6.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A complete implementation of the WebSocket protocols"
+HOMEPAGE="https://github.com/faye/websocket-driver-ruby"
+SRC_URI="https://github.com/faye/websocket-driver-ruby/archive/${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="${PN}-ruby-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/websocket-extensions-0.1.0"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/websocket-driver extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/websocket-driver
+ cp ext/websocket-driver/websocket_mask.so lib/ || die
+}