summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-29 15:34:11 +0100
committerSam James <sam@gentoo.org>2023-03-29 15:34:11 +0100
commitb61c735cef461b6c9edfefaece36095ed55abf80 (patch)
treef0f4e5b1177da12735fef0782c84d6f23fb44319 /dev-ruby/sass-rails
parentmedia-video/wireplumber: Stabilize 0.4.14 arm, #903538 (diff)
downloadgentoo-b61c735cef461b6c9edfefaece36095ed55abf80.tar.gz
gentoo-b61c735cef461b6c9edfefaece36095ed55abf80.tar.bz2
gentoo-b61c735cef461b6c9edfefaece36095ed55abf80.zip
Revert "dev-ruby/sass-rails: drop 5.0.8"
This reverts commit 3e273aae4c7004102717f823686151d8f5616ecc. This is last-rited already so let's allow it to be removed naturally. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ruby/sass-rails')
-rw-r--r--dev-ruby/sass-rails/Manifest1
-rw-r--r--dev-ruby/sass-rails/sass-rails-5.0.8.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/sass-rails/Manifest b/dev-ruby/sass-rails/Manifest
index 12f56588108f..d489960dce02 100644
--- a/dev-ruby/sass-rails/Manifest
+++ b/dev-ruby/sass-rails/Manifest
@@ -1 +1,2 @@
+DIST sass-rails-5.0.8.tar.gz 90020 BLAKE2B 20e9e6e4701b0a14ff10f343fb94065af0110d86aab1bb4676de4806e20f8031b4cf7961002828438c3ae6be9802b3a2e4367882241e8fe745029747d31f9b04 SHA512 05d9e8d269c608723158831e215599a8482383fe79a9c3416fa8efd11bf9bae7935c5b7a1f5e8a22a85336abf4ceecc50578f0c8e51310c09b2540831959652e
DIST sass-rails-5.1.0.tar.gz 89994 BLAKE2B dc0083af8399d2ff1210a6430d47ccaaac88b337da5cfeb61c7a4f0c6b1f55d59d896a874945a943cc322fabfb3a31d80a1a467a12d04f2c1a1f9c84cbb452a0 SHA512 894b957b6b72d340ef2eebdc721c58c2d101fd275a10265f859f17f654736b3d3542a7100db922236925af40ae090406689815a4bb4f623c5f70652685571b7e
diff --git a/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild b/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild
new file mode 100644
index 000000000000..f9e3ab5413f8
--- /dev/null
+++ b/dev-ruby/sass-rails/sass-rails-5.0.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Official Ruby-on-Rails Integration with Sass"
+HOMEPAGE="https://github.com/rails/sass-rails"
+SRC_URI="https://github.com/rails/sass-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+
+IUSE=""
+
+# Restrict tests for now since it is hard to set up the right
+# environment with the correct ruby interpreter and Rails test
+# application.
+RESTRICT="test"
+
+#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )"
+
+ruby_add_rdepend ">=dev-ruby/sass-3.1:* =dev-ruby/sass-3*:*
+ >=dev-ruby/railties-5.2.0
+ >=dev-ruby/sprockets-rails-2.0:* <dev-ruby/sprockets-rails-4:*
+ >=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:*
+ >=dev-ruby/tilt-1.1:* <dev-ruby/tilt-3:*"
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rake test || die
+}