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/lightyears/
Date: Wed, 02 May 2018 19:28:36
Message-Id: 1525289274.7b5fd847f78e250af5054fd46701a0cf6ca9d7c2.pacho@gentoo
1 commit: 7b5fd847f78e250af5054fd46701a0cf6ca9d7c2
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 2 18:03:18 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed May 2 19:27:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5fd847
7
8 games-strategy/lightyears: Drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-strategy/lightyears/lightyears-1.4-r1.ebuild | 52 ----------------------
13 1 file changed, 52 deletions(-)
14
15 diff --git a/games-strategy/lightyears/lightyears-1.4-r1.ebuild b/games-strategy/lightyears/lightyears-1.4-r1.ebuild
16 deleted file mode 100644
17 index 2215ab7dc4a..00000000000
18 --- a/games-strategy/lightyears/lightyears-1.4-r1.ebuild
19 +++ /dev/null
20 @@ -1,52 +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 -inherit eutils python-single-r1 games
27 -
28 -DESCRIPTION="a single-player game with a science-fiction theme"
29 -HOMEPAGE="http://www.jwhitham.org/20kly/"
30 -SRC_URI="http://www.jwhitham.org/20kly/${P}.tar.bz2"
31 -
32 -LICENSE="GPL-2"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~x86"
35 -IUSE=""
36 -
37 -DEPEND="dev-python/pygame[${PYTHON_USEDEP}]
38 - ${PYTHON_DEPS}"
39 -RDEPEND=${DEPEND}
40 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
41 -
42 -src_prepare() {
43 - epatch "${FILESDIR}/${P}"-gentoo.patch
44 - sed -i \
45 - -e "s:@GENTOO_LIBDIR@:$(games_get_libdir)/${PN}:" \
46 - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
47 - ${PN} || die
48 - python_fix_shebang .
49 -}
50 -
51 -src_install() {
52 - dogamesbin ${PN}
53 -
54 - insinto "$(games_get_libdir)/${PN}"
55 - doins code/*.py
56 -
57 - dodoc README.txt
58 -
59 - insinto "${GAMES_DATADIR}/${PN}"
60 - doins -r audio data manual
61 -
62 - python_optimize "${D}$(games_get_libdir)/${PN}"
63 -
64 - newicon data/32.png ${PN}.png
65 - make_desktop_entry ${PN} "Light Years Into Space"
66 - prepgamesdirs
67 -}
68 -
69 -pkg_setup() {
70 - python-single-r1_pkg_setup
71 - games_pkg_setup
72 -}