From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1586893-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id AAFF615803E
	for <garchives@archives.gentoo.org>; Thu,  4 Jan 2024 06:54:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E17242BC02C;
	Thu,  4 Jan 2024 06:54:29 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C9C562BC02C
	for <gentoo-commits@lists.gentoo.org>; Thu,  4 Jan 2024 06:54:29 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id CF958343072
	for <gentoo-commits@lists.gentoo.org>; Thu,  4 Jan 2024 06:54:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F4891339
	for <gentoo-commits@lists.gentoo.org>; Thu,  4 Jan 2024 06:54:27 +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: <1704351263.a1784255c8cdfae58cb4c61d7495e1bf77d8438e.graaff@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/webgen/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/webgen/Manifest app-text/webgen/webgen-1.7.3.ebuild
X-VCS-Directories: app-text/webgen/
X-VCS-Committer: graaff
X-VCS-Committer-Name: Hans de Graaff
X-VCS-Revision: a1784255c8cdfae58cb4c61d7495e1bf77d8438e
X-VCS-Branch: master
Date: Thu,  4 Jan 2024 06:54:27 +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: 1ac82905-7ba6-46b5-9184-f5f6b86fca3d
X-Archives-Hash: 8523ee12cf302946353bc96a97695ab1

commit:     a1784255c8cdfae58cb4c61d7495e1bf77d8438e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 06:49:57 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 06:54:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1784255

app-text/webgen: add 1.7.3

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

 app-text/webgen/Manifest            |  1 +
 app-text/webgen/webgen-1.7.3.ebuild | 59 +++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-text/webgen/Manifest b/app-text/webgen/Manifest
index f80e35d2fba4..2b0b1f67a3c7 100644
--- a/app-text/webgen/Manifest
+++ b/app-text/webgen/Manifest
@@ -1 +1,2 @@
 DIST webgen-1.7.2.gem 201728 BLAKE2B abd3a8a9accfbc1a1e0070b7cbd4d0cc24796540ce1c8c0cfd3dc50882bf953b1e794971a90e2a429b3ecd64b1cb009b16c96ce1e6cfa05516ce48c10e39cd95 SHA512 806303f56319b6f55d8457b0b68438a9732bc1adc95ea50a955ad02b184814d0b878d618fc0547831cac53292208f1d0837d190b078ebb2ba42641dbaa5ffd93
+DIST webgen-1.7.3.gem 201728 BLAKE2B fc3c63d12b547c14e7900dfe881c95150de2f4783bfcbdd3f9a0bff6cd88d8278f1f2b0d7281394b35c3032e0cec639e01911807ddcc8b8114890bb4e404e2a4 SHA512 7e5738f66a2095fbfde922cf6711735273109bd10ebf12e2ebbbf4aa72cd54a8d4d50057d5aba8a428c154654000b718850e8c23391736123ea38f2f3b75cf50

diff --git a/app-text/webgen/webgen-1.7.3.ebuild b/app-text/webgen/webgen-1.7.3.ebuild
new file mode 100644
index 000000000000..c630a650eedd
--- /dev/null
+++ b/app-text/webgen/webgen-1.7.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC="task"
+RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc"
+RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS"
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A template-based static website generator"
+HOMEPAGE="https://webgen.gettalong.org"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="builder doc highlight markdown"
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )
+	test? (
+		dev-ruby/minitest:5
+		dev-ruby/rdiscount
+		>=dev-ruby/sass-3.2:* )"
+
+ruby_add_rdepend ">=dev-ruby/cmdparse-3.0.1:3
+	>=dev-ruby/systemu-2.5 =dev-ruby/systemu-2*
+	>=dev-ruby/kramdown-2.3:2
+	>=dev-ruby/psych-5.1:5
+	builder? ( >=dev-ruby/builder-2.1.0:* )
+	highlight? ( >=dev-ruby/coderay-1.0 )
+	markdown? ( dev-ruby/maruku )"
+
+all_ruby_prepare() {
+	# Avoid a test fragile for sass version differences
+	sed -i -e '/test_static_call/,/^  end/ s:^:#:' test/webgen/content_processor/test_sass.rb || die
+	# Avoid a test with fragile whitespace tests
+	rm -f test/webgen/content_processor/test_haml.rb || die
+
+	# Avoid tests for rdoc since that requires an obsolete version
+	sed -i -e '/def test_create_nodes/askip' test/webgen/path_handler/test_api.rb || die
+
+	# Avoid tests for unpackaged dependencies
+	rm -f test/webgen/content_processor/test_{css_minify,tikz}.rb || die
+
+	# Avoid tests failing with newer Psych versions
+	rm -f test/test_documentation.rb || die
+
+	# Fix minitest deprecation
+	sed -i -e 's/MiniTest/Minitest/' $(find test -type f -print) || die
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	doman man/man1/webgen.1
+}