From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1422961-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 8214E158095
	for <garchives@archives.gentoo.org>; Fri, 29 Jul 2022 06:47:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A963EE0D8B;
	Fri, 29 Jul 2022 06:47:56 +0000 (UTC)
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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 84262E0D8B
	for <gentoo-commits@lists.gentoo.org>; Fri, 29 Jul 2022 06:47:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 66EDF3411E6
	for <gentoo-commits@lists.gentoo.org>; Fri, 29 Jul 2022 06:47:55 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C62A37F
	for <gentoo-commits@lists.gentoo.org>; Fri, 29 Jul 2022 06:47:53 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1659077265.30284e10a586584df27ddab1f2714fb90a46ab91.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/ikiwiki/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-apps/ikiwiki/ikiwiki-3.20200202.3-r1.ebuild
X-VCS-Directories: www-apps/ikiwiki/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 30284e10a586584df27ddab1f2714fb90a46ab91
X-VCS-Branch: master
Date: Fri, 29 Jul 2022 06:47:53 +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: b6684347-947b-458f-a2f0-60205f7b9a82
X-Archives-Hash: e48290e60291bde7e2e54331c4a6630a

commit:     30284e10a586584df27ddab1f2714fb90a46ab91
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 05:43:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 06:47:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30284e10

www-apps/ikiwiki: allow graphicsmagick[perl]

Debian allow both.

Bug: https://bugs.gentoo.org/436458
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-apps/ikiwiki/ikiwiki-3.20200202.3-r1.ebuild | 114 ++++++++++++++++++++++++
 1 file changed, 114 insertions(+)

diff --git a/www-apps/ikiwiki/ikiwiki-3.20200202.3-r1.ebuild b/www-apps/ikiwiki/ikiwiki-3.20200202.3-r1.ebuild
new file mode 100644
index 000000000000..c9b641661eb4
--- /dev/null
+++ b/www-apps/ikiwiki/ikiwiki-3.20200202.3-r1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_TEST="do"
+inherit perl-module
+
+DESCRIPTION="A wiki compiler"
+HOMEPAGE="http://ikiwiki.info/"
+SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.orig.tar.xz"
+S="${WORKDIR}/ikiwiki-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extras minimal test"
+RESTRICT="!test? ( test )"
+
+#Authen::Passphrase
+#Search::Xapian
+#Locale::gettext
+#Crypt::SSLeay
+#Text::CSV
+#Text::Typography
+#Text::Textile
+#Text::WikiFormat
+#Net::Amazon::S3
+
+EXTRA_RDEPEND="
+	dev-python/docutils
+	dev-perl/Digest-SHA1
+	dev-perl/File-MimeInfo
+	dev-perl/RPC-XML
+	dev-perl/XML-Feed
+	dev-perl/LWPx-ParanoidAgent
+	dev-perl/Net-OpenID-Consumer
+"
+
+SUGGESTED_RDEPEND="
+	dev-perl/CGI
+	>=dev-perl/CGI-FormBuilder-3.0202
+	>=dev-perl/CGI-Session-4.14
+	dev-perl/Mail-Sendmail
+	dev-perl/Term-ReadLine-Gnu
+	dev-perl/XML-Simple
+	|| (
+		media-gfx/imagemagick[perl]
+		media-gfx/graphicsmagick[perl]
+	)
+"
+
+TEST_DEPEND="
+	dev-perl/File-chdir
+	dev-perl/File-ReadBackwards
+	dev-perl/File-MimeInfo
+	dev-perl/HTML-LinkExtractor
+	dev-perl/HTML-Tree
+	dev-perl/Net-OpenID-Consumer
+	dev-perl/RPC-XML
+	dev-perl/XML-Feed
+	dev-perl/XML-Twig
+	dev-vcs/cvs[server]
+	dev-vcs/cvsps"
+
+DEPEND="
+	>=dev-lang/perl-5.10
+	app-text/po4a
+	dev-perl/HTML-Parser
+	dev-perl/HTML-Scrubber
+	dev-perl/HTML-Template
+	dev-perl/URI
+	dev-perl/Text-Markdown
+	dev-perl/TimeDate
+	dev-perl/YAML-LibYAML
+"
+
+RDEPEND="${DEPEND}
+	!minimal? (
+		${SUGGESTED_RDEPEND}
+		extras? (
+			${EXTRA_RDEPEND}
+		)
+	)
+"
+
+BDEPEND="test? ( ${TEST_DEPEND} )"
+
+src_prepare() {
+	default
+
+	#bug 498444 /usr/lib/plan9/lib/fortunes.index
+	addpredict "/usr/lib/plan9/lib/fortunes"
+
+	sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \
+		"${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die
+#	if use w3m ; then
+		sed -i 's,lib/w3m,libexec/w3m,' "${S}"/Makefile.PL || die
+#	else
+#		sed -i '/w3m/d' "${S}"/Makefile.PL || die
+#	fi
+}
+
+src_install() {
+	emake DESTDIR="${D}" pure_install
+	insinto /etc/ikiwiki
+	doins wikilist
+
+	#dodoc -r doc/examples
+	#docompress -x /usr/share/doc/${PF}/examples
+	dodoc -r html/.
+	dodoc CHANGELOG
+	dodoc debian/NEWS
+}