1 |
commit: fa740e0b901f8681e40d5f8426bd383e1c116a44 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu May 20 21:31:58 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 28 22:12:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa740e0b |
7 |
|
8 |
games-misc/openmsx: remove old version |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
games-misc/openmsx/Manifest | 1 - |
15 |
.../openmsx/files/openmsx-0.3.1-python3.patch | 306 --------------------- |
16 |
games-misc/openmsx/openmsx-0.3.1-r5.ebuild | 35 --- |
17 |
3 files changed, 342 deletions(-) |
18 |
|
19 |
diff --git a/games-misc/openmsx/Manifest b/games-misc/openmsx/Manifest |
20 |
index 249ae178c07..26ae53393b9 100644 |
21 |
--- a/games-misc/openmsx/Manifest |
22 |
+++ b/games-misc/openmsx/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST openmsx-0.3.1-source.tar.gz 152798 BLAKE2B 8c6d757b708bf5af9312318d13bf99b7326ed3cf82d158c4e639e04eab5c722d76976820a6a8913cef93246225578fcbd598afde11f09cdadc47d626d977d947 SHA512 e455f99f32d1daa77157def4f109dd1456169ae2b527290035b6a52f591c13fb7464fd221e00eb46bf03f51e8d0101de08a9e47cebe2430ad05a840ab235973e |
25 |
DIST openmsx-0.4.0-source.tar.xz 114608 BLAKE2B e693b206cf350ee46b1fc5b7bf4d2a666ae7bee0fea1e2df3a29cfcfd3dbddd58d7d20d8184d6d367d377869ee5e2f970a8721cc1a1ec39babf1352a600bc759 SHA512 9a34a2f7fd9529d8b2d03f47c307a6818ecd753e8f8205c18c966d7425bf8d4a4409cd365b9d1a04d4b00d994da9e73d4270e29af3a388f48f07d3d83486e225 |
26 |
|
27 |
diff --git a/games-misc/openmsx/files/openmsx-0.3.1-python3.patch b/games-misc/openmsx/files/openmsx-0.3.1-python3.patch |
28 |
deleted file mode 100644 |
29 |
index df403e27a22..00000000000 |
30 |
--- a/games-misc/openmsx/files/openmsx-0.3.1-python3.patch |
31 |
+++ /dev/null |
32 |
@@ -1,306 +0,0 @@ |
33 |
-From 5857a22e79dc77c9b571297451dc11c4a68bc198 Mon Sep 17 00:00:00 2001 |
34 |
-From: Stefan Strogin <steils@g.o> |
35 |
-Date: Fri, 7 Feb 2020 13:15:16 +0200 |
36 |
-Subject: [PATCH] Fix: support Python 3 |
37 |
- |
38 |
-Correct tabs and spaces in scripts to make them consistent. |
39 |
-Don't call deprecated methods. |
40 |
- |
41 |
-Upstream-Status: Submitted [https://github.com/OpenTTD/OpenMSX/pull/2] |
42 |
-Signed-off-by: Stefan Strogin <steils@g.o> |
43 |
---- |
44 |
- scripts/authorlist.py | 20 ++++++++--------- |
45 |
- scripts/md5list.py | 48 ++++++++++++++++++++-------------------- |
46 |
- scripts/midifiles.py | 30 ++++++++++++------------- |
47 |
- scripts/namelist.py | 34 ++++++++++++++-------------- |
48 |
- scripts/playlist.py | 42 +++++++++++++++++------------------ |
49 |
- scripts/sanitize_list.py | 48 ++++++++++++++++++++-------------------- |
50 |
- 6 files changed, 111 insertions(+), 111 deletions(-) |
51 |
- |
52 |
-diff --git a/scripts/authorlist.py b/scripts/authorlist.py |
53 |
-index 689ddb9..e041d64 100755 |
54 |
---- a/scripts/authorlist.py |
55 |
-+++ b/scripts/authorlist.py |
56 |
-@@ -14,14 +14,14 @@ import string |
57 |
- import sys |
58 |
- |
59 |
- while 1: |
60 |
-- data = sys.stdin.readline() |
61 |
-- if data != '': |
62 |
-- # do some processing of the contents of |
63 |
-- # the data variable |
64 |
-- separate = string.split(data,";") |
65 |
-- print '%-30s %s' % (separate[1]+":", separate[2]) |
66 |
-- # end of data processing command group |
67 |
-+ data = sys.stdin.readline() |
68 |
-+ if data != '': |
69 |
-+ # do some processing of the contents of |
70 |
-+ # the data variable |
71 |
-+ separate = data.split(';') |
72 |
-+ print('%-30s %s' % (separate[1]+":", separate[2])) |
73 |
-+ # end of data processing command group |
74 |
- # sys.stdout.write(res) |
75 |
-- else: |
76 |
-- sys.stdout.flush() |
77 |
-- break |
78 |
-+ else: |
79 |
-+ sys.stdout.flush() |
80 |
-+ break |
81 |
-diff --git a/scripts/md5list.py b/scripts/md5list.py |
82 |
-index cf611fc..781052e 100755 |
83 |
---- a/scripts/md5list.py |
84 |
-+++ b/scripts/md5list.py |
85 |
-@@ -16,28 +16,28 @@ import subprocess |
86 |
- import os |
87 |
- |
88 |
- while 1: |
89 |
-- data = sys.stdin.readline() |
90 |
-- if data != '': |
91 |
-- # leave out all comment lines (lines starting with '#') |
92 |
-- comment_pos = string.find(data,'#') |
93 |
-- if comment_pos == 0: |
94 |
-- continue |
95 |
-- # separate the single entries by ';' |
96 |
-- separate = string.split(data,";") |
97 |
-- if len(separate) != 4: |
98 |
-- continue |
99 |
-- systemtype = (os.uname())[0] |
100 |
-- if systemtype == 'Linux': |
101 |
-- md5call = ["md5sum"] |
102 |
-- elif systemtype == 'Darwin': |
103 |
-- md5call = ["md5", "-r"] |
104 |
-+ data = sys.stdin.readline() |
105 |
-+ if data != '': |
106 |
-+ # leave out all comment lines (lines starting with '#') |
107 |
-+ comment_pos = data.find('#') |
108 |
-+ if comment_pos == 0: |
109 |
-+ continue |
110 |
-+ # separate the single entries by ';' |
111 |
-+ separate = data.split(';') |
112 |
-+ if len(separate) != 4: |
113 |
-+ continue |
114 |
-+ systemtype = (os.uname())[0] |
115 |
-+ if systemtype == 'Linux': |
116 |
-+ md5call = ["md5sum"] |
117 |
-+ elif systemtype == 'Darwin': |
118 |
-+ md5call = ["md5", "-r"] |
119 |
-+ else: |
120 |
-+ md5call = ["md5sum"] |
121 |
-+ md5call = md5call + ["src/"+separate[1].strip()] |
122 |
-+ md5sum = subprocess.Popen(md5call, stdout=subprocess.PIPE).communicate()[0] |
123 |
-+ md5sum = md5sum.split() |
124 |
-+ res = "%-32s = %s\n" % (separate[1], md5sum[0].decode()) |
125 |
-+ sys.stdout.write(res) |
126 |
- else: |
127 |
-- md5call = ["md5sum"] |
128 |
-- md5call = md5call + ["src/"+string.strip(separate[1])] |
129 |
-- md5sum = subprocess.Popen(md5call, stdout=subprocess.PIPE).communicate()[0] |
130 |
-- md5sum = string.split(md5sum) |
131 |
-- res = "%-32s = %s\n" % (separate[1], md5sum[0]) |
132 |
-- sys.stdout.write(res) |
133 |
-- else: |
134 |
-- sys.stdout.flush() |
135 |
-- break |
136 |
-+ sys.stdout.flush() |
137 |
-+ break |
138 |
-diff --git a/scripts/midifiles.py b/scripts/midifiles.py |
139 |
-index 3b5ec57..a89e4f2 100755 |
140 |
---- a/scripts/midifiles.py |
141 |
-+++ b/scripts/midifiles.py |
142 |
-@@ -15,18 +15,18 @@ import sys |
143 |
- |
144 |
- res = "" |
145 |
- while 1: |
146 |
-- data = sys.stdin.readline() |
147 |
-- if data != '': |
148 |
-- # leave out all comment lines (lines starting with '#') |
149 |
-- comment_pos = string.find(data,'#') |
150 |
-- if comment_pos == 0: |
151 |
-- continue |
152 |
-- # separate the single entries by ';' |
153 |
-- separate = string.split(data,";") |
154 |
-- if len(separate) != 4: |
155 |
-- continue |
156 |
-- res = res + " src/" + string.strip(separate[1]) |
157 |
-- else: |
158 |
-- sys.stdout.write(res) |
159 |
-- sys.stdout.flush() |
160 |
-- break |
161 |
-+ data = sys.stdin.readline() |
162 |
-+ if data != '': |
163 |
-+ # leave out all comment lines (lines starting with '#') |
164 |
-+ comment_pos = data.find('#') |
165 |
-+ if comment_pos == 0: |
166 |
-+ continue |
167 |
-+ # separate the single entries by ';' |
168 |
-+ separate = data.split(';') |
169 |
-+ if len(separate) != 4: |
170 |
-+ continue |
171 |
-+ res = res + " src/" + separate[1].strip() |
172 |
-+ else: |
173 |
-+ sys.stdout.write(res) |
174 |
-+ sys.stdout.flush() |
175 |
-+ break |
176 |
-diff --git a/scripts/namelist.py b/scripts/namelist.py |
177 |
-index cdac127..107ad00 100755 |
178 |
---- a/scripts/namelist.py |
179 |
-+++ b/scripts/namelist.py |
180 |
-@@ -14,23 +14,23 @@ import string |
181 |
- import sys |
182 |
- |
183 |
- while 1: |
184 |
-- data = sys.stdin.readline() |
185 |
-- if data != '': |
186 |
-- # leave out all comment lines (lines starting with '#') |
187 |
-- comment_pos = string.find(data,'#') |
188 |
-- if comment_pos == 0: |
189 |
-- continue |
190 |
-- # separate the single entries by ';' |
191 |
-- separate = string.split(data,";") |
192 |
-- if len(separate) != 4: |
193 |
-- continue |
194 |
-- res = "%-32s = %s\n" % (separate[1], string.strip(separate[3])) |
195 |
-- sys.stdout.write(res) |
196 |
-- else: |
197 |
-- sys.stdout.flush() |
198 |
-- break |
199 |
-+ data = sys.stdin.readline() |
200 |
-+ if data != '': |
201 |
-+ # leave out all comment lines (lines starting with '#') |
202 |
-+ comment_pos = data.find('#') |
203 |
-+ if comment_pos == 0: |
204 |
-+ continue |
205 |
-+ # separate the single entries by ';' |
206 |
-+ separate = data.split(';') |
207 |
-+ if len(separate) != 4: |
208 |
-+ continue |
209 |
-+ res = "%-32s = %s\n" % (separate[1], separate[3].strip()) |
210 |
-+ sys.stdout.write(res) |
211 |
-+ else: |
212 |
-+ sys.stdout.flush() |
213 |
-+ break |
214 |
- |
215 |
- def authorlist(mystr): |
216 |
-- separate = string.split() |
217 |
-+ separate = separate.split() |
218 |
- for str in separate: |
219 |
-- print string.strip(str) |
220 |
-\ No newline at end of file |
221 |
-+ print(str.strip()) |
222 |
-diff --git a/scripts/playlist.py b/scripts/playlist.py |
223 |
-index 939d03d..e77b02a 100755 |
224 |
---- a/scripts/playlist.py |
225 |
-+++ b/scripts/playlist.py |
226 |
-@@ -14,27 +14,27 @@ import string |
227 |
- import sys |
228 |
- |
229 |
- while 1: |
230 |
-- data = sys.stdin.readline() |
231 |
-- if data != '': |
232 |
-- # leave out all comment lines (lines starting with '#') |
233 |
-- comment_pos = string.find(data,'#') |
234 |
-- if comment_pos == 0: |
235 |
-- continue |
236 |
-- # separate the single entries by ';' |
237 |
-- separate = string.split(data,";") |
238 |
-- res = "" |
239 |
-- # leave out all lines which don't have the proper number of elements |
240 |
-- if len(separate) >= 1: |
241 |
-- res = string.strip(separate[0]) + " = " |
242 |
-- if len(separate) == 4: |
243 |
-- res = res + separate[1] |
244 |
-- res = res + "\n" |
245 |
-- sys.stdout.write(res) |
246 |
-- else: |
247 |
-- sys.stdout.flush() |
248 |
-- break |
249 |
-+ data = sys.stdin.readline() |
250 |
-+ if data != '': |
251 |
-+ # leave out all comment lines (lines starting with '#') |
252 |
-+ comment_pos = data.find('#') |
253 |
-+ if comment_pos == 0: |
254 |
-+ continue |
255 |
-+ # separate the single entries by ';' |
256 |
-+ separate = data.split(';') |
257 |
-+ res = "" |
258 |
-+ # leave out all lines which don't have the proper number of elements |
259 |
-+ if len(separate) >= 1: |
260 |
-+ res = separate[0].strip() + " = " |
261 |
-+ if len(separate) == 4: |
262 |
-+ res = res + separate[1] |
263 |
-+ res = res + "\n" |
264 |
-+ sys.stdout.write(res) |
265 |
-+ else: |
266 |
-+ sys.stdout.flush() |
267 |
-+ break |
268 |
- |
269 |
- def authorlist(mystr): |
270 |
-- separate = string.split() |
271 |
-+ separate = separate.split() |
272 |
- for str in separate: |
273 |
-- print string.strip(str) |
274 |
-\ No newline at end of file |
275 |
-+ print(str.strip()) |
276 |
-diff --git a/scripts/sanitize_list.py b/scripts/sanitize_list.py |
277 |
-index f97709a..5368831 100755 |
278 |
---- a/scripts/sanitize_list.py |
279 |
-+++ b/scripts/sanitize_list.py |
280 |
-@@ -14,30 +14,30 @@ import string |
281 |
- import sys |
282 |
- |
283 |
- while 1: |
284 |
-- data = sys.stdin.readline() |
285 |
-- if data != '': |
286 |
-- # leave out all comment lines (lines starting with '#') |
287 |
-- comment_pos = string.find(data,'#') |
288 |
-- if comment_pos == 0: |
289 |
-- continue |
290 |
-- # separate the single entries by ';' |
291 |
-- separate = string.split(data,";") |
292 |
-- if len(separate) != 4: |
293 |
-- continue |
294 |
-- res = "" |
295 |
-- for str in separate: |
296 |
-- if res != '': |
297 |
-- res = res + ";" + string.strip(str) |
298 |
-- else: |
299 |
-- res = string.strip(str) |
300 |
-- # end of data processing command group |
301 |
-- res = res + "\n" |
302 |
-- sys.stdout.write(res) |
303 |
-- else: |
304 |
-- sys.stdout.flush() |
305 |
-- break |
306 |
-+ data = sys.stdin.readline() |
307 |
-+ if data != '': |
308 |
-+ # leave out all comment lines (lines starting with '#') |
309 |
-+ comment_pos = data.find('#') |
310 |
-+ if comment_pos == 0: |
311 |
-+ continue |
312 |
-+ # separate the single entries by ';' |
313 |
-+ separate = data.split(';') |
314 |
-+ if len(separate) != 4: |
315 |
-+ continue |
316 |
-+ res = "" |
317 |
-+ for str in separate: |
318 |
-+ if res != '': |
319 |
-+ res = res + ";" + str.strip() |
320 |
-+ else: |
321 |
-+ res = str.strip() |
322 |
-+ # end of data processing command group |
323 |
-+ res = res + "\n" |
324 |
-+ sys.stdout.write(res) |
325 |
-+ else: |
326 |
-+ sys.stdout.flush() |
327 |
-+ break |
328 |
- |
329 |
- def authorlist(mystr): |
330 |
-- separate = string.split() |
331 |
-+ separate = separate.split() |
332 |
- for str in separate: |
333 |
-- print string.strip(str) |
334 |
-\ No newline at end of file |
335 |
-+ print(str.strip()) |
336 |
--- |
337 |
-2.27.0 |
338 |
- |
339 |
|
340 |
diff --git a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild b/games-misc/openmsx/openmsx-0.3.1-r5.ebuild |
341 |
deleted file mode 100644 |
342 |
index f6dfaa4d358..00000000000 |
343 |
--- a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild |
344 |
+++ /dev/null |
345 |
@@ -1,35 +0,0 @@ |
346 |
-# Copyright 1999-2021 Gentoo Authors |
347 |
-# Distributed under the terms of the GNU General Public License v2 |
348 |
- |
349 |
-EAPI=7 |
350 |
- |
351 |
-PYTHON_COMPAT=( python3_{7..9} ) |
352 |
- |
353 |
-inherit python-any-r1 |
354 |
- |
355 |
-DESCRIPTION="Open source music base set for OpenTTD" |
356 |
-HOMEPAGE="https://wiki.openttd.org/OpenMSX https://github.com/OpenTTD/OpenMSX" |
357 |
-SRC_URI="https://cdn.openttd.org/openmsx-releases/${PV}/${P}-source.tar.gz" |
358 |
-S="${WORKDIR}/${P}-source" |
359 |
- |
360 |
-LICENSE="GPL-2" |
361 |
-SLOT="0" |
362 |
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
363 |
- |
364 |
-BDEPEND="${PYTHON_DEPS}" |
365 |
- |
366 |
-PATCHES=( "${FILESDIR}"/${P}-python3.patch ) |
367 |
- |
368 |
-pkg_setup() { |
369 |
- python-any-r1_pkg_setup |
370 |
-} |
371 |
- |
372 |
-src_compile() { |
373 |
- emake _V= bundle |
374 |
-} |
375 |
- |
376 |
-src_install() { |
377 |
- insinto "/usr/share/games/openttd/baseset/${P}" |
378 |
- doins ${P}/{*.mid,openmsx.obm} |
379 |
- dodoc ${P}/{changelog.txt,readme.txt} |
380 |
-} |