summaryrefslogtreecommitdiff
path: root/app-portage
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-07 00:08:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-07 00:08:01 +0100
commit941687623283212199cbe6e36f7d61b89d6222b2 (patch)
treeba7fb5198fd46b0b501a9c4362be2c26738408ad /app-portage
parent44cec61076bf2bbb3cea1fc89943dd6818a5acc5 (diff)
gentoo auto-resync : 07:06:2024 - 00:08:01
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/Manifest.gzbin9594 -> 9589 bytes
-rw-r--r--app-portage/elogviewer/Manifest3
-rw-r--r--app-portage/elogviewer/elogviewer-3.2-r1.ebuild75
-rw-r--r--app-portage/elogviewer/elogviewer-3.2.ebuild26
4 files changed, 95 insertions, 9 deletions
diff --git a/app-portage/Manifest.gz b/app-portage/Manifest.gz
index a567a1b3b903..d1ae455e7507 100644
--- a/app-portage/Manifest.gz
+++ b/app-portage/Manifest.gz
Binary files differ
diff --git a/app-portage/elogviewer/Manifest b/app-portage/elogviewer/Manifest
index 42eb00d9b9ce..5cacf7cc7bfe 100644
--- a/app-portage/elogviewer/Manifest
+++ b/app-portage/elogviewer/Manifest
@@ -1,3 +1,4 @@
DIST elogviewer-3.2.tar.gz 29046 BLAKE2B a880fde71df3c688572c33abbc163f3ac10a53c672b01b3139d02effa5e59a05f7ae1df35a4505b1a48d7a0cb6166a21b18d1d969e1eaebab03e3620298d4f38 SHA512 2503482f14e21c7b6f69ac0d6305c7c126fa3ac944b68acef7edec0c464d2e45bc2dc348f8d38033dbc276afc132d75863c737e222f66ad5ebe870b30fec2f39
-EBUILD elogviewer-3.2.ebuild 1680 BLAKE2B cad68e28a294853e09f6572df1214be999b9d288eb97b40a724e3a19477b1dafd607217fd2dfefab00cef8dd0dc8c3d414f7555181e957ce5de42341b92ba926 SHA512 45556fe9fd86bd048503a1a71011d2389964ce82bc32550c4c61aba0830908019452c3df520e56455e6bf27fda983a4692c4130dd1306b2b18894d0f667b5e6c
+EBUILD elogviewer-3.2-r1.ebuild 1841 BLAKE2B 3226814b4342192b56ee2988b62742b61da7bd67f78c442fe01d0bf9b03f0fd119f227a6a85c8fc64fee450f29d8ddbcf88abcb92bfa067bbf94f0fc88effafb SHA512 f0f32d6930abbfebcd215334c93b61cada54ecdb82e406c627188590ccf959fb3700da6da3d38e469f92eed61d69d501d1a8a7e83bb851bb6887306c7ff6f1e9
+EBUILD elogviewer-3.2.ebuild 1839 BLAKE2B e120b6ee4acb4dd5da1c5012e26fe48651ba9d67bc29cdc77f3af2829cc382a5a32a0a711448af93771ebc5a3401509a1222d26037a38bfd1251d6301e3f3238 SHA512 54e5074c9950df5aed2b90063604d2fc2fedeaf6f4ce15376c4f501d8513b62ba15ff29085f0d86471a80e97d1019d0979d9016a073d1c94ccfb579dc1480082
MISC metadata.xml 403 BLAKE2B 328a31cd1131b83154bf313dd3f32fe5038ab96f9239d9e15b5ca650d2932203ff1dce0ba547faa6ca20afdf30734fa810e46521c77911b2015c1a88e4223e27 SHA512 e400ef090331518b4c12a5daf2962595f894cb5c54665a47f61232b2687b796849c6ec13d6c9c2c8402b8c19cbd052b9c6984cc29ef2c67561a977ce07075d02
diff --git a/app-portage/elogviewer/elogviewer-3.2-r1.ebuild b/app-portage/elogviewer/elogviewer-3.2-r1.ebuild
new file mode 100644
index 000000000000..327373e9f778
--- /dev/null
+++ b/app-portage/elogviewer/elogviewer-3.2-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+DISABLE_AUTOFORMATTING=true
+
+inherit desktop python-single-r1 readme.gentoo-r1 virtualx
+
+DESCRIPTION="Elog viewer for Gentoo"
+HOMEPAGE="https://github.com/Synss/elogviewer"
+SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+ >=sys-apps/portage-2.1[${PYTHON_USEDEP}]
+ ')
+"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ $(python_gen_cond_dep '
+ dev-python/pyfakefs[${PYTHON_USEDEP}]
+ dev-python/pytest-qt[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+DOC_CONTENTS="In order to use this software, you need to activate
+Portage's elog features. Required is
+ PORTAGE_ELOG_SYSTEM=\"save\"
+and at least one of
+ PORTAGE_ELOG_CLASSES=\"warn error info log qa\"
+More information on the elog system can be found in
+/usr/share/portage/config/make.conf.example
+
+To operate properly this software needs the directory
+${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage.
+To start the software as a user, add yourself to the portage group."
+
+src_compile() {
+ rm -f Makefile
+}
+
+src_test() {
+ export PYTEST_QT_API=pyqt5
+ virtx epytest
+}
+
+src_install() {
+ python_newscript elogviewer.py elogviewer
+
+ make_desktop_entry ${PN} ${PN} ${PN} System
+
+ doman elogviewer.1
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+
+ ewarn "The elogviewer's configuration file is now saved in:"
+ ewarn "~/.config/elogviewer/ (was ~/.config/Mathias\ Laurin/)."
+ ewarn "Please migrate any user specific settings to the new config file."
+}
diff --git a/app-portage/elogviewer/elogviewer-3.2.ebuild b/app-portage/elogviewer/elogviewer-3.2.ebuild
index 1c6330793153..9c0c03238ea1 100644
--- a/app-portage/elogviewer/elogviewer-3.2.ebuild
+++ b/app-portage/elogviewer/elogviewer-3.2.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISABLE_AUTOFORMATTING=true
-inherit desktop python-single-r1 readme.gentoo-r1
+inherit desktop python-single-r1 readme.gentoo-r1 virtualx
DESCRIPTION="Elog viewer for Gentoo"
HOMEPAGE="https://github.com/Synss/elogviewer"
@@ -16,8 +16,9 @@ SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc ~riscv x86"
-IUSE=""
+IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep '
@@ -25,10 +26,14 @@ RDEPEND="${PYTHON_DEPS}
>=sys-apps/portage-2.1[${PYTHON_USEDEP}]
')
"
-DEPEND="${RDEPEND}
- $(python_gen_cond_dep '
- dev-python/setuptools[${PYTHON_USEDEP}]
- ')
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ $(python_gen_cond_dep '
+ dev-python/pyfakefs[${PYTHON_USEDEP}]
+ dev-python/pytest-qt[${PYTHON_USEDEP}]
+ ')
+ )
"
DOC_CONTENTS="In order to use this software, you need to activate
@@ -47,6 +52,11 @@ src_compile() {
rm -f Makefile
}
+src_test() {
+ export PYTEST_QT_API=pyqt5
+ virtx epytest
+}
+
src_install() {
python_newscript elogviewer.py elogviewer