summaryrefslogtreecommitdiff
path: root/www-apps/jekyll-coffeescript
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/jekyll-coffeescript')
-rw-r--r--www-apps/jekyll-coffeescript/Manifest1
-rw-r--r--www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0-r1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/www-apps/jekyll-coffeescript/Manifest b/www-apps/jekyll-coffeescript/Manifest
index ec5bebbb45f2..8cc4e4cd8309 100644
--- a/www-apps/jekyll-coffeescript/Manifest
+++ b/www-apps/jekyll-coffeescript/Manifest
@@ -1,3 +1,4 @@
DIST jekyll-coffeescript-2.0.0.tar.gz 5984 BLAKE2B 2158f138820253a4e181035dcdf7e25ac7ded26ce7b6e6d6fb5f73e18f5c7e8bbeed8b47a8b12c059b2e7e5167e41f0f9645d5d08e85ff8ab52d400b1c4eb3c7 SHA512 31742ff4a9139d56baaa657b8259c1327a3f7ea14465203907b4d98e6c2b70286f5a1a7515140638a2347db86a35645e715a527b4b85fd536176277f7cfa3400
+EBUILD jekyll-coffeescript-2.0.0-r1.ebuild 983 BLAKE2B 29add3d4d968d5a8da84c1160f25877a0933690370857a40c5af06b82293a4b7d31c6d8200338a8db87541d396c7ad8ee32100e7499602fd71d3a8803a6c7dcf SHA512 9188dba9934ae3d60697a5062a03624ff4e06999d2f54895cbda4f7613bf272c5463435411d9e3af55988c068eddb9590fb01789309c3a4348ee207621a22ad6
EBUILD jekyll-coffeescript-2.0.0.ebuild 983 BLAKE2B 4eca3b3b3fe947cc24cb5148286646a582d034765dd0f911b783bd7630bc8c9ab116cf5e521c80c2bcff523a72ac0c69d8427ca4b371a5be1a9faf1a2e21ce39 SHA512 ea280aa409359a5bea7fe6a579b2e501a3379f9f0adcd6cdeda132112d8e35c5283b084d5d8178feede5b5851d64b19b1f75c83154a7f14d17fc4d230f6c8a0a
MISC metadata.xml 257 BLAKE2B 4925a56d0e45b1d6dcae7f2bb3379f572d89e7a0c210954985c25364770190be5f8024aafd9fc387c8d59fa9657eb9c7872fefe13a29fb904a5e37e613bb21b0 SHA512 5077a3754a874894def1703d9caf781d22d828cc52930bc1d8e68e80079c9c0bda64f566f4486434e45bb9f2f7c8f7769ee06522337384d527960c258acf4747
diff --git a/www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0-r1.ebuild b/www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0-r1.ebuild
new file mode 100644
index 000000000000..b2ae5200e9a4
--- /dev/null
+++ b/www-apps/jekyll-coffeescript/jekyll-coffeescript-2.0.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md History.markdown"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_GEMSPEC="jekyll-coffeescript.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A CoffeeScript Converter for Jekyll"
+HOMEPAGE="https://github.com/jekyll/jekyll-coffeescript"
+SRC_URI="https://github.com/jekyll/jekyll-coffeescript/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/coffee-script-2.2
+ >=dev-ruby/coffee-script-source-1.12"
+ruby_add_bdepend "test? ( www-apps/jekyll )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' Rakefile || die
+ sed -i -e "/^RSpec/i \
+ require 'jekyll'"\
+ -e "/^RSpec/i \
+ require 'jekyll-coffeescript'" spec/spec_helper.rb || die
+ sed -i -e 's/git ls-files/find -type f -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}