summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-06-10 17:41:38 +0200
committerHans de Graaff <graaff@gentoo.org>2019-06-10 21:15:10 +0200
commit59dce65f1a46fe36f75a24ba54db56b84ca198cd (patch)
treee584258c69dfcd5152ecfc8db57967be4f06efcb /dev-ruby
parentdev-vcs/git: bump (diff)
downloadgentoo-59dce65f1a46fe36f75a24ba54db56b84ca198cd.tar.gz
gentoo-59dce65f1a46fe36f75a24ba54db56b84ca198cd.tar.bz2
gentoo-59dce65f1a46fe36f75a24ba54db56b84ca198cd.zip
dev-ruby/websocket-driver: add 0.7.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/websocket-driver/Manifest1
-rw-r--r--dev-ruby/websocket-driver/websocket-driver-0.7.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/websocket-driver/Manifest b/dev-ruby/websocket-driver/Manifest
index 7b098621f203..48b165a9ea8e 100644
--- a/dev-ruby/websocket-driver/Manifest
+++ b/dev-ruby/websocket-driver/Manifest
@@ -1,2 +1,3 @@
DIST websocket-driver-0.6.5.tar.gz 24737 BLAKE2B 137c16a69309a1aad07fff663ff95a888a151f0fa20e78e754ae62ddfc8c2bdbfda926d7f4c53549e92646d018df7f374721e95246eb2985012e6b219970c4c6 SHA512 6915fdefac26a24e1f7d3d9a7e6bc6afc84b491150290a75a14243c233f5029d7d6e90a803b34bd6a8e8717322c6ae6fd4d3f3dad7a50c8eb18f17c3f2e9bbd0
DIST websocket-driver-0.7.0.tar.gz 25557 BLAKE2B 5d8af63c50b9c61b05e822a3bef7bd9c15a25875afa2cb0eb909f174801ff10445452c11d83790d9053438ea5556d91739bba27b2c1d6b5dc93397fbfa64bfd6 SHA512 cc022a53c546e66eb2b7ab04ff2a809ad22087343807f0e31c51e36e028123d808cbfc1956bc8e14d1fd913661664302a41ae5abc9a34562562da2e5cba58368
+DIST websocket-driver-0.7.1.tar.gz 25722 BLAKE2B 6046fe93a52ef958fa22402f67d544cb4375248997cc5104bd6ff46fde40493f3b342a29aec5a803e5d884528ee593f605e30150eb1e770508ef26b2af126cda SHA512 77e285eb038c0bff612f24f2edb79747ab37d167d861a7e580827da2ff5bc371cbb76041dbe47224384e58c1beaea7ef78cd875d08f218fb1ca9c4657783efaa
diff --git a/dev-ruby/websocket-driver/websocket-driver-0.7.1.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.7.1.ebuild
new file mode 100644
index 000000000000..80babbc69e6f
--- /dev/null
+++ b/dev-ruby/websocket-driver/websocket-driver-0.7.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+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.7"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+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
+}