commit:     72ef45175464af1842ca2175442e3f54b1aafaf2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 17:18:08 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 18:09:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ef4517

dev-ruby/actioncable: enable ruby32 for 7.0.x

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/actioncable/actioncable-7.0.4.3-r1.ebuild | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/dev-ruby/actioncable/actioncable-7.0.4.3-r1.ebuild 
b/dev-ruby/actioncable/actioncable-7.0.4.3-r1.ebuild
new file mode 100644
index 000000000000..604cb43cd7f8
--- /dev/null
+++ b/dev-ruby/actioncable/actioncable-7.0.4.3-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="app"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Integrated WebSockets for Rails"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+# Tests require many new dependencies, skipping for now
+RESTRICT="test"
+
+ruby_add_rdepend "
+       ~dev-ruby/actionpack-${PV}:*
+       ~dev-ruby/activesupport-${PV}:*
+       dev-ruby/nio4r:2
+       >=dev-ruby/websocket-driver-0.6.1:*
+"
+
+ruby_add_bdepend "
+       test? (
+               >=dev-ruby/railties-4.2.0
+               dev-ruby/test-unit:2
+               >=dev-ruby/mocha-0.14.0:0.14
+       )"

Reply via email to