summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-07-11 07:12:32 +0200
committerHans de Graaff <graaff@gentoo.org>2020-07-11 07:15:14 +0200
commitcb04952ac5af69ce6a98380366587efa50eeebc2 (patch)
treeadac947501cd91a6c6e7c126f6200aab8ce120bc /dev-ruby
parentdev-ruby/uuidtools: add 2.2.0 (diff)
downloadgentoo-cb04952ac5af69ce6a98380366587efa50eeebc2.tar.gz
gentoo-cb04952ac5af69ce6a98380366587efa50eeebc2.tar.bz2
gentoo-cb04952ac5af69ce6a98380366587efa50eeebc2.zip
dev-ruby/websocket-driver: add 0.7.3
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/websocket-driver/Manifest1
-rw-r--r--dev-ruby/websocket-driver/websocket-driver-0.7.3.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/websocket-driver/Manifest b/dev-ruby/websocket-driver/Manifest
index db49c1563ab2..565f9c7399a3 100644
--- a/dev-ruby/websocket-driver/Manifest
+++ b/dev-ruby/websocket-driver/Manifest
@@ -2,3 +2,4 @@ DIST websocket-driver-0.6.5.tar.gz 24737 BLAKE2B 137c16a69309a1aad07fff663ff95a8
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
DIST websocket-driver-0.7.2.tar.gz 25998 BLAKE2B a14af62a6189a4ec476352fd587e210e6ecf7f48845e06aae87a3bf78d7f55a1dd50177b29d5759416c6debf24b8d249fa2cf41f1a282044ecef8cd6fa963adf SHA512 05a0ae12e8fcf1c6734bedd8837857d71387844cbfbb768d8b81d8b890e3735c272b7a397ee9f3d20db82939a06694e4bbc6a42d06436911997588917b7fe7af
+DIST websocket-driver-0.7.3.tar.gz 26035 BLAKE2B 508c5acb8e2aa1851ce04671b2bb68ce7e692b26b7b30c3115198d08606dbeb110067537337b75b90e7b3e33bd8dd1938eaa871bf41fd1b222ae71fa723e5ef2 SHA512 1ba113abbed068d1afa34a23ef29691a42f39f3980122c654c72902229f87acf87802c83ea79399b61f5749166bf5927a5d1ea0ba1840e3b9dceccaaa5196b55
diff --git a/dev-ruby/websocket-driver/websocket-driver-0.7.3.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.7.3.ebuild
new file mode 100644
index 000000000000..68cce579d558
--- /dev/null
+++ b/dev-ruby/websocket-driver/websocket-driver-0.7.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+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="Apache-2.0"
+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
+}