public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/syslog-summary/
Date: Sat, 13 Oct 2018 20:02:11 +0000 (UTC)	[thread overview]
Message-ID: <1539460860.2d093d9680eb011852e2d18b69485d3060db8ce5.mgorny@gentoo> (raw)

commit:     2d093d9680eb011852e2d18b69485d3060db8ce5
Author:     Paul Healy <lmiphay <AT> gmail <DOT> com>
AuthorDate: Mon Oct  8 20:13:10 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 13 20:01:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d093d96

app-admin/syslog-summary: update after review

Fixes are:

drop eutils inherit
add missing die on sed failure
use einstalldocs to install doc files

Signed-off-by: Paul Healy <lmiphay <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild b/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild
index 036c2eabffe..d60a4946de7 100644
--- a/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild
+++ b/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit eutils python-single-r1
+inherit python-single-r1
 
 DESCRIPTION="Summarizes the contents of a syslog log file"
 HOMEPAGE="https://github.com/dpaleino/syslog-summary"
@@ -24,7 +24,7 @@ RDEPEND="${PYTHON_DEPS}"
 src_prepare() {
 	python_fix_shebang -f syslog-summary
 
-	sed -i -e 's:python-magic:sys-apps/file[python]:' "syslog-summary"
+	sed -i -e 's:python-magic:sys-apps/file[python]:' "syslog-summary" || die
 
 	# Sadly, the makefile is useless for us.
 	rm Makefile || die
@@ -34,7 +34,7 @@ src_prepare() {
 
 src_install() {
 	dobin syslog-summary
-	dodoc AUTHORS ChangeLog NEWS README
+	einstalldocs
 	doman syslog-summary.1
 
 	insinto /etc/syslog-summary


             reply	other threads:[~2018-10-13 20:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-13 20:02 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-13 14:54 [gentoo-commits] repo/gentoo:master commit in: app-admin/syslog-summary/ Arthur Zamarin
2023-05-01 12:37 Sam James
2023-02-27 12:20 Andrew Ammerlaan
2022-05-31  2:55 Sam James
2020-09-23 11:07 Michał Górny
2020-09-23 10:20 Agostino Sarubbo
2020-09-20 21:52 Thomas Deutschmann
2020-09-19  7:25 Michał Górny
2020-08-31 17:16 Aaron Bauman
2019-09-15 17:17 Michał Górny
2018-10-13 20:02 Michał Górny
2018-10-13 20:02 Michał Górny
2018-10-13 20:02 Michał Górny
2017-05-02 10:29 Paweł Hajdan

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=1539460860.2d093d9680eb011852e2d18b69485d3060db8ce5.mgorny@gentoo \
    --to=mgorny@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