diff options
author | Paul Healy <lmiphay@gmail.com> | 2018-10-04 19:46:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-13 22:00:54 +0200 |
commit | 4c8bf8521c8d4330d6300452f6dd7e536cd47761 (patch) | |
tree | b189a1138046b25d8b31b368d41c17c78503f468 /app-admin | |
parent | app-editors/bvi-1.4.0: version bump (diff) | |
download | gentoo-4c8bf8521c8d4330d6300452f6dd7e536cd47761.tar.gz gentoo-4c8bf8521c8d4330d6300452f6dd7e536cd47761.tar.bz2 gentoo-4c8bf8521c8d4330d6300452f6dd7e536cd47761.zip |
app-admin/syslog-summary: suggest sys-apps/file
Also:
EAPI 6
Dropped stable keywords
Closes: https://bugs.gentoo.org/472884
Signed-off-by: Paul Healy <lmiphay@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 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 new file mode 100644 index 000000000000..036c2eabffe5 --- /dev/null +++ b/app-admin/syslog-summary/syslog-summary-1.14-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="Summarizes the contents of a syslog log file" +HOMEPAGE="https://github.com/dpaleino/syslog-summary" +SRC_URI="mirror://github/dpaleino/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="" +RDEPEND="${PYTHON_DEPS}" + +src_prepare() { + python_fix_shebang -f syslog-summary + + sed -i -e 's:python-magic:sys-apps/file[python]:' "syslog-summary" + + # Sadly, the makefile is useless for us. + rm Makefile || die + + eapply_user +} + +src_install() { + dobin syslog-summary + dodoc AUTHORS ChangeLog NEWS README + doman syslog-summary.1 + + insinto /etc/syslog-summary + doins ignore.rules +} + +pkg_postinst() { + elog "install sys-apps/file[python] to enable processing" + elog "of gzip compressed logfiles" +} |