From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1729364-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 57E5F1584F2
	for <garchives@archives.gentoo.org>; Wed, 19 Mar 2025 08:09:38 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 3F1873432AD
	for <garchives@archives.gentoo.org>; Wed, 19 Mar 2025 08:09:38 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 34E4A11037F;
	Wed, 19 Mar 2025 08:09:37 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 28FDA11037F
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Mar 2025 08:09:37 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C85443432A6
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Mar 2025 08:09:36 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 334761C96
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Mar 2025 08:09:35 +0000 (UTC)
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org>
Message-ID: <1742371763.9def9fca9ddd2fc70129d70a103be4f37a8d25d4.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/jekyll/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-apps/jekyll/Manifest www-apps/jekyll/jekyll-4.4.1.ebuild
X-VCS-Directories: www-apps/jekyll/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: 9def9fca9ddd2fc70129d70a103be4f37a8d25d4
X-VCS-Branch: master
Date: Wed, 19 Mar 2025 08:09:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e552c38a-3672-4998-a904-79f88f6ea4bb
X-Archives-Hash: aae5e7f331d9e9383f686c1b36f6a977

commit:     9def9fca9ddd2fc70129d70a103be4f37a8d25d4
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 19 08:07:15 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Mar 19 08:09:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9def9fca

www-apps/jekyll: add 4.4.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 www-apps/jekyll/Manifest            |   1 +
 www-apps/jekyll/jekyll-4.4.1.ebuild | 114 ++++++++++++++++++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest
index 63b96c471702..85ad60a6f36f 100644
--- a/www-apps/jekyll/Manifest
+++ b/www-apps/jekyll/Manifest
@@ -1 +1,2 @@
 DIST jekyll-4.3.4.tar.gz 1458348 BLAKE2B fda9c3eea5283a631e27ae618589d5357f2c221885b11015cb3b6b3dad66d728aa343a3d141ecd006ec1cf4cfbbf8bdaa3b0c0e97d28bd90fece939a37588e90 SHA512 eb4b233ef7d6b0761e462560b2710dca64f61dab3d6a6f0ce6d675e284af5d92a5ea6a195e87b3dee6e117744decaba30c70ad9b123e72c8a5adb25d9dca234f
+DIST jekyll-4.4.1.tar.gz 1469489 BLAKE2B 131c7f0fff7126b29af446e8007ea4095f918de9d07d4c8c312b82a8573efba4612f706cf6af6ac01ffadca13f083c36d4d55cdabe833ebf0f23ac1793f624c2 SHA512 e2a6784fbd66df905e1b2839eb051518a497030f88bc89501233f37fad6ec3ee02669d6a6b13887fb0948d88b4dc9578a194508799947cf10ded217fdc9d5f1e

diff --git a/www-apps/jekyll/jekyll-4.4.1.ebuild b/www-apps/jekyll/jekyll-4.4.1.ebuild
new file mode 100644
index 000000000000..1f40d688270e
--- /dev/null
+++ b/www-apps/jekyll/jekyll-4.4.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_EXTRADOC="README.markdown History.markdown"
+RUBY_FAKEGEM_EXTRAINSTALL="features"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_BINDIR="exe"
+
+DESCRIPTION="Simple, blog aware, static site generator"
+HOMEPAGE="https://jekyllrb.com https://github.com/jekyll/jekyll"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz  -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+ruby_add_rdepend "
+	>=dev-ruby/addressable-2.4
+	>=dev-ruby/base64-0.2.0
+	>=dev-ruby/colorator-1.0
+	dev-ruby/csv:3
+	>=dev-ruby/em-websocket-0.5
+	dev-ruby/i18n:1
+	>=dev-ruby/json-2.6
+	>=dev-ruby/kramdown-2.3.1:2
+	dev-ruby/kramdown-parser-gfm:1
+	dev-ruby/liquid:4
+	=dev-ruby/mercenary-0.4*
+	|| ( dev-ruby/rouge:4 dev-ruby/rouge:2 )
+	|| ( dev-ruby/terminal-table:3 dev-ruby/terminal-table:2 )
+	>=dev-ruby/webrick-1.7:0
+	>=www-apps/jekyll-sass-converter-2.0
+	>=www-apps/jekyll-watch-2.2.1-r1
+"
+ruby_add_bdepend "
+	test? (
+		dev-ruby/kramdown-syntax-coderay
+		dev-ruby/launchy
+		dev-ruby/nokogiri
+		>=dev-ruby/rdiscount-2.0
+		>=dev-ruby/redcarpet-3.2.3
+		dev-ruby/rspec-mocks
+		>=dev-ruby/shoulda-3
+		dev-ruby/test-unit:2
+		www-apps/jekyll-coffeescript
+	)
+"
+
+all_ruby_prepare() {
+	eapply "${FILESDIR}"/jekyll-3.6.0-test-helper.patch
+	eapply -R "${FILESDIR}/jekyll-4.3.2-sass.patch"
+	eapply "${FILESDIR}"/jekyll-4.3.2-no-safe_yaml.patch
+
+	# Avoid pathutil since it is not compatible with ruby 3.2+ and not
+	# Pathutil specific methods seem to be used.
+	sed -e '/pathutil/ s:^:#:' \
+		-i lib/jekyll.rb ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Drop tests requiring bundler
+	sed -i -e '/bundle_message/d' test/test_new_command.rb || die
+	rm test/test_plugin_manager.rb || die
+
+	# Drop tests requiring classifier-reborn (ruby27-only package)
+	rm -f test/test_related_posts.rb || die
+
+	# Replace git command in gemspec
+	sed -e 's/git ls-files/find -not -type d -print/' \
+		-e 's:_relative ": "./:' \
+		-i $RUBY_FAKEGEM_GEMSPEC || die
+
+	sed -e '3igem "liquid", "~> 4.0"' -i test/helper.rb || die
+
+	# FIXMEs:
+	# fails to find fixtures because this requires bundler
+	rm -f test/test_theme.rb || die
+	rm -f test/test_theme_{assets_reader,data_reader,drop}.rb || die
+	sed -i -e '/^    should.*theme/,/^    end$/d' \
+		-e '/^      should.*theme/,/^      end$/d' test/test_site.rb || die
+	sed -i -e '/context "with a theme"/,/^    end/ s:^:#:' test/test_layout_reader.rb || die
+	sed -i -e '/normalize paths of rendered items/askip "test-theme"' test/test_liquid_renderer.rb || die
+	# partially requires 'toml'
+	rm test/test_configuration.rb || die
+
+	# Tries to use bundler and install packages.
+	rm -f test/test_new_command.rb || die
+
+	# Fails due to ordering differences in ruby 3.0
+	sed -e '/convert drop to json/askip "hash ordering with ruby 3"' \
+		-i test/test_filters.rb || die
+
+	# Avoid a test failing due to TZ differences
+	sed -e '/contain the proper page data to mimic the post liquid/askip "TZ difference"' \
+		-i test/test_excerpt.rb || die
+
+	# Confused by network-sandbox
+	sed -e "/return true if there's internet/askip \"Confused by network-sandbox\"" \
+		-i test/test_utils.rb || die
+
+	# Avoid tests requiring unmaintained and broken httpclient
+	rm -f test/test_commands_serve.rb || die
+}
+
+src_test() {
+	local -x JEKYLL_NO_BUNDLER_REQUIRE=true
+
+	ruby-ng_src_test
+}