summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-01-22 18:06:21 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-01-22 18:06:21 +0000
commite396d33d8e0d94c0e16da8d9eef34ca04c065a55 (patch)
tree6d1881b58181b06d74ec28f7ffd93862984f7ba9 /games-strategy
parentold (diff)
downloadgentoo-2-e396d33d8e0d94c0e16da8d9eef34ca04c065a55.tar.gz
gentoo-2-e396d33d8e0d94c0e16da8d9eef34ca04c065a55.tar.bz2
gentoo-2-e396d33d8e0d94c0e16da8d9eef34ca04c065a55.zip
old
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/lightyears/ChangeLog9
-rw-r--r--games-strategy/lightyears/files/lightyears-1.3a-gentoo.patch35
-rw-r--r--games-strategy/lightyears/lightyears-1.3a.ebuild57
3 files changed, 6 insertions, 95 deletions
diff --git a/games-strategy/lightyears/ChangeLog b/games-strategy/lightyears/ChangeLog
index e8fbe1a566e1..a6794ce77d1f 100644
--- a/games-strategy/lightyears/ChangeLog
+++ b/games-strategy/lightyears/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/lightyears
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.16 2012/01/21 16:11:10 phajdan.jr Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.17 2013/01/22 18:06:20 mr_bones_ Exp $
+
+ 22 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/lightyears-1.3a-gentoo.patch, -lightyears-1.3a.ebuild:
+ old
21 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> lightyears-1.4.ebuild:
x86 stable wrt bug #398607
@@ -62,4 +66,3 @@
+files/lightyears-1.2a-gentoo.patch, +metadata.xml,
+lightyears-1.2a.ebuild:
New package, Bug #130485 by Alexandru Toma
-
diff --git a/games-strategy/lightyears/files/lightyears-1.3a-gentoo.patch b/games-strategy/lightyears/files/lightyears-1.3a-gentoo.patch
deleted file mode 100644
index 4c38e878914c..000000000000
--- a/games-strategy/lightyears/files/lightyears-1.3a-gentoo.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- lightyears.old 2008-11-03 20:16:40.000000000 +0100
-+++ lightyears 2008-11-03 20:18:40.000000000 +0100
-@@ -1,28 +1,16 @@
- #!/usr/bin/python
-
- # Set the location of the LightYears .py files here:
--LIGHTYEARS_DIR = "/usr/share/games/lightyears"
-
- # Save games and configuration files are stored in the user's
- # home directory.
-
--
- if ( __name__ == "__main__" ):
- import sys, os
-
-- if (( LIGHTYEARS_DIR == None )
-- or ( not os.path.exists(LIGHTYEARS_DIR) )):
-- # Try current directory
-- LIGHTYEARS_DIR = os.path.abspath(
-- os.path.dirname(sys.argv[ 0 ]))
--
-- sys.path.insert(0, os.path.join(LIGHTYEARS_DIR, 'code'))
--
-- try:
-- import startup
-- except:
-- print "Unable to find LightYears code in", LIGHTYEARS_DIR
-- sys.exit(1)
-+ sys.path.insert(0, "@GENTOO_LIBDIR@")
-+
-+ import startup
-
-- startup.Main(os.path.join(LIGHTYEARS_DIR, 'data'))
-+ startup.Main("@GENTOO_DATADIR@/data")
-
diff --git a/games-strategy/lightyears/lightyears-1.3a.ebuild b/games-strategy/lightyears/lightyears-1.3a.ebuild
deleted file mode 100644
index 00c984a5588b..000000000000
--- a/games-strategy/lightyears/lightyears-1.3a.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/lightyears-1.3a.ebuild,v 1.7 2011/04/25 20:36:38 arfrever Exp $
-
-EAPI=3
-PYTHON_DEPEND="2"
-inherit eutils python games
-
-DESCRIPTION="a single-player game with a science-fiction theme"
-HOMEPAGE="http://www.jwhitham.org.uk/20kly/"
-SRC_URI="${HOMEPAGE}${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="dev-python/pygame"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}"-gentoo.patch
- sed -i \
- -e "s:@GENTOO_LIBDIR@:$(games_get_libdir)/${PN}:" \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
- ${PN} || die "Changing library path failed"
- python_convert_shebangs -r 2 .
-}
-
-src_install() {
- dogamesbin ${PN} || die "dogamesbin failed"
-
- insinto "$(games_get_libdir)/${PN}"
- doins code/*.py || die "doins code failed"
-
- dodoc README.txt
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r audio data manual || die "doins data failed"
-
- newicon data/32.png ${PN}.png
- make_desktop_entry ${PN} "Light Years Into Space"
- prepgamesdirs
-}
-
-pkg_setup() {
- python_set_active_version 2
- games_pkg_setup
-}
-
-pkg_postinst() {
- python_mod_optimize "$(games_get_libdir)/${PN}"
- games_pkg_postinst
-}
-
-pkg_postrm() {
- python_mod_cleanup "$(games_get_libdir)/${PN}"
-}