--- ikiwiki-3.20130904.1.ebuild 2014-01-27 17:22:43.153015634 +0900 +++ ikiwiki-9999.ebuild 2014-01-27 17:33:17.093019980 +0900 @@ -1,14 +1,17 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/ikiwiki/ikiwiki-3.20130904.1.ebuild,v 1.2 2013/12/23 15:48:37 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/ikiwiki/ikiwiki-3.20121212.ebuild,v 1.1 2012/12/27 20:20:00 tove Exp $ EAPI=5 -inherit perl-module +inherit eutils perl-module +[[ ${PV} = 9999 ]] && inherit git-2 + +EGIT_REPO_URI="git://git.ikiwiki.info/ikiwiki.git" DESCRIPTION="A wiki compiler" HOMEPAGE="http://ikiwiki.info/" -SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.gz" +[[ ${PV} = 9999 ]] || SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -47,7 +50,19 @@ SUGGESTED_RDEPEND=" media-gfx/imagemagick[perl] " -TEST_DEPEND="dev-perl/File-chdir" +TEST_DEPEND=" + dev-perl/File-chdir + dev-perl/File-ReadBackwards + dev-perl/File-MimeInfo + dev-perl/Net-OpenID-Consumer + dev-perl/HTML-LinkExtractor + dev-perl/HTML-Tree + dev-perl/XML-Twig + dev-perl/XML-Feed + dev-perl/RPC-XML + dev-vcs/cvs[server] + dev-vcs/cvsps +" DEPEND=" >=dev-lang/perl-5.10 @@ -76,6 +91,7 @@ DEPEND="${DEPEND} SRC_TEST=do src_prepare() { + addpredict "/usr/lib/plan9/lib/fortunes" #bug 498444 /usr/lib/plan9/lib/fortunes.index sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \ "${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die # if use w3m ; then