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: <1539460854.4c8bf8521c8d4330d6300452f6dd7e536cd47761.mgorny@gentoo> (raw)

commit:     4c8bf8521c8d4330d6300452f6dd7e536cd47761
Author:     Paul Healy <lmiphay <AT> gmail <DOT> com>
AuthorDate: Thu Oct  4 18:46:00 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 13 20:00:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8bf852

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 <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../syslog-summary/syslog-summary-1.14-r2.ebuild   | 47 ++++++++++++++++++++++
 1 file changed, 47 insertions(+)

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 00000000000..036c2eabffe
--- /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"
+}


             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=1539460854.4c8bf8521c8d4330d6300452f6dd7e536cd47761.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