gentoo-ebuilds/app-admin/syslog-summary/syslog-summary-1.14-r5.ebuild
Ian Jordan e0f1a0dab7
app-admin/syslog-summary: enable py3.13
No test suite, passed runtime check.

Closes: https://bugs.gentoo.org/952171
Signed-off-by: Ian Jordan <immoloism@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41809
Closes: https://github.com/gentoo/gentoo/pull/41809
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-28 06:01:33 +01:00

43 lines
897 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit python-single-r1
DESCRIPTION="Summarizes the contents of a syslog log file"
HOMEPAGE="https://github.com/dpaleino/syslog-summary"
SRC_URI="https://github.com/dpaleino/syslog-summary/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}"
PATCHES=(
"${FILESDIR}/${P}-fix-ignore-code.patch"
"${FILESDIR}/${P}-remove-file-magic.patch"
"${FILESDIR}/${P}-py3.patch"
)
src_prepare() {
python_fix_shebang -f syslog-summary
# Sadly, the makefile is useless for us.
rm Makefile || die
default
}
src_install() {
dobin syslog-summary
einstalldocs
doman syslog-summary.1
insinto /etc/syslog-summary
doins ignore.rules
}