www-apps/jekyll: fix test against newer minitest

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/557
Merges: https://codeberg.org/gentoo/gentoo/pulls/557
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-04-08 14:50:20 +03:00
committed by Sam James
parent d730650acb
commit dfdb434456
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
https://github.com/jekyll/jekyll/pull/9954
From d074e4a4b644dbdf4c11d88f01a68d44033185ea Mon Sep 17 00:00:00 2001
From: Matt Rogers <codemattr@gmail.com>
Date: Sun, 29 Mar 2026 22:23:20 -0500
Subject: [PATCH] fix: adapt to new minitest versions
--- a/test/test_page_without_a_file.rb
+++ b/test/test_page_without_a_file.rb
@@ -64,7 +64,7 @@ def render_and_write
assert_equal "All the properties.\n", regular_page["content"]
assert_equal "properties.html", regular_page["name"]
- basic_attrs = %w(dir name path url excerpt)
+ basic_attrs = %w(dir name path url)
attrs = {
"content" => nil,
"dir" => "/",

View File

@@ -53,6 +53,10 @@ ruby_add_bdepend "
)
"
PATCHES=(
"${FILESDIR}"/jekyll-4.1.1-minitest6.patch
)
all_ruby_prepare() {
eapply "${FILESDIR}"/jekyll-3.6.0-test-helper.patch
eapply -R "${FILESDIR}/jekyll-4.3.2-sass.patch"