summaryrefslogtreecommitdiff
path: root/dev-ruby/coffee-rails
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-10 21:02:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-10 21:02:07 +0000
commit0ca3f86640e2f1f361da895b997c43bac22090a1 (patch)
tree029b42e7b1425ce16f4299635e5caad713501ead /dev-ruby/coffee-rails
parentbe94ae04eee564451203d45977c2ef7c7ace1580 (diff)
gentoo auto-resync : 10:11:2024 - 21:02:06
Diffstat (limited to 'dev-ruby/coffee-rails')
-rw-r--r--dev-ruby/coffee-rails/Manifest1
-rw-r--r--dev-ruby/coffee-rails/coffee-rails-5.0.0-r3.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/coffee-rails/Manifest b/dev-ruby/coffee-rails/Manifest
index aaedd1f2d50b..93a54fbdee66 100644
--- a/dev-ruby/coffee-rails/Manifest
+++ b/dev-ruby/coffee-rails/Manifest
@@ -1,3 +1,4 @@
DIST coffee-rails-5.0.0.tar.gz 5892 BLAKE2B 4d3b945ab4b53936bd39599ac7ba8af4d90e6fee073188847dbb157e098f275df5a3a6e91dcf804068b707804047442efc86524935a56cf403b55426466c502c SHA512 f1aac41f8f1f7181e82fbcf8c3007f40116639e4c140f1837be835fdcfa1babc7fc370212a9954ac8398d9a8d20fbd468550cd8b11c31788428769ea7aedf769
EBUILD coffee-rails-5.0.0-r2.ebuild 1104 BLAKE2B bd2cd57897f3fe284798113c611471e6caf4b4d01110813ba8d37f07b06c65beac5652e2cb94865386aa57e960c7b35a8b1279ff8a06dd8db265c15fd6479503 SHA512 2cfcd9cddab03fa569bad07cff36312d6afe87051532595ffa1837187aaf6dac1a436eed34f6cf7e109e624ba962de84446ace48a574cde286348499b83bd360
+EBUILD coffee-rails-5.0.0-r3.ebuild 1206 BLAKE2B 870a129b486a6af3abd621357ffc8a6aa30360199d12319411425d1a8019ee1d2209e8622907e3d00d088511cc5c5992b7e8d76e6c8d052a4095175a34e10140 SHA512 00b0b73e065b9aa97232f1d9623346dc0b242b817cb1e7ac16191ffad3d220f7ed68ec1b64f9fc4e0b179fa8342e87c6aa2bc9e50a330e94df8710cafcd771f1
MISC metadata.xml 345 BLAKE2B 3232bcf8400900fbf6aa03385a16e5bb26c1901111f2ee243d8c49e20e6f63157243192e09aaf9d1316daa3954b882a6fbbd5a59e11d2dd069a5a4bcf0504dd1 SHA512 001483acf323feba5fd91a7f32eb7e54b68b9e7f40d0346603d70164cb10c8bcb7944af313744c57a10a2c0cd788600ff77dea9ab2f7a54d29fdab986a0e35a2
diff --git a/dev-ruby/coffee-rails/coffee-rails-5.0.0-r3.ebuild b/dev-ruby/coffee-rails/coffee-rails-5.0.0-r3.ebuild
new file mode 100644
index 000000000000..9283243b79c4
--- /dev/null
+++ b/dev-ruby/coffee-rails/coffee-rails-5.0.0-r3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Coffee Script adapter for the Rails asset pipeline"
+HOMEPAGE="https://github.com/rails/coffee-rails"
+SRC_URI="https://github.com/rails/coffee-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"
+
+ruby_add_rdepend "
+ >=dev-ruby/coffee-script-2.2.0
+ <dev-ruby/railties-7.1:*
+"
+
+# sprockets:3 for https://github.com/rails/coffee-rails/issues/122
+ruby_add_bdepend "test? ( dev-ruby/sprockets-rails dev-ruby/sprockets:3 )"
+
+all_ruby_prepare() {
+ # Avoid dependency on git and bundler.
+ sed -i -e 's/git ls-files/echo/' \
+ -e '/bundler/I s:^:#:' Rakefile || die
+
+ # Make sure a consistent rails version is loaded.
+ sed -i -e '4igem "railties", "<7.1" ; gem "sprockets", "<4"' -e '/bundler/ s:^:#:' test/test_helper.rb || die
+
+ # Avoid generator tests which appear to be broken.
+ rm -f test/{controller,scaffold}_generator_test.rb || die
+}