1 |
commit: cebd7c2c8292a57d1b86b6f6d82c7e2546b66f75 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 17:23:11 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 17:23:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebd7c2c |
7 |
|
8 |
games-arcade/whichwayisup: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
.../whichwayisup/whichwayisup-0.7.9-r2.ebuild | 59 ---------------------- |
14 |
1 file changed, 59 deletions(-) |
15 |
|
16 |
diff --git a/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 84964d15a79..00000000000 |
19 |
--- a/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,59 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
- |
28 |
-inherit desktop python-single-r1 |
29 |
- |
30 |
-MY_PV="${PV//./}" |
31 |
-MY_P="${PN}_b${MY_PV}" |
32 |
- |
33 |
-DESCRIPTION="A traditional and challenging 2D platformer game with a slight rotational twist" |
34 |
-HOMEPAGE="http://hectigo.net/puskutraktori/whichwayisup/" |
35 |
-SRC_URI="http://hectigo.net/puskutraktori/whichwayisup/${MY_P}.zip" |
36 |
- |
37 |
-LICENSE="GPL-2 CC-BY-3.0" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~x86" |
40 |
- |
41 |
-IUSE="" |
42 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
43 |
- |
44 |
-RDEPEND="${PYTHON_DEPS} |
45 |
- dev-python/pygame[${PYTHON_USEDEP}] |
46 |
-" |
47 |
-DEPEND="${RDEPEND} |
48 |
- app-arch/unzip |
49 |
-" |
50 |
- |
51 |
-S="${WORKDIR}/${PN}" |
52 |
- |
53 |
-src_prepare() { |
54 |
- default |
55 |
- sed -i \ |
56 |
- -e "s:libdir\ =\ .*:libdir\ =\ \"/usr/$(get_libdir)/${PN}\":" \ |
57 |
- run_game.py || die |
58 |
- sed -i \ |
59 |
- -e "s:data_dir\ =\ .*:data_dir\ =\ \"/usr/share/${PN}\":" \ |
60 |
- lib/data.py || die |
61 |
- rm data/pictures/Thumbs.db |
62 |
- python_fix_shebang . |
63 |
-} |
64 |
- |
65 |
-src_install() { |
66 |
- newbin run_game.py ${PN} |
67 |
- |
68 |
- insinto "/usr/$(get_libdir)/${PN}" |
69 |
- doins lib/*.py |
70 |
- |
71 |
- python_optimize "${ED}/usr/$(get_libdir)/${PN}" |
72 |
- |
73 |
- einstalldocs |
74 |
- |
75 |
- insinto "/usr/share/${PN}" |
76 |
- doins -r data/* |
77 |
- |
78 |
- newicon "${FILESDIR}"/${PN}-32.xpm ${PN}.xpm |
79 |
- make_desktop_entry ${PN} "Which Way Is Up?" |
80 |
-} |