1 |
commit: 565df3004681a7f7d2730f6346c0d6ead515512c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 21 09:16:07 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 21 09:16:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565df300 |
7 |
|
8 |
sys-power/iasl: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-power/iasl/Manifest | 4 -- |
14 |
sys-power/iasl/iasl-20161222.ebuild | 127 ------------------------------------ |
15 |
sys-power/iasl/iasl-20171215.ebuild | 127 ------------------------------------ |
16 |
3 files changed, 258 deletions(-) |
17 |
|
18 |
diff --git a/sys-power/iasl/Manifest b/sys-power/iasl/Manifest |
19 |
index ca2c751ba29..a6c4a7b4b6e 100644 |
20 |
--- a/sys-power/iasl/Manifest |
21 |
+++ b/sys-power/iasl/Manifest |
22 |
@@ -1,10 +1,6 @@ |
23 |
DIST acpica-unix-20160729.tar.gz 1556095 BLAKE2B 2785d343d7aa0e3cce83d762bb70f8a7e76221da5d0e803eac3253b4a26dcaf852e114eadf811f387c7c040aeeb794de8cae37c47d8c29968f8cd0a0d76ed4b6 SHA512 37b0439b03e8d811c8b14d0c7c89471989227fb78b462f585c6290431afecc5b258073e568dde8dc982fa959ebce4b4d51589ea997f0066e66d4785ce185ccf2 |
24 |
-DIST acpica-unix-20161222.tar.gz 1580428 BLAKE2B dcf44d1a19b51e43ad1a74b2ba5b4bfadeb83eca584ff5a5062aff9cc4b0a65153b1590d993b7bca602e35da747683d230ea56c380afbec3308fb83fdb03908a SHA512 ff733d210b3b013970d3f3a0bea45f346ca5cf78dd61b583d30114a69c80e8272af304d14248aa34e775e19bca1c2ddbbed1b4ba5e8ba660b28621a8ca45ae31 |
25 |
-DIST acpica-unix-20171215.tar.gz 1769116 BLAKE2B f15c1202244ce5f489d80240e6c89f7fda38a3c74cf0773c4530e265876f931502571e3086aabae0082654a2085f3d6e5eeed324fd892c199a91a8837fdb19e2 SHA512 4cd3755fe28344de3259dad5209a58c9548216ecaf50a830165a0ee8993af57d4b63836904faafd5f97b1651051ee2f17a908395e0a048bab20b13395fe0d3ff |
26 |
DIST acpica-unix-20180810.tar.gz 1797634 BLAKE2B 66b1c53874a7fa898fb042d0aac6001e623bb056ef17de46fc5a8e3ee5667178c47b5d8ecec194ebd8d2b0bdf947b5c85a1874c5d11a9ba3307a85418856ebdb SHA512 f37d8e0f1393b87cbfd9c6607104b05f85386583e4e5a5bcdbd2f049c122592a53e7cd56fe7da75e93bf3a424921fbc9291e7a39e06de80e6403abe042f869cd |
27 |
DIST acpica-unix-20190215.tar.gz 1809671 BLAKE2B aff312636ff0f38e7708a251daad84689cb64abd0dd241d57063b5e229c50a3a8bd3e509c2fe9918da4ab9179b07d2207e01eb7c9f94670d0758eec73bb2714b SHA512 7a469097d82721ea55f86eeefa2a67fc6be6b3d2e0382bb830f64c7daf7d99e2bce60011fb68e54b3891939b1fed91da03de9d19c2d4020d3412656cce2c09b0 |
28 |
DIST acpitests-unix-20160729.tar.gz 1829061 BLAKE2B 8dacb39c477ff8ba8b68a3f061b74e90a128a90eb287b9febd57d6871ff0878dfe2eaf616d9881af2b0bca6c8db57d48711ad9009c6ceb1ceba321bed182a51c SHA512 bf6073092a0dfb208f1d4b13ff3a3c5335be8e1326b1e58acd41def1a402ab0d843600f616019d1dde6593db8c53c6876bd9d489360fe98c6a7bee95d9215600 |
29 |
-DIST acpitests-unix-20161222.tar.gz 1759278 BLAKE2B cb1b3ea882135e9ee87c4337df4710ac2e613b89f2606306c3ce68af049735f999ae6a37b1f75c112f0fb5f8bc5af6897bf18715f657c8dcac82a37637da2a57 SHA512 ff0435f40564a94ceb3bc6cfc11ac859a5467b650004238092d7f3e2f7d596e7eb2fb9d3c56f0860c8324d38fcbedf3c6f4bc3f0569f1148462b824c7c025408 |
30 |
-DIST acpitests-unix-20171215.tar.gz 2034932 BLAKE2B c36aaf6a8a7aadf54651f95486af918926b664069ed961993c3ee8a062a646a7bd4e40adeebe82a101a5997080b90762fa016724ed4be31af56086eb3c3b3ab9 SHA512 b405e87f18b15bd01540d32c021a7b900139abd7e698b55786ccbaf8536c5068087a8ba1e7adbb69e0954cdc6b347e9a88428f1e8f889e0e9eb3a472c11235f9 |
31 |
DIST acpitests-unix-20180810.tar.gz 2093850 BLAKE2B 519ce7807026dc11617ed9c34f294600ddae77a57a1fb76220da50da1bee56975373d583d51dfcdd81c8ccba3d5e735167b831bdb4669ab9cb2a1d9753d9261d SHA512 36c2527e8d670ccfb9a537b4944cfb8432c9638c1427e3c59f614c2ca43a66089228ecb74392301a07f266870e2d79bf0e2c671c6c7af06a4683bf97ac01ba54 |
32 |
DIST acpitests-unix-20190215.tar.gz 2094957 BLAKE2B 3a31ae398650a1dc3ac70843c43868a35501cbe0376d1d2437a3568aad1fb63b3d83270653c009885b014894c69dcfff075bbf5d18290220067bcd1804a38097 SHA512 80060a61c80b01231b10e04dd65c2ab41d42824c439152cf128328890cee39ef597dc3f5bc535db4566cb322394bfce2760e1835df781d699818049cad5a4419 |
33 |
|
34 |
diff --git a/sys-power/iasl/iasl-20161222.ebuild b/sys-power/iasl/iasl-20161222.ebuild |
35 |
deleted file mode 100644 |
36 |
index 7bc182a44ce..00000000000 |
37 |
--- a/sys-power/iasl/iasl-20161222.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,127 +0,0 @@ |
40 |
-# Copyright 1999-2017 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=6 |
44 |
- |
45 |
-inherit toolchain-funcs flag-o-matic eutils |
46 |
- |
47 |
-MY_PN=acpica-unix |
48 |
-MY_P=${MY_PN}-${PV} |
49 |
-MY_TESTS_P=${MY_PN/ca/tests}-${PV} |
50 |
-DESCRIPTION="Intel ACPI Source Language (ASL) compiler" |
51 |
-HOMEPAGE="https://www.acpica.org/downloads/" |
52 |
-SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz |
53 |
- test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )" |
54 |
- |
55 |
-LICENSE="iASL" |
56 |
-SLOT="0" |
57 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd" |
58 |
-IUSE="test" |
59 |
- |
60 |
-DEPEND="sys-devel/bison |
61 |
- sys-devel/flex" |
62 |
-RDEPEND="" |
63 |
- |
64 |
-S=${WORKDIR}/${MY_P} |
65 |
- |
66 |
-pkg_setup() { |
67 |
- if use test && has test ${FEATURES}; then |
68 |
- ewarn 'You have selected USE="test". This will install the test results' |
69 |
- ewarn "into /usr/share/${PF}/, compressed as a tarball." |
70 |
- ewarn 'The tests themselves will only rarely die, but the test results' |
71 |
- ewarn 'are interesting for arch testing. The tests may take quite some' |
72 |
- ewarn 'time to complete.' |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-PATCHES=( |
77 |
- "${FILESDIR}/${PN}-20140828-locale.patch" |
78 |
- "${FILESDIR}/${PN}-20140214-nostrip.patch" |
79 |
-) |
80 |
- |
81 |
-src_prepare() { |
82 |
- default |
83 |
- |
84 |
- find "${S}" -type f -name 'Makefile*' -print0 | \ |
85 |
- xargs -0 -I '{}' \ |
86 |
- sed -r -e 's:-\<Werror\>::g' -i '{}' \ |
87 |
- || die |
88 |
- |
89 |
- # BITS is tied to ARCH - please set appropriately if you add new keywords |
90 |
- if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then |
91 |
- export BITS=64 |
92 |
- else |
93 |
- export BITS=32 |
94 |
- fi |
95 |
-} |
96 |
- |
97 |
-src_configure() { |
98 |
- : |
99 |
-} |
100 |
- |
101 |
-src_compile() { |
102 |
- cd generate/unix || die |
103 |
- emake BITS=${BITS} |
104 |
-} |
105 |
- |
106 |
-src_test() { |
107 |
- aslts_test |
108 |
- #The aapits test currently fails, missing include probably. |
109 |
- #aapits_test |
110 |
-} |
111 |
- |
112 |
-src_install() { |
113 |
- cd generate/unix || die |
114 |
- emake install DESTDIR="${D}" BITS=${BITS} |
115 |
- default_src_install |
116 |
- #local bin |
117 |
- #for bin in $(<"${T}"/binlist) ; do |
118 |
- # dobin "${T}"/${bin} |
119 |
- #done |
120 |
- dodoc "${S}"/changes.txt |
121 |
- newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt |
122 |
- newdoc "${S}"/generate/unix/readme.txt unix-readme.txt |
123 |
- newdoc "${S}"/generate/lint/readme.txt lint-readme.txt |
124 |
- newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt |
125 |
- |
126 |
- if use test && has test ${FEATURES}; then |
127 |
- tb="${T}"/testresults.tar.bz2 |
128 |
- export ASLTSDIR="$(<"${T}"/asltdir)" |
129 |
- ebegin "Creating Test Tarball" |
130 |
- tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed" |
131 |
- eend $? |
132 |
- dodir /usr/share/${PF} |
133 |
- insinto /usr/share/${PF} |
134 |
- doins ${tb} |
135 |
- fi |
136 |
- |
137 |
-} |
138 |
- |
139 |
-aslts_test() { |
140 |
- export ASL="${S}"/generate/unix/bin/iasl \ |
141 |
- acpiexec="${S}"/generate/unix/bin/acpiexec \ |
142 |
- ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts |
143 |
- export PATH="${PATH}:${ASLTSDIR}/bin" |
144 |
- echo "$ASLTSDIR" >"${T}"/asltdir |
145 |
- cd "${ASLTSDIR}" || die |
146 |
- edos2unix $(find . -type 'f') |
147 |
- make install || die "make install aslts test failed" |
148 |
- chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed" |
149 |
- |
150 |
- #The below Do commands runs the tests twice and then dies if the results aren't |
151 |
- #Identical. |
152 |
- Do 1 || die "failed Do 1" |
153 |
- Do 2 || die "failed Do 2" |
154 |
-} |
155 |
- |
156 |
-aapits_test() { |
157 |
- mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed" |
158 |
- cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits" |
159 |
- edos2unix $(find . -type 'f') |
160 |
- chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed" |
161 |
- make || die "make in aapits failed" |
162 |
- cd asl || die "cd asl failed" |
163 |
- make || die "make in asl failed" |
164 |
- cd ../bin || die |
165 |
- ./aapitsrun || die "aapitsrun failed" |
166 |
-} |
167 |
|
168 |
diff --git a/sys-power/iasl/iasl-20171215.ebuild b/sys-power/iasl/iasl-20171215.ebuild |
169 |
deleted file mode 100644 |
170 |
index 7bc182a44ce..00000000000 |
171 |
--- a/sys-power/iasl/iasl-20171215.ebuild |
172 |
+++ /dev/null |
173 |
@@ -1,127 +0,0 @@ |
174 |
-# Copyright 1999-2017 Gentoo Foundation |
175 |
-# Distributed under the terms of the GNU General Public License v2 |
176 |
- |
177 |
-EAPI=6 |
178 |
- |
179 |
-inherit toolchain-funcs flag-o-matic eutils |
180 |
- |
181 |
-MY_PN=acpica-unix |
182 |
-MY_P=${MY_PN}-${PV} |
183 |
-MY_TESTS_P=${MY_PN/ca/tests}-${PV} |
184 |
-DESCRIPTION="Intel ACPI Source Language (ASL) compiler" |
185 |
-HOMEPAGE="https://www.acpica.org/downloads/" |
186 |
-SRC_URI="http://www.acpica.org/sites/acpica/files/${MY_P}.tar.gz |
187 |
- test? ( http://www.acpica.org/sites/acpica/files/${MY_TESTS_P}.tar.gz )" |
188 |
- |
189 |
-LICENSE="iASL" |
190 |
-SLOT="0" |
191 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-fbsd ~x86-fbsd" |
192 |
-IUSE="test" |
193 |
- |
194 |
-DEPEND="sys-devel/bison |
195 |
- sys-devel/flex" |
196 |
-RDEPEND="" |
197 |
- |
198 |
-S=${WORKDIR}/${MY_P} |
199 |
- |
200 |
-pkg_setup() { |
201 |
- if use test && has test ${FEATURES}; then |
202 |
- ewarn 'You have selected USE="test". This will install the test results' |
203 |
- ewarn "into /usr/share/${PF}/, compressed as a tarball." |
204 |
- ewarn 'The tests themselves will only rarely die, but the test results' |
205 |
- ewarn 'are interesting for arch testing. The tests may take quite some' |
206 |
- ewarn 'time to complete.' |
207 |
- fi |
208 |
-} |
209 |
- |
210 |
-PATCHES=( |
211 |
- "${FILESDIR}/${PN}-20140828-locale.patch" |
212 |
- "${FILESDIR}/${PN}-20140214-nostrip.patch" |
213 |
-) |
214 |
- |
215 |
-src_prepare() { |
216 |
- default |
217 |
- |
218 |
- find "${S}" -type f -name 'Makefile*' -print0 | \ |
219 |
- xargs -0 -I '{}' \ |
220 |
- sed -r -e 's:-\<Werror\>::g' -i '{}' \ |
221 |
- || die |
222 |
- |
223 |
- # BITS is tied to ARCH - please set appropriately if you add new keywords |
224 |
- if [[ $ARCH == @(amd64|amd64-fbsd) ]] ; then |
225 |
- export BITS=64 |
226 |
- else |
227 |
- export BITS=32 |
228 |
- fi |
229 |
-} |
230 |
- |
231 |
-src_configure() { |
232 |
- : |
233 |
-} |
234 |
- |
235 |
-src_compile() { |
236 |
- cd generate/unix || die |
237 |
- emake BITS=${BITS} |
238 |
-} |
239 |
- |
240 |
-src_test() { |
241 |
- aslts_test |
242 |
- #The aapits test currently fails, missing include probably. |
243 |
- #aapits_test |
244 |
-} |
245 |
- |
246 |
-src_install() { |
247 |
- cd generate/unix || die |
248 |
- emake install DESTDIR="${D}" BITS=${BITS} |
249 |
- default_src_install |
250 |
- #local bin |
251 |
- #for bin in $(<"${T}"/binlist) ; do |
252 |
- # dobin "${T}"/${bin} |
253 |
- #done |
254 |
- dodoc "${S}"/changes.txt |
255 |
- newdoc "${S}"/source/compiler/readme.txt compiler-readme.txt |
256 |
- newdoc "${S}"/generate/unix/readme.txt unix-readme.txt |
257 |
- newdoc "${S}"/generate/lint/readme.txt lint-readme.txt |
258 |
- newdoc "${S}"/source/compiler/new_table.txt compiler-new_table.txt |
259 |
- |
260 |
- if use test && has test ${FEATURES}; then |
261 |
- tb="${T}"/testresults.tar.bz2 |
262 |
- export ASLTSDIR="$(<"${T}"/asltdir)" |
263 |
- ebegin "Creating Test Tarball" |
264 |
- tar -cjf "${tb}" -C "${ASLTSDIR}"/tmp/RESULTS . || die "tar failed" |
265 |
- eend $? |
266 |
- dodir /usr/share/${PF} |
267 |
- insinto /usr/share/${PF} |
268 |
- doins ${tb} |
269 |
- fi |
270 |
- |
271 |
-} |
272 |
- |
273 |
-aslts_test() { |
274 |
- export ASL="${S}"/generate/unix/bin/iasl \ |
275 |
- acpiexec="${S}"/generate/unix/bin/acpiexec \ |
276 |
- ASLTSDIR="${WORKDIR}/${MY_TESTS_P}"/tests/aslts |
277 |
- export PATH="${PATH}:${ASLTSDIR}/bin" |
278 |
- echo "$ASLTSDIR" >"${T}"/asltdir |
279 |
- cd "${ASLTSDIR}" || die |
280 |
- edos2unix $(find . -type 'f') |
281 |
- make install || die "make install aslts test failed" |
282 |
- chmod +x $(find bin/ ! -regex 'ERROR_OPCODES|HOW_TO_USE|README' ) || die "chmod bin +x failed" |
283 |
- |
284 |
- #The below Do commands runs the tests twice and then dies if the results aren't |
285 |
- #Identical. |
286 |
- Do 1 || die "failed Do 1" |
287 |
- Do 2 || die "failed Do 2" |
288 |
-} |
289 |
- |
290 |
-aapits_test() { |
291 |
- mv "${WORKDIR}/${MY_TESTS_P}/tests/aapits" "${S}/tools/" || die "mv failed" |
292 |
- cd "${S}/tools/aapits" || die "cannot find ${S}/tools/aapits" |
293 |
- edos2unix $(find . -type 'f') |
294 |
- chmod +x $(find bin/ | sed -r -e '/\/[A-Z_]+$/d') || die "chmod bin +x failed" |
295 |
- make || die "make in aapits failed" |
296 |
- cd asl || die "cd asl failed" |
297 |
- make || die "make in asl failed" |
298 |
- cd ../bin || die |
299 |
- ./aapitsrun || die "aapitsrun failed" |
300 |
-} |