[gentoo-commits] repo/gentoo:master commit in: games-arcade/triplexinvaders/
commit: d27d671f5b63903e75f443578fc72c4770fdc00c Author: Marty E. Plummer startmail com> AuthorDate: Fri Aug 3 01:26:53 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Aug 27 21:23:02 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d27d671f games-arcade/triplexinvaders: add explicit desktop inheritance eutils may not always inherit desktop. Package-Manager: Portage-2.3.44, Repoman-2.3.10 games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild index b3774eb8c6f..7b95c1773d9 100644 --- a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild +++ b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild @@ -4,7 +4,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit eutils python-single-r1 +inherit desktop eutils python-single-r1 DESCRIPTION="An Alien Invaders style game with 3d graphics" HOMEPAGE="http://triplexinvaders.infogami.com";
[gentoo-commits] repo/gentoo:master commit in: games-arcade/triplexinvaders/
commit: 841b1338ac4b4494162c25b646e967fdc93791b7 Author: Pacho Ramos gentoo org> AuthorDate: Tue Apr 24 19:12:51 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Apr 24 19:26:33 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841b1338 games-arcade/triplexinvaders: Add forgotten REQUIRED_USE Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild index 09ac13da91d..b3774eb8c6f 100644 --- a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild +++ b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild @@ -13,7 +13,9 @@ SRC_URI="http://acm.jhu.edu/~arthur/invaders/${P}.zip"; LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" + IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} dev-python/pygame[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: games-arcade/triplexinvaders/files/, games-arcade/triplexinvaders/
commit: fdc276e65566beb3c91b69585061e4d11bd8b9d8 Author: Pacho Ramos gentoo org> AuthorDate: Tue Apr 24 19:03:38 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Apr 24 19:26:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc276e6 games-arcade/triplexinvaders: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 .../files/triplexinvaders-1.08-gentoo.patch| 16 .../triplexinvaders/triplexinvaders-1.08-r1.ebuild | 44 ++ 2 files changed, 52 insertions(+), 8 deletions(-) diff --git a/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch b/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch index 56f9c1a1596..85c88afcfe8 100644 --- a/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch +++ b/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch @@ -1,5 +1,5 @@ sound.py.old 2007-04-14 21:52:02.0 +0200 -+++ sound.py 2007-04-14 21:52:27.0 +0200 +--- a/sound.py.old 2007-04-14 21:52:02.0 +0200 b/sound.py 2007-04-14 21:52:27.0 +0200 @@ -16,7 +16,7 @@ @@ -18,8 +18,8 @@ sound.set_volume(volume) LoadedSounds[name] = sound return LoadedSounds[name] util.py.old2007-04-14 21:56:30.0 +0200 -+++ util.py2007-04-14 21:56:48.0 +0200 +--- a/util.py.old 2007-04-14 21:56:30.0 +0200 b/util.py 2007-04-14 21:56:48.0 +0200 @@ -30,7 +30,7 @@ LoadedTextures = weakref.WeakValueDictionary() @@ -38,8 +38,8 @@ LoadedModels[name] = model return LoadedModels[name] hiscore.py.old 2007-04-14 22:04:04.0 +0200 -+++ hiscore.py 2007-04-14 22:04:25.0 +0200 +--- a/hiscore.py.old 2007-04-14 22:04:04.0 +0200 b/hiscore.py 2007-04-14 22:04:25.0 +0200 @@ -5,7 +5,7 @@ # copy the highscores to the user's homedir highscorefile = os.path.join(configdir, 'hiscores') @@ -49,8 +49,8 @@ shutil.copy(oldpath, highscorefile) def write(score, name): options.py.old 2007-04-14 22:05:23.0 +0200 -+++ options.py 2007-04-14 22:05:42.0 +0200 +--- a/options.py.old 2007-04-14 22:05:23.0 +0200 b/options.py 2007-04-14 22:05:42.0 +0200 @@ -5,7 +5,7 @@ # copy the options to the user's homedir optionfile = os.path.join(configdir, 'options.conf') diff --git a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild new file mode 100644 index 000..09ac13da91d --- /dev/null +++ b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="An Alien Invaders style game with 3d graphics" +HOMEPAGE="http://triplexinvaders.infogami.com"; +SRC_URI="http://acm.jhu.edu/~arthur/invaders/${P}.zip"; + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame[${PYTHON_USEDEP}] + dev-python/pyopengl[${PYTHON_USEDEP}] +" +DEPEND="app-arch/unzip" + +src_prepare() { + default + eapply "${FILESDIR}/${P}"-gentoo.patch + sed -i -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + sound.py \ + util.py \ + hiscore.py \ + options.py || die "sed failed" +} + +src_install() { + local libdir=/usr/$(get_libdir) + + insinto "${libdir}/${PN}" + doins -r *.py + insinto "/usr/share/${PN}" + doins -r models sound options.conf hiscores + make_wrapper ${PN} "python2 ./invaders.py" "${libdir}/${PN}" + einstalldocs + make_desktop_entry ${PN} +}
[gentoo-commits] repo/gentoo:master commit in: games-arcade/triplexinvaders/
commit: 3b43c822d6ddd39cf850c2983f89a4c0a5767be7 Author: Pacho Ramos gentoo org> AuthorDate: Tue Apr 24 19:04:08 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Tue Apr 24 19:26:27 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b43c822 games-arcade/triplexinvaders: Drop old Package-Manager: Portage-2.3.31, Repoman-2.3.9 .../triplexinvaders/triplexinvaders-1.08.ebuild| 39 -- 1 file changed, 39 deletions(-) diff --git a/games-arcade/triplexinvaders/triplexinvaders-1.08.ebuild b/games-arcade/triplexinvaders/triplexinvaders-1.08.ebuild deleted file mode 100644 index d6b539da1fa..000 --- a/games-arcade/triplexinvaders/triplexinvaders-1.08.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils games - -DESCRIPTION="An Alien Invaders style game with 3d graphics" -HOMEPAGE="http://triplexinvaders.infogami.com"; -SRC_URI="http://acm.jhu.edu/~arthur/invaders/${P}.zip"; - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="app-arch/unzip" -RDEPEND="dev-python/pygame - dev-python/pyopengl" - -src_prepare() { - epatch "${FILESDIR}/${P}"-gentoo.patch - sed -i -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - sound.py \ - util.py \ - hiscore.py \ - options.py || die "sed failed" -} - -src_install() { - local libdir=$(games_get_libdir) - - insinto "${libdir}/${PN}" - doins -r *.py - insinto "${GAMES_DATADIR}/${PN}" - doins -r models sound options.conf hiscores - games_make_wrapper ${PN} "python ./invaders.py" "${libdir}/${PN}" - dodoc README.txt TODO.txt - prepgamesdirs -}