From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/dirvish/
Date: Thu, 28 Dec 2017 15:07:40 +0000 (UTC)	[thread overview]
Message-ID: <1514473611.4bc2710cf60db9c37eb2e0ffa1c9b92103e64fa7.soap@gentoo> (raw)
commit:     4bc2710cf60db9c37eb2e0ffa1c9b92103e64fa7
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 14:03:32 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 15:06:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc2710c
app-backup/dirvish: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
 app-backup/dirvish/dirvish-1.2.1.ebuild | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)
diff --git a/app-backup/dirvish/dirvish-1.2.1.ebuild b/app-backup/dirvish/dirvish-1.2.1.ebuild
index 57629ae4757..13f3e8b769a 100644
--- a/app-backup/dirvish/dirvish-1.2.1.ebuild
+++ b/app-backup/dirvish/dirvish-1.2.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 DESCRIPTION="Dirvish is a fast, disk based, rotating network backup system"
 HOMEPAGE="http://www.dirvish.org/"
 SRC_URI="http://dirvish.org/${P}.tgz"
@@ -15,24 +17,29 @@ RDEPEND="dev-perl/Time-ParseDate
 	dev-perl/Time-Period
 	>=net-misc/rsync-2.5.7"
 
-src_compile() {
-	for f in dirvish dirvish-runall dirvish-expire dirvish-locate ; do
-		cat > $f  <<-EOF
+src_prepare() {
+	default
+
+	local f
+	for f in dirvish dirvish-runall dirvish-expire dirvish-locate; do
+		cat > $f  <<-EOF || die
 		#!/usr/bin/perl
 
 		\$CONFDIR = "/etc/dirvish";
 
 		EOF
-		cat $f.pl >> $f
-		cat loadconfig.pl >> $f
+		cat $f.pl >> $f || die
+		cat loadconfig.pl >> $f || die
 	done
 }
 
 src_install() {
 	dosbin dirvish dirvish-runall dirvish-expire dirvish-locate
 	doman dirvish.8 dirvish-runall.8 dirvish-expire.8 dirvish-locate.8 dirvish.conf.5
-	dohtml FAQ.html INSTALL RELEASE.html TODO.html
-	dodoc CHANGELOG
 
-	insinto /etc/dirvish; doins "${FILESDIR}"/master.conf.example
+	HTML_DOCS=( {FAQ,RELEASE,TODO}.html )
+	einstalldocs
+
+	insinto /etc/dirvish
+	doins "${FILESDIR}"/master.conf.example
 }
next             reply	other threads:[~2017-12-28 15:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28 15:07 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-19 17:11 [gentoo-commits] repo/gentoo:master commit in: app-backup/dirvish/ Sam James
2016-04-23 17:31 Andreas Hüttel
2016-03-19 22:42 Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=1514473611.4bc2710cf60db9c37eb2e0ffa1c9b92103e64fa7.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox