summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2018-10-08 21:13:10 +0100
committerMichał Górny <mgorny@gentoo.org>2018-10-13 22:01:00 +0200
commit2d093d9680eb011852e2d18b69485d3060db8ce5 (patch)
treee632622fcb37bed670030e65623db33be5dee119 /app-admin/syslog-summary
parentapp-admin/syslog-summary: add proxy maintainer (diff)
downloadgentoo-2d093d9680eb011852e2d18b69485d3060db8ce5.tar.gz
gentoo-2d093d9680eb011852e2d18b69485d3060db8ce5.tar.bz2
gentoo-2d093d9680eb011852e2d18b69485d3060db8ce5.zip
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@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin/syslog-summary')
-rw-r--r--app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild6
1 files 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 036c2eabffe5..d60a4946de71 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