diff options
Diffstat (limited to 'sys-apps/opal-utils')
-rw-r--r-- | sys-apps/opal-utils/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/opal-utils/opal-utils-7.0.ebuild | 46 |
2 files changed, 24 insertions, 24 deletions
diff --git a/sys-apps/opal-utils/Manifest b/sys-apps/opal-utils/Manifest index 1020c77faec3..427286a14d9f 100644 --- a/sys-apps/opal-utils/Manifest +++ b/sys-apps/opal-utils/Manifest @@ -2,5 +2,5 @@ AUX flags.patch 1057 BLAKE2B 4b601dff49cfe1d82cc32b2fbb0c32922e9f049e010d1403b89 AUX opal-prd.confd 99 BLAKE2B 105ccd9e2d6d7d51ffc1a82b3fa174ae61ea4e945f679f82460f84bbf2036f4f7f3da2f8d9c66807a275aa98778d824f8ba5d50d1e5349fd17adbee032816290 SHA512 387ec1d00afeaf7c44e4ee5c7e6a3959e1465b7a8a9a121bf470105c23df1f906f23cedbd1006bed250f50a3c3a77f9f40ea62bafa6d6397dda2152c9dedda06 AUX opal-prd.initd 480 BLAKE2B 895440e30d5a136a717462f8890b3123ca4e31b75f1443f95020e98bf92b0a82f7c0536f828956ea5705c090bb598ab7d48f60653da0eab9bd904e234264ee9e SHA512 9a850a840697bcfeb272dffdabc80be321768fee91808562650d4162555212ce4c6639fd58832979fb710c2f2c78e7835dd99b435b22a64cae9810085d93f459 DIST opal-utils-7.0.tar.gz 5418069 BLAKE2B 86ad4c1a3000753b0bd48f0cf50e9a91eeff8c2a420a6339e4359a5ce6a35954120d7fe7caff64def83bb06e96c602d099fb1fc8e5b580adb67c48a09fb9d7a8 SHA512 72198f0d1bb0d09cb74fe4656421a73ec1a604ec6fa0965bd82e56819a2d41a1a6588f8a8cc7eb507d73ef401f8557901a5305c844fbfc9f27534c7b2e2e9db3 -EBUILD opal-utils-7.0.ebuild 2535 BLAKE2B 97df576582867b0bb86f4d84a23142f8011e7c8d22a103450e38981f35204aae6acb35412b75bec07a7e365858cac7b0e14bb9d3cc18ea92a47dffb5b01adca2 SHA512 24df36784ce31da40b4ac94fb0a21045bcbd97325e71fa60090ddfcaa2fa6bd8e3460c2272814ab1706fda6f6f71d95562454d89c8e271a731c7b0166e1728a6 +EBUILD opal-utils-7.0.ebuild 2526 BLAKE2B eadf9c69658e6299fa208088e90ae178f86cc8fe18a4acb0fc133365167a7662cffcbe3080143de28fb70f7eab2739a1b067a6655ae60f8736f38b4c05c948e4 SHA512 50316a3cc7a19bb1a23661ecadf61d416de5983be1d1f2be87bad813abf0baa5096da28bda77aaa524b3739de6a63e3915562f8be9c9177cb0ba5e9eb9434bfd MISC metadata.xml 981 BLAKE2B 8603828b67e02e765d315410b56d2ba4a363d18f8a2ab5284a24c819d8216c8448cb32f6256c1503044ccf31b4bb96ce2e2e8390c69c269f317ed97be687e019 SHA512 d497aca71119869be930849d1265ce6b2241001f0dee74a5b703ecca2427da6ef09970138fe7e2c2f032e0599320b8a3e9e77fa718983027b900ebbac86f8a8b 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 -} |