public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/elogv/
Date: Sat, 08 Feb 2025 23:13:15 +0000 (UTC)	[thread overview]
Message-ID: <1739056384.41bec03a73a465e62f2b6883024aee9951c20a6c.sping@gentoo> (raw)

commit:     41bec03a73a465e62f2b6883024aee9951c20a6c
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 23:02:13 2025 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 23:13:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41bec03a

app-portage/elogv: 0.8.4 + Python 3.13

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 app-portage/elogv/Manifest           |  1 +
 app-portage/elogv/elogv-0.8.4.ebuild | 56 ++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/app-portage/elogv/Manifest b/app-portage/elogv/Manifest
index 914694aa721d..ec61b7d44f5f 100644
--- a/app-portage/elogv/Manifest
+++ b/app-portage/elogv/Manifest
@@ -1 +1,2 @@
 DIST elogv-0.8.3.tar.gz 27144 BLAKE2B 7c672365afb9a17e2acf76f04b4479a5a9d8a43fd1e739ac86fb00f2744ad2b2871f12e3b384d292c8f7d704af877372e201644a6354b49d38d6ec03c2437f4d SHA512 9825e530f3e2de9f84aa77afba813aaba8ce68e3fb52f7685e98099e9f5a3b828cad259d4eb273aafba9b7a14ea9e41e9c0ecf2f6efe1dfd3b81f9ea0786592b
+DIST elogv-0.8.4.tar.gz 27342 BLAKE2B 6bfc4590fc26079c396c3db440b3402355e4e473dcf2ce5378c49c8ff8fd74540994e0f26f652541af9226c5911e65b6664c6743dcc19073b12b7db46d80cf3e SHA512 b648160ae89716ac0c4595138084d0a6fe0a546a022011e0682ec1b8cdcc570994d0ff3985a52a0eb11830246a6cc230344c370ab74ae6b023e8e657753f8b20

diff --git a/app-portage/elogv/elogv-0.8.4.ebuild b/app-portage/elogv/elogv-0.8.4.ebuild
new file mode 100644
index 000000000000..f6b9c433af25
--- /dev/null
+++ b/app-portage/elogv/elogv-0.8.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..13} pypy3 )
+PYTHON_REQ_USE="ncurses"
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage"
+HOMEPAGE="https://gitweb.gentoo.org/proj/elogv.git/"
+SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+PLOCALES=( "de" "es" "it" "pl" )
+IUSE="${PLOCALES[*]/#/l10n_}"
+
+RDEPEND="sys-apps/portage[${PYTHON_USEDEP}] ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+DOCS=( README )
+
+src_install() {
+	distutils-r1_src_install
+
+	elog 'Deleting unwanted language files...'
+	for i in ${PLOCALES[@]}; do
+		if use "l10n_${i}"; then
+			# Keep and fix man page filename (bug #869905)
+			mv "${ED}"/usr/share/man/${i}/man1/${PN}.1{.${i},} || die
+		else
+			rm -r "${ED}"/usr/share/{locale,man}/"${i}" || die
+			elog "- Language \"${i}\" deleted"
+		fi
+	done
+}
+
+pkg_postinst() {
+	elog "In order to use this software, you need to activate"
+	elog "Portage's elog features.  Required is"
+	elog "		 PORTAGE_ELOG_SYSTEM=\"save\" "
+	elog "and at least one out of "
+	elog "		 PORTAGE_ELOG_CLASSES=\"warn error info log qa\""
+	elog "More information on the elog system can be found"
+	elog "in ${EPREFIX}/usr/share/portage/config/make.conf.example"
+	elog
+	elog "To operate properly this software needs the directory"
+	elog "${PORT_LOGDIR:-${EPREFIX}/var/log/portage}/elog created, belonging to group portage."
+	elog "To start the software as a user, add yourself to the portage"
+	elog "group."
+	elog
+}


             reply	other threads:[~2025-02-08 23:13 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-08 23:13 Sebastian Pipping [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-13 11:28 [gentoo-commits] repo/gentoo:master commit in: app-portage/elogv/ Arthur Zamarin
2025-04-13  8:30 Sam James
2025-04-13  8:30 Sam James
2025-04-13  8:30 Sam James
2023-11-08 12:48 Sebastian Pipping
2023-11-08  8:08 Arthur Zamarin
2023-11-07 17:09 Sam James
2023-11-07 17:09 Sam James
2023-11-07 17:09 Sam James
2023-10-12  9:47 Sam James
2023-10-06 22:14 Sebastian Pipping
2023-10-06 18:04 Sebastian Pipping
2023-10-05 18:42 Sebastian Pipping
2023-10-05 15:07 Sebastian Pipping
2023-10-05 15:07 Sebastian Pipping
2023-09-28  6:17 Sam James
2023-09-28  0:21 Sam James
2023-09-27  5:47 Sam James
2023-07-08 14:30 Sebastian Pipping
2023-04-20  5:01 Sam James
2023-04-20  4:38 Arthur Zamarin
2023-04-20  4:17 Sam James
2023-04-20  4:14 Arthur Zamarin
2022-11-28 20:37 Sebastian Pipping
2022-09-17 13:36 Sebastian Pipping
2022-05-22 16:17 Zac Medico
2022-04-30 18:08 Sebastian Pipping
2021-10-30 22:31 Georgy Yakovlev
2021-02-18 17:12 Sam James
2021-02-17 20:54 Sam James
2021-02-17 15:55 Sergei Trofimovich
2021-02-16 19:22 Sam James
2021-01-06 13:23 Fabian Groffen
2020-11-23 10:22 Sebastian Pipping
2020-10-07  9:55 Georgy Yakovlev
2020-08-21 22:05 Georgy Yakovlev
2020-07-06  0:32 Sebastian Pipping
2020-04-20  9:48 Agostino Sarubbo
2020-04-19 23:55 Sergei Trofimovich
2020-04-19 18:23 Agostino Sarubbo
2020-04-19 17:08 Agostino Sarubbo
2020-03-05 14:46 Sebastian Pipping
2019-11-30 18:59 Sebastian Pipping
2019-11-30 18:59 Sebastian Pipping
2019-11-19 19:45 Sergei Trofimovich
2019-11-19 12:48 Agostino Sarubbo
2019-11-19  7:38 Agostino Sarubbo
2019-10-13 20:29 Zac Medico
2019-10-13 20:29 Zac Medico
2018-07-08 16:36 Sebastian Pipping
2018-05-18 17:44 Sebastian Pipping
2018-05-16 18:38 Sebastian Pipping

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=1739056384.41bec03a73a465e62f2b6883024aee9951c20a6c.sping@gentoo \
    --to=sping@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