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, 30 Apr 2022 18:08:18 +0000 (UTC) [thread overview]
Message-ID: <1651342047.b08bf08f317dc8202752b259c73f32fbfc781cd9.sping@gentoo> (raw)
commit: b08bf08f317dc8202752b259c73f32fbfc781cd9
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 30 18:05:03 2022 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Apr 30 18:07:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08bf08f
app-portage/elogv: Improve LINGUAS cleanup code
Closes: https://bugs.gentoo.org/839207
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
app-portage/elogv/elogv-0.7.9-r1.ebuild | 56 +++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/app-portage/elogv/elogv-0.7.9-r1.ebuild b/app-portage/elogv/elogv-0.7.9-r1.ebuild
new file mode 100644
index 000000000000..5f0a98be9ddf
--- /dev/null
+++ b/app-portage/elogv/elogv-0.7.9-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
+PYTHON_REQ_USE="ncurses"
+DISTUTILS_USE_SETUPTOOLS=no
+
+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"
+
+RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+DOCS=( README )
+
+src_install() {
+ distutils-r1_src_install
+
+ # unset LINGUAS => install all languages
+ # empty LINGUAS => install none
+ local i
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ elog 'Deleting unwanted language files...'
+ for i in $(cd "${ED}"/usr/share/locale/ && ls -1) ; do
+ if ! has "${i}" "${LINGUAS}" ; then
+ rm -rf "${ED}"/usr/share/{locale,man}/"${i}"
+ elog "- Language \"${i}\" deleted"
+ fi
+ done
+ fi
+}
+
+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
+}
next reply other threads:[~2022-04-30 18:08 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-30 18:08 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-08 23:13 [gentoo-commits] repo/gentoo:master commit in: app-portage/elogv/ Sebastian Pipping
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
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=1651342047.b08bf08f317dc8202752b259c73f32fbfc781cd9.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