From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opal-utils/
Date: Wed, 3 Jul 2024 12:44:39 +0000 (UTC) [thread overview]
Message-ID: <1720010668.715c1faff56970204d829783836f3e4611064456.arthurzam@gentoo> (raw)
commit: 715c1faff56970204d829783836f3e4611064456
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 3 12:44:09 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 3 12:44:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=715c1faf
sys-apps/opal-utils: enable py3.12, py3.13, cleanup ebuild
Closes: https://bugs.gentoo.org/929816
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-apps/opal-utils/opal-utils-7.0.ebuild | 46 +++++++++++++++----------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/sys-apps/opal-utils/opal-utils-7.0.ebuild b/sys-apps/opal-utils/opal-utils-7.0.ebuild
index 231e4fdcf567..4eaec7d8ec94 100644
--- a/sys-apps/opal-utils/opal-utils-7.0.ebuild
+++ b/sys-apps/opal-utils/opal-utils-7.0.ebuild
@@ -1,38 +1,38 @@
-# Copyright 2019-2023 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit linux-info python-single-r1 systemd toolchain-funcs
DESCRIPTION="OPAL firmware utilities"
HOMEPAGE="https://github.com/open-power/skiboot"
SRC_URI="https://github.com/open-power/skiboot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/skiboot-${PV}"
LICENSE="Apache-2.0 GPL-2+"
SLOT="0"
KEYWORDS="ppc64"
IUSE="doc"
-
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-DEPEND=""
-RDEPEND="${DEPEND} ${PYTHON_DEPS}"
-
-BDEPEND="doc? ( $(python_gen_cond_dep '
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/recommonmark[${PYTHON_USEDEP}]')
-)"
+RDEPEND="${PYTHON_DEPS}"
+BDEPEND="
+ doc? (
+ $(python_gen_cond_dep '
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/recommonmark[${PYTHON_USEDEP}]'
+ )
+ )
+"
CONFIG_CHECK="~MTD_POWERNV_FLASH ~OPAL_PRD ~PPC_DT_CPU_FTRS ~SCOM_DEBUGFS"
ERROR_MTD_POWERND_FLASH="CONFIG_MTD_POWERND_FLASH is required to use pflash and opal-gard"
ERROR_OPAL_PRD="CONFIG_OPAL_PRD is required to run opal-prd daemon"
ERROR_SCOM_DEBUGFS="CONFIG_SCOM_DEBUGFS is required to use xscom-utils"
-S="${WORKDIR}/skiboot-${PV}"
-
PATCHES=(
"${FILESDIR}/flags.patch"
)
@@ -61,6 +61,17 @@ src_compile() {
use doc && emake V=1 -C doc html
}
+src_test() {
+ emake V=1 -C external/opal-prd test
+ emake V=1 -C external/gard check
+
+ # 2 test are fragile and fails because of filename path
+ rm -v external/pflash/test/tests/01-info || die
+ rm -v external/pflash/test/tests/06-miscprint || die
+ emake V=1 -C external/pflash check
+ emake V=1 -C external/ffspart check
+}
+
src_install() {
emake -C external/opal-prd DESTDIR="${D}" prefix="${EPREFIX}/usr" install
emake -C external/gard DESTDIR="${D}" prefix="${EPREFIX}/usr" install
@@ -82,14 +93,3 @@ src_install() {
fi
einstalldocs
}
-
-src_test() {
- emake V=1 -C external/opal-prd test
- emake V=1 -C external/gard check
-
- # 2 test are fragile and fails because of filename path
- rm -v external/pflash/test/tests/01-info || die
- rm -v external/pflash/test/tests/06-miscprint || die
- emake V=1 -C external/pflash check
- emake V=1 -C external/ffspart check
-}
next reply other threads:[~2024-07-03 12:44 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-03 12:44 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-19 20:22 [gentoo-commits] repo/gentoo:master commit in: sys-apps/opal-utils/ Michał Górny
2023-04-03 17:15 Georgy Yakovlev
2022-11-11 11:57 Georgy Yakovlev
2022-11-11 11:57 Georgy Yakovlev
2022-01-13 21:37 Georgy Yakovlev
2021-11-09 4:54 Georgy Yakovlev
2021-11-09 4:54 Georgy Yakovlev
2021-11-09 4:54 Georgy Yakovlev
2021-05-30 1:07 Georgy Yakovlev
2021-05-29 23:40 Georgy Yakovlev
2021-05-29 19:53 Georgy Yakovlev
2021-05-29 18:32 Georgy Yakovlev
2021-04-18 0:36 Georgy Yakovlev
2020-12-25 12:17 Sergei Trofimovich
2020-12-18 10:25 Sergei Trofimovich
2020-12-18 9:53 Sergei Trofimovich
2020-11-03 4:37 Georgy Yakovlev
2020-10-04 20:15 Georgy Yakovlev
2020-09-10 0:27 Georgy Yakovlev
2020-09-05 7:49 Georgy Yakovlev
2020-09-02 20:14 Georgy Yakovlev
2020-09-02 20:14 Georgy Yakovlev
2020-07-03 20:35 Georgy Yakovlev
2020-06-09 20:50 Georgy Yakovlev
2020-06-09 20:50 Georgy Yakovlev
2020-04-23 9:03 Georgy Yakovlev
2020-04-23 9:03 Georgy Yakovlev
2020-04-23 9:03 Georgy Yakovlev
2020-02-10 13:26 Michał Górny
2019-12-22 6:21 Georgy Yakovlev
2019-08-25 1:50 Georgy Yakovlev
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=1720010668.715c1faff56970204d829783836f3e4611064456.arthurzam@gentoo \
--to=arthurzam@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