summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-07 18:18:08 +0100
committerSam James <sam@gentoo.org>2023-04-07 19:09:45 +0100
commit72ef45175464af1842ca2175442e3f54b1aafaf2 (patch)
treed9283515285846b713caacc64d81c3ccb1b1bbdd /dev-ruby/actioncable
parentdev-ruby/actionmailer: enable ruby32 for 7.0.x (diff)
downloadgentoo-72ef45175464af1842ca2175442e3f54b1aafaf2.tar.gz
gentoo-72ef45175464af1842ca2175442e3f54b1aafaf2.tar.bz2
gentoo-72ef45175464af1842ca2175442e3f54b1aafaf2.zip
dev-ruby/actioncable: enable ruby32 for 7.0.x
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/actioncable')
-rw-r--r--dev-ruby/actioncable/actioncable-7.0.4.3-r1.ebuild46
1 files changed, 46 insertions, 0 deletions
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
+ )"