www-apps/ikiwiki: Bump 3.20170111
authorAlice Ferrazzi <alicef@gentoo.org>
Mon, 23 Jan 2017 18:00:54 +0000 (18:00 +0000)
committerAlice Ferrazzi <alicef@gentoo.org>
Mon, 23 Jan 2017 18:01:26 +0000 (18:01 +0000)
Package-Manager: portage-2.3.0

www-apps/ikiwiki/Manifest
www-apps/ikiwiki/ikiwiki-3.20170111.ebuild [new file with mode: 0644]

index ffe9d928b171d573aab8259413d32b509eb8efeb..b4b2df11d3264f41f295625f18552356185bf0e3 100644 (file)
@@ -1 +1,2 @@
 DIST ikiwiki_3.20160905.tar.gz 3459755 SHA256 768ff65cec01747f083b474b24dd30fb17f0a4da3bfd645601eec07e719172f5 SHA512 eeb94b832991653cfa6e884a92922a7c6250adf74c2382d22f4ef8ac3cf6b30e1bd49caca932bb4ff52762d0f316cf94adcc8f7bba3f69f6b2d894caad001d27 WHIRLPOOL 8e5453e6148d0dae87ed4045fdefa90100d526083a32cde38d7f2a23ab86e6c5f7bc244f6eb24d4e77e0c263463df14a98fdbe933ca0749082e84c1fc87024ab
+DIST ikiwiki_3.20170111.tar.xz 2614240 SHA256 5f0f99a4f4a5f17046e4601d628424cb2877766b4ef9bfe1c2db1941f6f7a701 SHA512 78c2a624684bb1c34878ff008558a3967f6e7f5648878e931961695e582a40e4351b6e467c64ca42ba99cb403fd275265bd5d96ecd860ad8263043514d207ad4 WHIRLPOOL 75611e804a5a6cb2e1c83f040ba791e15a152cc267c46ea0fab58719e02f48186aaaa1ca725611978f994317f9c5c71cce490dd68b384bf399c2a96b26fd3182
diff --git a/www-apps/ikiwiki/ikiwiki-3.20170111.ebuild b/www-apps/ikiwiki/ikiwiki-3.20170111.ebuild
new file mode 100644 (file)
index 0000000..a027a8a
--- /dev/null
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="A wiki compiler"
+HOMEPAGE="http://ikiwiki.info/"
+SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="extras minimal test"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}/${PN}-${PV}
+
+#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]
+"
+
+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}
+               )
+       )
+"
+
+DEPEND="${DEPEND}
+       test? ( ${TEST_DEPEND} )"
+
+SRC_TEST=do
+
+src_prepare() {
+       #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
+
+       #insinto /usr/share/doc/${PF}/examples
+       #doins -r doc/examples/*
+       dohtml -r -A setup html/*
+       dodoc debian/{NEWS,changelog}
+}