Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/outerspace/
Date: Wed, 02 May 2018 19:28:43
Message-Id: 1525289291.e410cf0a616560a25510f646d2a337a967fc1778.pacho@gentoo
1 commit: e410cf0a616560a25510f646d2a337a967fc1778
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 2 18:56:23 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed May 2 19:28:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e410cf0a
7
8 games-strategy/outerspace: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-strategy/outerspace/outerspace-0.5.68.ebuild | 80 ----------------------
13 1 file changed, 80 deletions(-)
14
15 diff --git a/games-strategy/outerspace/outerspace-0.5.68.ebuild b/games-strategy/outerspace/outerspace-0.5.68.ebuild
16 deleted file mode 100644
17 index 1fcc38fc07a..00000000000
18 --- a/games-strategy/outerspace/outerspace-0.5.68.ebuild
19 +++ /dev/null
20 @@ -1,80 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -PYTHON_COMPAT=( python2_7 )
26 -
27 -inherit eutils gnome2-utils distutils-r1 games
28 -
29 -MY_PN=${PN/outerspace/Outer Space}
30 -DESCRIPTION="on-line strategy game taking place in the dangerous universe"
31 -HOMEPAGE="http://www.ospace.net/"
32 -SRC_URI="mirror://sourceforge/ospace/Client/${PV}/Outer%20Space-${PV}.tar.gz -> ${P}.tar.gz
33 - mirror://sourceforge/ospace/Client/${PV}/outerspace_${PV}-0ubuntu1_all.deb"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -KEYWORDS="~amd64 ~x86"
38 -IUSE=""
39 -
40 -RDEPEND=">=dev-python/pygame-1.7"
41 -
42 -S=${WORKDIR}/${MY_PN}-${PV}
43 -
44 -src_unpack() {
45 - default
46 - unpack ./data.tar.gz
47 -}
48 -
49 -python_install() {
50 - distutils-r1_python_install \
51 - --install-scripts="${GAMES_BINDIR}" \
52 - --install-data="${GAMES_DATADIR}/${PN}" \
53 - --install-lib="$(python_get_sitedir)"
54 -
55 - # source tarball is missing files
56 - # get them from ubuntu.deb
57 - insinto "$(python_get_sitedir)"/ige/ospace/Rules
58 - doins "${WORKDIR}"/usr/share/games/outerspace/libsrvr/ige/ospace/Rules/{Tech,techs}.spf
59 -}
60 -
61 -src_prepare() {
62 - # fix setup script
63 - # rework python start script to avoid shell-wrapper script
64 - epatch "${FILESDIR}"/${P}-setup.patch
65 -
66 - sed -i\
67 - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
68 - osc.py || die "sed failed"
69 -
70 - distutils-r1_src_prepare
71 -}
72 -
73 -src_compile() {
74 - distutils-r1_src_compile
75 -}
76 -
77 -src_install() {
78 - distutils-r1_src_install
79 - newicon -s 48 res/icon48.png ${PN}.png
80 - make_desktop_entry "osc.py" "${MY_PN}"
81 - prepgamesdirs
82 -}
83 -
84 -pkg_preinst() {
85 - games_pkg_preinst
86 - gnome2_icon_savelist
87 -}
88 -
89 -pkg_postinst() {
90 - games_pkg_postinst
91 - gnome2_icon_cache_update
92 -
93 - einfo
94 - einfo "start the game via 'osc.py'"
95 - einfo
96 -}
97 -
98 -pkg_postrm() {
99 - gnome2_icon_cache_update
100 -}