games-arcade/watermelons: Remove last-rited pkg

Closes: https://bugs.gentoo.org/703774
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-02-03 07:12:14 +01:00
parent da9ad894a3
commit 54326f642a
4 changed files with 0 additions and 70 deletions

View File

@@ -1 +0,0 @@
DIST melons-1.1.1.tgz 318692 BLAKE2B b950e58062f85632cf87a205ede2437ddb9ac573574cb7cd5e73eabd3cbd7af8e2ee9a2dc06a31cb2f322198fb0bcb97b0c292a886711bf4fb868b4f90738a1c SHA512 50bb66de9806fb1bbe946ad5063e68d3327d6184b3e95230573f71053426ed877fc9762ef2b44e6964c9d7b8dc5081e9c3015885800dd6644a1dd88c9c5dc357

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,56 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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"
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
}

View File

@@ -748,11 +748,6 @@ games-puzzle/hexamine
# Removal in 30 days. Bug #703780.
games-puzzle/4stattack
# David Seifert <soap@gentoo.org> (2019-12-25)
# Py2 only, dead upstream, no py3 port in sight.
# Removal in 30 days. Bug #703774.
games-arcade/watermelons
# Tomáš Mózes <hydrapolic@gentoo.org> (2019-12-19)
# Needs more testing.
=app-emulation/xen-4.13.0