--- /dev/null
+# ChangeLog for games-strategy/lightyears
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.1 2007/04/27 20:57:33 tupone Exp $
+
+*lightyears-1.2a (27 Apr 2007)
+
+ 27 Apr 2007; Tupone Alfredo <tupone@gentoo.org>
+ +files/lightyears-1.2a-gentoo.patch, +metadata.xml,
+ +lightyears-1.2a.ebuild:
+ New package, Bug #130485 by Alexandru Toma
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX lightyears-1.2a-gentoo.patch 707 RMD160 66f1641c32bccaf6e1b248ff55a3779224bb50ac SHA1 f459270d67229948b0a093db800000fc59ca9b89 SHA256 c0fb98009928b5ea4b2d83ddc5b21ad12c7700f0b23ae7fd80a5a80a0b15a297
+MD5 2b7ade1851ad91f9326a477bed95911c files/lightyears-1.2a-gentoo.patch 707
+RMD160 66f1641c32bccaf6e1b248ff55a3779224bb50ac files/lightyears-1.2a-gentoo.patch 707
+SHA256 c0fb98009928b5ea4b2d83ddc5b21ad12c7700f0b23ae7fd80a5a80a0b15a297 files/lightyears-1.2a-gentoo.patch 707
+DIST LightYears-1.2a.zip 1494290 RMD160 41e52a51b8425300d5e1abc083148fec93c61d1c SHA1 2c86eded64901e6bfd762c07a29866cb5f279443 SHA256 81980a4b53ad84e835f7a8f49a615ec355b04752d6aaa64d35ba832d7190d88b
+EBUILD lightyears-1.2a.ebuild 1488 RMD160 39968b39da0446c48d39d2c4cf6a7e4ad23e7063 SHA1 df9294bbdbb576c7f3f2c6dfee9c042462e0b86d SHA256 5551f5ae4f38396adc36faf2f3ca83f1ca3315afe2ad3adc6ed5feebe060b347
+MD5 40c4ac08601daf4292c51fdc6b2e49ab lightyears-1.2a.ebuild 1488
+RMD160 39968b39da0446c48d39d2c4cf6a7e4ad23e7063 lightyears-1.2a.ebuild 1488
+SHA256 5551f5ae4f38396adc36faf2f3ca83f1ca3315afe2ad3adc6ed5feebe060b347 lightyears-1.2a.ebuild 1488
+MISC ChangeLog 432 RMD160 d2d34e9ebed7c7d363af9f0181bec1769449723e SHA1 7e818f583f1bc8352bf5a8344ebf2ccfe01710f1 SHA256 c043652e78277caa4341567fd968840e569b435e1dfb801bc9e51af4f91f5c61
+MD5 9cabc3808394b1d7a393bc24e4ad70e4 ChangeLog 432
+RMD160 d2d34e9ebed7c7d363af9f0181bec1769449723e ChangeLog 432
+SHA256 c043652e78277caa4341567fd968840e569b435e1dfb801bc9e51af4f91f5c61 ChangeLog 432
+MISC metadata.xml 366 RMD160 5d947375304d60e93c580163a09d6c27dea33a98 SHA1 a4b1a9849dfc45aaca4fb7cac65e695cf4277cd7 SHA256 c21e8e6d236aef6628b448f839689a39ea28201b15ff08fffb1aadd717f7f6b7
+MD5 c5d83d587714cdc755e1cca95979b41f metadata.xml 366
+RMD160 5d947375304d60e93c580163a09d6c27dea33a98 metadata.xml 366
+SHA256 c21e8e6d236aef6628b448f839689a39ea28201b15ff08fffb1aadd717f7f6b7 metadata.xml 366
+MD5 03a03c2a6f0a7945581702eed43afd35 files/digest-lightyears-1.2a 241
+RMD160 48c785782865e4075d685a4b97dd977e2fc1b24a files/digest-lightyears-1.2a 241
+SHA256 922a3c24ffff49fcf00ea34d78720152e341d6e4ff8c01f7fe1ecd1eec37aaab files/digest-lightyears-1.2a 241
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFGMmPHRmMZkarFlIwRAtYiAJ9ln65gLkCnfpKyAxLi6i5xlt4iwwCguwqL
+CN/0Mbz/0QUCJdvUbzFWuSo=
+=qHGe
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 b07bf041b3a735248440dd27cf70a3e6 LightYears-1.2a.zip 1494290
+RMD160 41e52a51b8425300d5e1abc083148fec93c61d1c LightYears-1.2a.zip 1494290
+SHA256 81980a4b53ad84e835f7a8f49a615ec355b04752d6aaa64d35ba832d7190d88b LightYears-1.2a.zip 1494290
--- /dev/null
+--- LightYears.py.old 2007-04-27 21:33:46.000000000 +0200
++++ LightYears.py 2007-04-27 21:35:02.000000000 +0200
+@@ -9,8 +9,7 @@
+ if ( __name__ == "__main__" ):
+ import sys, os
+
+- CODE_DIR = os.path.abspath(os.path.join(
+- os.path.dirname(sys.argv[ 0 ]), "code"))
++ CODE_DIR = "@GENTOO_LIBDIR@"
+
+ sys.path.insert(0, CODE_DIR)
+
+--- code/resource.py.old 2007-04-27 22:17:47.000000000 +0200
++++ code/resource.py 2007-04-27 22:18:29.000000000 +0200
+@@ -14,8 +14,7 @@
+ __snd_cache = dict()
+ __snd_disabled = False
+
+-DATA_DIR = os.path.abspath(os.path.join(
+- os.path.dirname(sys.argv[ 0 ]), "data"))
++DATA_DIR = "@GENTOO_DATADIR@"
+
+
+ def Path(name, audio=False):
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/lightyears-1.2a.ebuild,v 1.1 2007/04/27 20:57:33 tupone Exp $
+
+inherit eutils games
+
+MY_PN=LightYears
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="a single-player game with a science-fiction theme"
+HOMEPAGE="http://www.jwhitham.org.uk/biscuit_games/LightYears"
+SRC_URI="http://www.jwhitham.org.uk/biscuit_games/${MY_PN}/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.4
+ >=dev-python/pygame-1.7"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}"-gentoo.patch
+ sed -i -e "s:@GENTOO_LIBDIR@:$(games_get_libdir)/${PN}:" \
+ ${MY_PN}.py || die "Changing library path failed"
+ sed -i -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
+ code/resource.py || die "Changing data path failed"
+
+ mkdirhier html/data
+ cp data/{006metal,header}.jpg html/data \
+ || die "Failed moving html data"
+ mv data/html*.jpg html/data \
+ || die "Failed moving html data"
+}
+
+src_install() {
+ dogamesbin ${MY_PN}.py || die "dogamesbin failed"
+
+ insinto "$(games_get_libdir)/${PN}"
+ doins code/*.py || die "installing library files failed"
+
+ dodoc README.txt
+ dohtml -r *.html html/data
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data/*
+
+ newicon data/32.png ${PN}.png
+ make_desktop_entry ${MY_PN}.py ${MY_PN}
+ prepgamesdirs
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+"20,000 Light Years Into Space" was written for Pyweek (March 2006) by Jack
+Whitham. It is a single-player real-time strategy game with a science-fiction
+theme.
+</longdescription>
+</pkgmetadata>