diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-04-27 20:57:33 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-04-27 20:57:33 +0000 |
commit | cf9b5036b2af9c85db7951e108ddce7e39961d7a (patch) | |
tree | d3101692b6043ceabafafcb36e60946e8cea2e6a /games-strategy | |
parent | Bump to 2.10.9 (diff) | |
download | historical-cf9b5036b2af9c85db7951e108ddce7e39961d7a.tar.gz historical-cf9b5036b2af9c85db7951e108ddce7e39961d7a.tar.bz2 historical-cf9b5036b2af9c85db7951e108ddce7e39961d7a.zip |
New package, Bug #130485 by Alexandru Toma
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/lightyears/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/lightyears/Manifest | 30 | ||||
-rw-r--r-- | games-strategy/lightyears/files/digest-lightyears-1.2a | 3 | ||||
-rw-r--r-- | games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch | 24 | ||||
-rw-r--r-- | games-strategy/lightyears/lightyears-1.2a.ebuild | 58 | ||||
-rw-r--r-- | games-strategy/lightyears/metadata.xml | 10 |
6 files changed, 136 insertions, 0 deletions
diff --git a/games-strategy/lightyears/ChangeLog b/games-strategy/lightyears/ChangeLog new file mode 100644 index 000000000000..2ac5a5ef3001 --- /dev/null +++ b/games-strategy/lightyears/ChangeLog @@ -0,0 +1,11 @@ +# 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 + diff --git a/games-strategy/lightyears/Manifest b/games-strategy/lightyears/Manifest new file mode 100644 index 000000000000..e22061b21a40 --- /dev/null +++ b/games-strategy/lightyears/Manifest @@ -0,0 +1,30 @@ +-----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----- diff --git a/games-strategy/lightyears/files/digest-lightyears-1.2a b/games-strategy/lightyears/files/digest-lightyears-1.2a new file mode 100644 index 000000000000..316bafda3986 --- /dev/null +++ b/games-strategy/lightyears/files/digest-lightyears-1.2a @@ -0,0 +1,3 @@ +MD5 b07bf041b3a735248440dd27cf70a3e6 LightYears-1.2a.zip 1494290 +RMD160 41e52a51b8425300d5e1abc083148fec93c61d1c LightYears-1.2a.zip 1494290 +SHA256 81980a4b53ad84e835f7a8f49a615ec355b04752d6aaa64d35ba832d7190d88b LightYears-1.2a.zip 1494290 diff --git a/games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch b/games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch new file mode 100644 index 000000000000..6b1996bea320 --- /dev/null +++ b/games-strategy/lightyears/files/lightyears-1.2a-gentoo.patch @@ -0,0 +1,24 @@ +--- 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): diff --git a/games-strategy/lightyears/lightyears-1.2a.ebuild b/games-strategy/lightyears/lightyears-1.2a.ebuild new file mode 100644 index 000000000000..afc2fc0d78aa --- /dev/null +++ b/games-strategy/lightyears/lightyears-1.2a.ebuild @@ -0,0 +1,58 @@ +# 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 +} diff --git a/games-strategy/lightyears/metadata.xml b/games-strategy/lightyears/metadata.xml new file mode 100644 index 000000000000..72ac0f764196 --- /dev/null +++ b/games-strategy/lightyears/metadata.xml @@ -0,0 +1,10 @@ +<?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> |