diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-06-20 18:07:36 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-06-20 18:07:36 +0000 |
commit | bf4bc94df2809797804bc2ab57012c9ff69a5ac0 (patch) | |
tree | b35c479926a9ca1ff7ada286ad19bcb71c47a4df /games-simulation | |
parent | stable for x86 (diff) | |
download | historical-bf4bc94df2809797804bc2ab57012c9ff69a5ac0.tar.gz historical-bf4bc94df2809797804bc2ab57012c9ff69a5ac0.tar.bz2 historical-bf4bc94df2809797804bc2ab57012c9ff69a5ac0.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-simulation')
4 files changed, 0 insertions, 114 deletions
diff --git a/games-simulation/singularity/Manifest b/games-simulation/singularity/Manifest index 6fb78faea4ee..31d209a74a0c 100644 --- a/games-simulation/singularity/Manifest +++ b/games-simulation/singularity/Manifest @@ -1,8 +1,5 @@ -AUX singularity-0.26a-musicdir.patch 1145 RMD160 13602f4dd865539b9eeeb15ebacf78a7114a1aa3 SHA1 46a80b9c0b87057720bfd5f02ddca2fb2314ca6a SHA256 b2c1a11508711d83e8c76afe9a0cb00e6e43db30f87f2759e3aaebabef445edc DIST endgame-singularity-music-005.zip 25944087 RMD160 82b2eca41d33635fb07bce4344ddbc3eebc749f8 SHA1 f01caac2be16ea8ab1ec8b4c7f76f3ee6f22818c SHA256 7e4c12827fb685f28317fd5c7278514ac2a931eaa090eb58260b8178e6605ff6 DIST singularity-0.28a-src.tar.gz 1629963 RMD160 fd44109b68173e4eaccc55c2cc945f8858b5faee SHA1 1635398327c92954c719cc9d766d99470c7b6592 SHA256 9340bddd3548bbd75ba23e32ea142ba1e76f7e2da9a49e4f4809f53f184b3747 -DIST singularity_0.26a.tar.gz 1262046 RMD160 8241cd5cc8d1ec6e449e351f4f7d06b5a2b243fc SHA1 547724c9d6f5cbf6f39530008abb5529743fa418 SHA256 3d457ae793c2dc80387c9f1548c2fb3232aec95c650bb8401d9107dbeeb601d4 -EBUILD singularity-0.26a.ebuild 1229 RMD160 4c6ad7526bde4e6ae8603141c3875c2cd8f20624 SHA1 4d05d6023c0808e7339175e6dea9b4a2ab52827c SHA256 b99b6cc3a263d43bd1db5d770dc2bf07f41c97261bbba1fa6df61fd0f090627b EBUILD singularity-0.28a.ebuild 1144 RMD160 d17bb6a6290a93c97af4c40991a2a5737df561c6 SHA1 758e03946fe9b17c3ef822c2265075fd37ad2c5e SHA256 63b0b3a2bf48336c6d049eba979e658e9778a535fd692ffd9a7b8c878f3193b8 MISC ChangeLog 1492 RMD160 87263b15ee4d815b8957834d502dd9fd7e441add SHA1 c101b73a8cf391ad3bf0bb3e53ff02fd57bcd4b9 SHA256 b11e989c467a5e209bbbeec35b9c7f30f0450c4be183f881bdf80c283a78145a MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-simulation/singularity/files/singularity-0.26a-musicdir.patch b/games-simulation/singularity/files/singularity-0.26a-musicdir.patch deleted file mode 100644 index 3a80f1e31d65..000000000000 --- a/games-simulation/singularity/files/singularity-0.26a-musicdir.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: code/g.py -=================================================================== ---- code/g.py (revision 406) -+++ code/g.py (revision 407) -@@ -142,14 +142,21 @@ - musicarray = [] - musicarraylen=0 - musicpath=path.join(data_loc, "..", "music") -+ default_music_available = True - if not path.isdir(musicpath): -- makedirs(musicpath) -- temp_ls = listdir(musicpath) -- temp_ls_len = len(temp_ls) -- for file_name in temp_ls: -- if file_name[-3:] == "ogg" or file_name[-3:] == "mp3": -- musicarray.append(path.join(musicpath, file_name)) -+ try: -+ makedirs(musicpath) -+ except: - -+ # We don't have permission to write here. Don't bother -+ # trying to load music. -+ default_music_available = False -+ -+ if default_music_available: -+ for file_name in listdir(musicpath): -+ if file_name[-3:] == "ogg" or file_name[-3:] == "mp3": -+ musicarray.append(path.join(musicpath, file_name)) -+ - #also, grab any user files - musicpath=path.join(get_save_folder(True), "music") - if not path.isdir(musicpath): diff --git a/games-simulation/singularity/singularity-0.26a.ebuild b/games-simulation/singularity/singularity-0.26a.ebuild deleted file mode 100644 index 6234b30d64ab..000000000000 --- a/games-simulation/singularity/singularity-0.26a.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.26a.ebuild,v 1.4 2008/02/14 03:58:08 mr_bones_ Exp $ - -inherit eutils games - -MUSIC=endgame-${PN}-music-005 - -DESCRIPTION="A simulation of a true AI. Go from computer to computer, pursued by the entire world. Keep hidden, and you might have a chance." -HOMEPAGE="http://www.emhsoft.com/singularity/" -SRC_URI="http://www.emhsoft.com/singularity/${PN}_${PV}.tar.gz - music? ( http://endgame-singularity.googlecode.com/files/${MUSIC}.zip )" - -LICENSE="GPL-2 CCPL-Attribution-ShareAlike-2.5" -SLOT="0" -KEYWORDS="~amd64 x86" -IUSE="music" - -RDEPEND="dev-python/pygame" -DEPEND="${RDEPEND} - app-arch/unzip" - -src_unpack() { - unpack ${A} - cd "${S}" - - rm code/*.pyc data/*.html # Remove unecessary files - epatch "${FILESDIR}/${P}-musicdir.patch" -} - -src_install() { - insinto "${GAMES_DATADIR}/${PN}" - doins -r code data || die "doins failed" - if use music ; then - doins -r ../${MUSIC}/music || die "doins failed" - fi - games_make_wrapper singularity "python ./singularity.py" "${GAMES_DATADIR}/${PN}/code" - dodoc README.txt TODO Changelog AUTHORS - prepgamesdirs -} diff --git a/games-simulation/singularity/singularity-0.27.ebuild b/games-simulation/singularity/singularity-0.27.ebuild deleted file mode 100644 index bd8e66ebb8d8..000000000000 --- a/games-simulation/singularity/singularity-0.27.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.27.ebuild,v 1.1 2008/04/18 19:25:01 mr_bones_ Exp $ - -inherit eutils games - -MUSIC=endgame-${PN}-music-005 - -DESCRIPTION="A simulation of a true AI. Go from computer to computer, pursued by the entire world. Keep hidden, and you might have a chance." -HOMEPAGE="http://www.emhsoft.com/singularity/" -SRC_URI="http://www.emhsoft.com/singularity/${PN}_${PV}.tar.gz - music? ( http://endgame-singularity.googlecode.com/files/${MUSIC}.zip )" - -LICENSE="GPL-2 CCPL-Attribution-ShareAlike-2.5" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="music" - -RDEPEND="dev-python/pygame" -DEPEND="${RDEPEND} - app-arch/unzip" - -src_unpack() { - unpack ${A} - cd "${S}" - - rm -f code/*.pyc data/*.html # Remove unecessary files -} - -src_install() { - insinto "${GAMES_DATADIR}/${PN}" - doins -r code data || die "doins failed" - if use music ; then - doins -r ../${MUSIC}/music || die "doins failed" - fi - games_make_wrapper singularity "python ./singularity.py" "${GAMES_DATADIR}/${PN}/code" - dodoc README.txt TODO Changelog AUTHORS - prepgamesdirs -} |