Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/opal-utils/
Date: Wed, 02 Sep 2020 20:14:08
Message-Id: 1599077601.790b04edca7328d84698bce72a348b6d7e03dd17.gyakovlev@gentoo
1 commit: 790b04edca7328d84698bce72a348b6d7e03dd17
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 20:12:18 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 20:13:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=790b04ed
7
8 sys-apps/opal-utils: drop old
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 sys-apps/opal-utils/Manifest | 2 -
14 sys-apps/opal-utils/opal-utils-6.6.1.ebuild | 96 -----------------------------
15 sys-apps/opal-utils/opal-utils-6.6.ebuild | 96 -----------------------------
16 3 files changed, 194 deletions(-)
17
18 diff --git a/sys-apps/opal-utils/Manifest b/sys-apps/opal-utils/Manifest
19 index 8caa2c57555..e331a5e8fca 100644
20 --- a/sys-apps/opal-utils/Manifest
21 +++ b/sys-apps/opal-utils/Manifest
22 @@ -1,4 +1,2 @@
23 DIST opal-utils-6.5.2.tar.gz 2082426 BLAKE2B 20256f13f95da73bcccae670627c9786229e756183fad33ff45ecf2d91f1039c73a0f881b3ac794abad35d51b7bef0b780bd0f8260818c84a262ce7bb0c45b2e SHA512 765e568ad60f5cd7df8868eb3faea841d37c75cb14f33ab30f9419550ea146aeec0d02d622752af1e09a36e744f93be3a56fe6cbc8ac91a94effba9754a24091
24 -DIST opal-utils-6.6.1.tar.gz 2121660 BLAKE2B 29ee388e75d86cba346d48834840bde22e6c38404b1dc3544fe7a2c64d584fed95aff8755bcadfba7f3753a764a120d31daa2d8f32e4a4298b65babc44a08193 SHA512 b460de30aa76b1c2bc66b636b995e32abc8554b3a7d8ac5b71401d7f07d999d5b4ca4328a6bbaa9c7c82c237b0e6be5557c9d13f4bbba5c7f625888aaf9cb65e
25 DIST opal-utils-6.6.2.tar.gz 2121790 BLAKE2B 3f1ec80baa112ba0d01fcb9a64b45592da03addd067484ef237204fd712359c04796353f47a32ac943e0e135a580c3c5ad7a5843ee4d5259cde3cbaf1bbefcc4 SHA512 a864e4120ffac4065b89d5da7c959ac20643be42e83f4186a778355f3ea0b36cbd1e02c91b1460b6fa6550fceec9034cce096b89f840b4051d65c7f0ab70dc27
26 -DIST opal-utils-6.6.tar.gz 2119590 BLAKE2B 3c2b0b77fdaa22f075afe1d7205865b76e45e865c8799372ab61dbd272015ecb1343a32c185d6bd5fb323723a2c5aded1fead2ae0fb34ae6e97e17f5e15af6a6 SHA512 23ae61266253a5382f4d873492e89523cc26a32dfb43438e5becece88f5af4f0bc4ec756208603653f430b3382c42980a8c92dc0c1ba3e2b13831ade1eb14a27
27
28 diff --git a/sys-apps/opal-utils/opal-utils-6.6.1.ebuild b/sys-apps/opal-utils/opal-utils-6.6.1.ebuild
29 deleted file mode 100644
30 index d447870f81e..00000000000
31 --- a/sys-apps/opal-utils/opal-utils-6.6.1.ebuild
32 +++ /dev/null
33 @@ -1,96 +0,0 @@
34 -# Copyright 2019-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{6,7,8} )
40 -
41 -inherit linux-info python-any-r1 systemd toolchain-funcs
42 -
43 -DESCRIPTION="OPAL firmware utilities"
44 -HOMEPAGE="https://github.com/open-power/skiboot"
45 -SRC_URI="https://github.com/open-power/skiboot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="Apache-2.0 GPL-2+"
48 -SLOT="0"
49 -KEYWORDS="~ppc64"
50 -IUSE="doc"
51 -
52 -DEPEND=""
53 -RDEPEND="${DEPEND}"
54 -BDEPEND="doc? (
55 - $(python_gen_any_dep '
56 - dev-python/sphinx[${PYTHON_USEDEP}]
57 - dev-python/recommonmark[${PYTHON_USEDEP}]
58 - ')
59 -)"
60 -
61 -CONFIG_CHECK="~MTD_POWERNV_FLASH ~OPAL_PRD ~PPC_DT_CPU_FTRS ~SCOM_DEBUGFS"
62 -ERROR_MTD_POWERND_FLASH="CONFIG_MTD_POWERND_FLASH is required to use pflash and opal-gard"
63 -ERROR_OPAL_PRD="CONFIG_OPAL_PRD is required to run opal-prd daemon"
64 -ERROR_SCOM_DEBUGFS="CONFIG_SCOM_DEBUGFS is required to use xscom-utils"
65 -
66 -S="${WORKDIR}/skiboot-${PV}"
67 -
68 -python_check_deps() {
69 - has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" &&
70 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
71 -}
72 -
73 -pkg_setup() {
74 - linux-info_pkg_setup
75 - use doc && python-any-r1_pkg_setup
76 -}
77 -
78 -src_prepare() {
79 - default
80 - sed -i '/^CFLAGS +=/ s/-g2 -ggdb//' external/opal-prd/Makefile || die
81 - sed -i 's/-lrt -o/-lrt $(LDFLAGS) -o/' external/ffspart/rules.mk || die
82 -}
83 -
84 -src_configure() {
85 - tc-export CC LD
86 - export OPAL_PRD_VERSION="${PV}"
87 - export GARD_VERSION="${PV}"
88 - export PFLASH_VERSION="${PV}"
89 - export XSCOM_VERSION="${PV}"
90 - export FFSPART_VERSION="${PV}"
91 -}
92 -
93 -src_compile() {
94 - emake V=1 -C external/opal-prd
95 - emake V=1 -C external/gard
96 - emake V=1 -C external/pflash
97 - emake V=1 -C external/xscom-utils
98 - emake V=1 -C external/ffspart
99 -
100 - use doc && emake V=1 -C doc html
101 -}
102 -
103 -src_install() {
104 - emake -C external/opal-prd DESTDIR="${D}" prefix="${EPREFIX}/usr" install
105 - emake -C external/gard DESTDIR="${D}" prefix="${EPREFIX}/usr" install
106 - emake -C external/pflash DESTDIR="${D}" prefix="${EPREFIX}/usr" install
107 - emake -C external/xscom-utils DESTDIR="${D}" prefix="${EPREFIX}/usr" install
108 - dosbin external/ffspart/ffspart
109 -
110 - newinitd "${FILESDIR}"/opal-prd.initd opal-prd
111 - newconfd "${FILESDIR}"/opal-prd.confd opal-prd
112 -
113 - systemd_dounit external/opal-prd/opal-prd.service
114 -
115 - if use doc; then
116 - rm -r doc/_build/html/_sources || die
117 - local HTML_DOCS=( doc/_build/html/. )
118 - fi
119 - einstalldocs
120 -}
121 -
122 -src_test() {
123 - emake V=1 -C external/opal-prd test
124 - emake V=1 -C external/gard check
125 - # this test is fragile and fails because of unstable output
126 - rm external/pflash/test/tests/01-info || die
127 - emake V=1 -C external/pflash check
128 - emake V=1 -C external/ffspart check
129 -}
130
131 diff --git a/sys-apps/opal-utils/opal-utils-6.6.ebuild b/sys-apps/opal-utils/opal-utils-6.6.ebuild
132 deleted file mode 100644
133 index d447870f81e..00000000000
134 --- a/sys-apps/opal-utils/opal-utils-6.6.ebuild
135 +++ /dev/null
136 @@ -1,96 +0,0 @@
137 -# Copyright 2019-2020 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=7
141 -
142 -PYTHON_COMPAT=( python3_{6,7,8} )
143 -
144 -inherit linux-info python-any-r1 systemd toolchain-funcs
145 -
146 -DESCRIPTION="OPAL firmware utilities"
147 -HOMEPAGE="https://github.com/open-power/skiboot"
148 -SRC_URI="https://github.com/open-power/skiboot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
149 -
150 -LICENSE="Apache-2.0 GPL-2+"
151 -SLOT="0"
152 -KEYWORDS="~ppc64"
153 -IUSE="doc"
154 -
155 -DEPEND=""
156 -RDEPEND="${DEPEND}"
157 -BDEPEND="doc? (
158 - $(python_gen_any_dep '
159 - dev-python/sphinx[${PYTHON_USEDEP}]
160 - dev-python/recommonmark[${PYTHON_USEDEP}]
161 - ')
162 -)"
163 -
164 -CONFIG_CHECK="~MTD_POWERNV_FLASH ~OPAL_PRD ~PPC_DT_CPU_FTRS ~SCOM_DEBUGFS"
165 -ERROR_MTD_POWERND_FLASH="CONFIG_MTD_POWERND_FLASH is required to use pflash and opal-gard"
166 -ERROR_OPAL_PRD="CONFIG_OPAL_PRD is required to run opal-prd daemon"
167 -ERROR_SCOM_DEBUGFS="CONFIG_SCOM_DEBUGFS is required to use xscom-utils"
168 -
169 -S="${WORKDIR}/skiboot-${PV}"
170 -
171 -python_check_deps() {
172 - has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" &&
173 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
174 -}
175 -
176 -pkg_setup() {
177 - linux-info_pkg_setup
178 - use doc && python-any-r1_pkg_setup
179 -}
180 -
181 -src_prepare() {
182 - default
183 - sed -i '/^CFLAGS +=/ s/-g2 -ggdb//' external/opal-prd/Makefile || die
184 - sed -i 's/-lrt -o/-lrt $(LDFLAGS) -o/' external/ffspart/rules.mk || die
185 -}
186 -
187 -src_configure() {
188 - tc-export CC LD
189 - export OPAL_PRD_VERSION="${PV}"
190 - export GARD_VERSION="${PV}"
191 - export PFLASH_VERSION="${PV}"
192 - export XSCOM_VERSION="${PV}"
193 - export FFSPART_VERSION="${PV}"
194 -}
195 -
196 -src_compile() {
197 - emake V=1 -C external/opal-prd
198 - emake V=1 -C external/gard
199 - emake V=1 -C external/pflash
200 - emake V=1 -C external/xscom-utils
201 - emake V=1 -C external/ffspart
202 -
203 - use doc && emake V=1 -C doc html
204 -}
205 -
206 -src_install() {
207 - emake -C external/opal-prd DESTDIR="${D}" prefix="${EPREFIX}/usr" install
208 - emake -C external/gard DESTDIR="${D}" prefix="${EPREFIX}/usr" install
209 - emake -C external/pflash DESTDIR="${D}" prefix="${EPREFIX}/usr" install
210 - emake -C external/xscom-utils DESTDIR="${D}" prefix="${EPREFIX}/usr" install
211 - dosbin external/ffspart/ffspart
212 -
213 - newinitd "${FILESDIR}"/opal-prd.initd opal-prd
214 - newconfd "${FILESDIR}"/opal-prd.confd opal-prd
215 -
216 - systemd_dounit external/opal-prd/opal-prd.service
217 -
218 - if use doc; then
219 - rm -r doc/_build/html/_sources || die
220 - local HTML_DOCS=( doc/_build/html/. )
221 - fi
222 - einstalldocs
223 -}
224 -
225 -src_test() {
226 - emake V=1 -C external/opal-prd test
227 - emake V=1 -C external/gard check
228 - # this test is fragile and fails because of unstable output
229 - rm external/pflash/test/tests/01-info || die
230 - emake V=1 -C external/pflash check
231 - emake V=1 -C external/ffspart check
232 -}