summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-arcade/watermelons/ChangeLog10
-rw-r--r--games-arcade/watermelons/Manifest13
-rw-r--r--games-arcade/watermelons/watermelons-1.1.1-r1.ebuild57
3 files changed, 67 insertions, 13 deletions
diff --git a/games-arcade/watermelons/ChangeLog b/games-arcade/watermelons/ChangeLog
index dfc812b8e41b..e9660ea6ac67 100644
--- a/games-arcade/watermelons/ChangeLog
+++ b/games-arcade/watermelons/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/watermelons
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/watermelons/ChangeLog,v 1.5 2014/08/10 21:23:05 slyfox Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/watermelons/ChangeLog,v 1.6 2015/01/01 21:28:35 mr_bones_ Exp $
+
+*watermelons-1.1.1-r1 (01 Jan 2015)
+
+ 01 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ +watermelons-1.1.1-r1.ebuild:
+ EAPI=5; use python-single-r1
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> watermelons-1.1.1.ebuild:
QA: drop trailing '.' from DESCRIPTION
diff --git a/games-arcade/watermelons/Manifest b/games-arcade/watermelons/Manifest
index 6c1b4b7177d9..cf1a676432ee 100644
--- a/games-arcade/watermelons/Manifest
+++ b/games-arcade/watermelons/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
DIST melons-1.1.1.tgz 318692 SHA256 7433004460bf97a055d7c4c28fc274eeda920f30d5441e76020a7b8db223a336 SHA512 50bb66de9806fb1bbe946ad5063e68d3327d6184b3e95230573f71053426ed877fc9762ef2b44e6964c9d7b8dc5081e9c3015885800dd6644a1dd88c9c5dc357 WHIRLPOOL 8f9c5ecb7591949deaa83a60a7334cec3822c7116a4d3a66c069bcacc523b3f9c708ba276845f4a11df1e5e6642e144cce1eb74976c4a96e0609396d1feb6b32
+EBUILD watermelons-1.1.1-r1.ebuild 1471 SHA256 0b0f957bec431c60ec4d1c15e47259384ab882cebf32a17e8792926bb101e1da SHA512 8657a36ba4e0ae9f2d56d8a342fe1f347bb1b6c6d57ce557f9e2b400b4580059499227f20ac4270a2754c07638ef933d8a56c3841e5c74c7f477c45ef25d4078 WHIRLPOOL d240abc1a7e64a4860519317e0d65fdc9544f87d80c2f5b2acb8270b3bd143d396a252efd09aebe58a494afdbe1075ab6b33558d5fb629df5a32304152dd5f2e
EBUILD watermelons-1.1.1.ebuild 1397 SHA256 787b81ca24f34aff249917eca1e3f7e506cbd864354a61f6240f7b39e44a1984 SHA512 e223ff2c9361bf02a832fb6cbb47209ad00ef98a4ca6e180d370b3ceefa85b74e85ef2f44e922e965e7a7f0251a12194ca134061b5a2c7a13f42601d246185ab WHIRLPOOL bc1aa7c21e55d56fc49da9b66611e73058203892c75a3d6cc3d4f4240221c32c70130a778c791bc9a4a372fba81b531943fe9d9316363254649369c136a4b1b2
-MISC ChangeLog 968 SHA256 e0971141f513b0e1981ea4ff75597c4a20026575a9d34f21123db53b4d36481a SHA512 90d85c37d2622c97ccad242eebd45d9228406607525133cbcc627f805ddbe60a175ebb1ea9159cb13c38f9cb19dfc2b54fc6b4e215672ce5b0532165d5d68b3e WHIRLPOOL 904ec2b3af6693ed24be0462461d0a67d71c02eb118e2ef331e274954093ca2b9110af806edf0555c29e5cf289bb504b2009feae5ddb73aff44b7627e39d7e18
+MISC ChangeLog 1127 SHA256 452e8b930e0465c8976e206b35b47cb696edeb56666b2099677b5bd5773942be SHA512 f670e6620242dad0ba42f99483f24b89263535e5463a5011dda5e171ee6fdaa78123c0047e25d125c538dda8091894c2eb899f1dbe10c68b254ae707917c020c WHIRLPOOL 1bff2a96d138f1216546dc947b09b601be3a451aba2e48133e593042174d86e726aacf1372aee3beb2f9b855a303ac74256502aa0d0bad95d2089ff5907b0b78
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iEYEAREIAAYFAlPn4roACgkQcaHudmEf86qNNgCfStRVQwWYnxT9+hO3QAfqDtwK
-jmoAn21Ku2FEPeb19t1pOnCDaPhyFmfZ
-=7TkT
------END PGP SIGNATURE-----
diff --git a/games-arcade/watermelons/watermelons-1.1.1-r1.ebuild b/games-arcade/watermelons/watermelons-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..47aa1c5148d2
--- /dev/null
+++ b/games-arcade/watermelons/watermelons-1.1.1-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/watermelons/watermelons-1.1.1-r1.ebuild,v 1.1 2015/01/01 21:28:35 mr_bones_ Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 games
+
+MY_PN="melons"
+DESCRIPTION="A thrilling watermelon bouncing game"
+HOMEPAGE="http://www.imitationpickles.org/melons/index.html"
+SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tgz"
+# No version upstream
+#SRC_URI="http://www.imitationpickles.org/${MY_PN}/${MY_PN}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-python/pygame[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+RDEPEND=${DEPEND}
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+S=${WORKDIR}/${MY_PN}
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ sed -i \
+ -e "s:melons.hs:${GAMES_STATEDIR}/${PN}/&:" \
+ main.py || die
+
+ cat <<-EOF > "${PN}" || die
+ #!/bin/bash
+ cd "${GAMES_DATADIR}/${PN}"
+ exec ${EPYTHON} main.py
+EOF
+}
+
+src_install() {
+ dogamesbin ${PN}
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data pgu const.py game.py main.py melon.py melons.py menu.py trampoline.py
+ python_optimize "${D}${GAMES_DATADIR}/${PN}"
+ dodoc *.txt
+ dodir "${GAMES_STATEDIR}/${PN}"
+ touch "${D}${GAMES_STATEDIR}"/${PN}/melons.hs
+ fperms 664 "${GAMES_STATEDIR}"/${PN}/melons.hs
+ newicon data/mellon0013.png "${PN}.png"
+ make_desktop_entry ${PN} Watermelons
+ prepgamesdirs
+}