summaryrefslogtreecommitdiff
path: root/app-portage
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/Manifest.gzbin9737 -> 9737 bytes
-rw-r--r--app-portage/elogv/Manifest1
-rw-r--r--app-portage/elogv/elogv-0.7.9-r2.ebuild56
3 files changed, 57 insertions, 0 deletions
diff --git a/app-portage/Manifest.gz b/app-portage/Manifest.gz
index 3d79f57fda7b..24170b6c4c6a 100644
--- a/app-portage/Manifest.gz
+++ b/app-portage/Manifest.gz
Binary files differ
diff --git a/app-portage/elogv/Manifest b/app-portage/elogv/Manifest
index 383dfc7dd45d..7b616e1e6ab2 100644
--- a/app-portage/elogv/Manifest
+++ b/app-portage/elogv/Manifest
@@ -1,4 +1,5 @@
DIST elogv-0.7.9.tar.gz 19556 BLAKE2B 5d5f1a4adab09cf8b56ca3433b2a1cd0d3572345ff92f34b6b3ad175178161c36531bf9211563f4ad18191c6ff99c2cdcf9c3d188eca293a1698157e0a9f04a2 SHA512 703d1e8f55f5ee17a393f3a331ee38ef1d4e4c918c316055d5e2297b96dbe7de0ca6df864f462520f2087ed1a7bb7f43db56bfd3864a865d349516694522a686
EBUILD elogv-0.7.9-r1.ebuild 1714 BLAKE2B 42d91d41ada01e03e8c20a0ad32fe01fd6307dcc894f3f3ec67046298109e08fbed0f6dfa0e07b5bcb5473f051eb08fca742ad7d04c44c5f4e00dfb31a9e35af SHA512 2f6ff9a3561fef80ea947f9169c974d3fc41f295f74dce73ea56fd0b6ca29a416294a1082e3b5b59f2bd76dcdcae0599f6140c6b60b17e8651a5f1e5d6de3833
+EBUILD elogv-0.7.9-r2.ebuild 1733 BLAKE2B df9799120040e35e5e26a60142d01768dde9cf3da72904e901967b09964469387e7d3dbbfcebbe473f8e76fa4b6c808cdc4f246f36f9752400e85b88abb49cb8 SHA512 85c03fc542e0301d242c73938ec232c5f8513d640854d100c02ed9347dc9835a6d8ccee266c8fb9e337fe27c88d503a575e098b7d753230812a1d71a34f5ad0e
EBUILD elogv-0.7.9.ebuild 1611 BLAKE2B 6935670ca36d1b8d69e853b092324ad20c37d0bb9f348d6e35b036251b7d644db14d04b40b761cd01d250bc75931b5405a615349e7aaac71b8b2c54984972faa SHA512 a6393159b864e0c85a312766abc7f933490c0e2446b33f991f251899e0d2f16c7574d0904e4f57a04c2e48cc1ae43c04a6c70a6d0442c972465c666ad0bc2602
MISC metadata.xml 470 BLAKE2B 8929c8c694be9a3296adfdb126acc0505333cb9b780a6ede783b18046f45d90a75039fd02742b53982a67e10912fc091528a75775aae08aa725a16c9df37ab01 SHA512 16782cd7c0f06ab11b81ab3c3850b6084bcaf160e2e0e383f3a0cfa9737f73a9ad3f2532b1b3c779c7eea746aaadd2e360f6e2b57baace74f5a18e4ca266ef17
diff --git a/app-portage/elogv/elogv-0.7.9-r2.ebuild b/app-portage/elogv/elogv-0.7.9-r2.ebuild
new file mode 100644
index 000000000000..38adcab927ba
--- /dev/null
+++ b/app-portage/elogv/elogv-0.7.9-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+PLOCALES=( "de" "es" "it" "pl" )
+IUSE="${PLOCALES[*]/#/l10n_}"
+
+RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
+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
+}