diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-07-02 09:17:09 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-07-02 09:23:12 +0200 |
commit | d63f867afee52eb72525dc8b08c4b8bd839a15e1 (patch) | |
tree | f2da2846f131d2814c7095fc5667c549ec5452ab /dev-ruby/websocket-driver | |
parent | dev-ruby/diff-lcs: add ruby30 (diff) | |
download | gentoo-d63f867afee52eb72525dc8b08c4b8bd839a15e1.tar.gz gentoo-d63f867afee52eb72525dc8b08c4b8bd839a15e1.tar.bz2 gentoo-d63f867afee52eb72525dc8b08c4b8bd839a15e1.zip |
dev-ruby/websocket-driver: add ruby27, ruby30; fix extensions
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/websocket-driver')
-rw-r--r-- | dev-ruby/websocket-driver/websocket-driver-0.6.5-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/websocket-driver/websocket-driver-0.6.5-r1.ebuild b/dev-ruby/websocket-driver/websocket-driver-0.6.5-r1.ebuild new file mode 100644 index 000000000000..6d1d0117d699 --- /dev/null +++ b/dev-ruby/websocket-driver/websocket-driver-0.6.5-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/websocket-driver/extconf.rb) + +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 ~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 +} |