dev-ruby/websocket-driver: version bump
authorHans de Graaff <graaff@gentoo.org>
Thu, 20 Aug 2015 04:34:51 +0000 (06:34 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 20 Aug 2015 05:00:20 +0000 (07:00 +0200)
Package-Manager: portage-2.2.20.1

dev-ruby/websocket-driver/Manifest
dev-ruby/websocket-driver/metadata.xml
dev-ruby/websocket-driver/websocket-driver-0.6.2.ebuild [new file with mode: 0644]

index abd2c148ac34b171c218de5829adc16cf6f178ce..b1a8a6b38276f4bcd2a666bd7a07dd5dddc3fff9 100644 (file)
@@ -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
index 80b360ff138f22ca3d565a50dd47c1425b99c9ba..71706974ac707bd67a199d1ba43a4fddfe2915be 100644 (file)
@@ -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 (file)
index 0000000..bbdec49
--- /dev/null
@@ -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
+}