summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-06-09 07:52:13 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-06-09 07:52:13 +0000
commit8a29ce619c44d757cbfa32343a12e001620ff9ba (patch)
treea5608f04fde33a418f73fe9d43536062888c1d95 /games-arcade
parentHave gfile take precedence over inotify, following upstream. (diff)
downloadgentoo-2-8a29ce619c44d757cbfa32343a12e001620ff9ba.tar.gz
gentoo-2-8a29ce619c44d757cbfa32343a12e001620ff9ba.tar.bz2
gentoo-2-8a29ce619c44d757cbfa32343a12e001620ff9ba.zip
port to python-single-r1
(Portage version: 2.2.0_alpha178/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/funnyboat/ChangeLog7
-rw-r--r--games-arcade/funnyboat/funnyboat-1.5-r1.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/games-arcade/funnyboat/ChangeLog b/games-arcade/funnyboat/ChangeLog
index c6b49a079086..2220c576d7f2 100644
--- a/games-arcade/funnyboat/ChangeLog
+++ b/games-arcade/funnyboat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/funnyboat
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/funnyboat/ChangeLog,v 1.13 2013/06/08 19:17:58 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/funnyboat/ChangeLog,v 1.14 2013/06/09 07:52:13 hasufell Exp $
+
+*funnyboat-1.5-r1 (09 Jun 2013)
+
+ 09 Jun 2013; Julian Ospald <hasufell@gentoo.org> +funnyboat-1.5-r1.ebuild:
+ port to python-single-r1
08 Jun 2013; Sergei Trofimovich <slyfox@gentoo.org> funnyboat-1.5.ebuild:
Workaround python3 failure by requiring python2.
diff --git a/games-arcade/funnyboat/funnyboat-1.5-r1.ebuild b/games-arcade/funnyboat/funnyboat-1.5-r1.ebuild
new file mode 100644
index 000000000000..18720b0f71c7
--- /dev/null
+++ b/games-arcade/funnyboat/funnyboat-1.5-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/funnyboat/funnyboat-1.5-r1.ebuild,v 1.1 2013/06/09 07:52:13 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
+inherit eutils gnome2-utils python-single-r1 games
+
+DESCRIPTION="A side scrolling shooter game starring a steamboat on the sea"
+HOMEPAGE="http://funnyboat.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+ >=dev-python/pygame-1.6.2[${PYTHON_USEDEP}]"
+DEPEND="${DEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data *.py
+ python_optimize "${ED%/}/${GAMES_DATADIR}"/${PN}
+
+ dodoc *.txt
+ games_make_wrapper ${PN} "${EPYTHON} main.py" "${GAMES_DATADIR}"/${PN}
+ newicon -s 32 data/kuvake.png ${PN}.png
+ make_desktop_entry ${PN} "Trip on the Funny Boat"
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}