mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-puzzle/4stattack: Remove last-rited pkg
Closes: https://bugs.gentoo.org/703780 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
# 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="Connect-4 game, single or network multiplayer"
|
||||
HOMEPAGE="http://forcedattack.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/forcedattack/4stAttack-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/pygame[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/4stAttack-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# move the doc files aside so it's easier to install the game files
|
||||
mv README.txt credits.txt changelog.txt ..
|
||||
rm -f GPL version~
|
||||
|
||||
# This patch makes the game save settings in $HOME
|
||||
eapply "${FILESDIR}"/${P}-gentoo.diff
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make_wrapper ${PN} "python2 ${PN}.py" /usr/share/${PN}
|
||||
insinto /usr/share/${PN}
|
||||
doins -r *
|
||||
newicon kde/icons/64x64/forcedattack2.png ${PN}.png
|
||||
make_desktop_entry ${PN} "4st Attack 2"
|
||||
dodoc ../{README.txt,credits.txt,changelog.txt}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DIST 4stAttack-2.1.4.tar.gz 1828247 BLAKE2B 82575adaa8994939f978a0ae796c6a57d64eacf715465ee3ea9614dda28b1543c199d2776408b989e82bf9e4b28cd90cf7b57dc7c21be1329aac2295043f8a57 SHA512 4819c0915bfe47bb965ea39d49fa007fb18cfa965b15e5e72a4b0ac3be8a03c616d9438c8dedd960ee257e44b48f98f75ced6bed5bfc77f3366328c797b30f3c
|
||||
@@ -1,21 +0,0 @@
|
||||
--- a/4stattack.py
|
||||
+++ b/4stattack.py
|
||||
@@ -28,6 +28,9 @@
|
||||
images = None
|
||||
screen = None
|
||||
|
||||
+f = os.path.expanduser('~/.4stattackrc')
|
||||
+if not os.path.exists(f):
|
||||
+ os.system('cp settings.ini %s' % f)
|
||||
|
||||
def playMusic(datadir):
|
||||
if pygame.mixer.get_init():
|
||||
@@ -78,7 +81,7 @@
|
||||
if options.has_key('-ini'):
|
||||
ini_settings = IniSettings(options['-ini'])
|
||||
else:
|
||||
- ini_settings = IniSettings('settings.ini')
|
||||
+ ini_settings = IniSettings(os.path.expanduser('~/.4stattackrc'))
|
||||
|
||||
settings = ini_settings.settings
|
||||
|
||||
@@ -1,11 +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>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">forcedattack</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -743,11 +743,6 @@ games-puzzle/jools
|
||||
# Removal in 30 days. Bug #703782.
|
||||
games-puzzle/hexamine
|
||||
|
||||
# David Seifert <soap@gentoo.org> (2019-12-25)
|
||||
# Py2 only, dead upstream, no py3 port in sight.
|
||||
# Removal in 30 days. Bug #703780.
|
||||
games-puzzle/4stattack
|
||||
|
||||
# Tomáš Mózes <hydrapolic@gentoo.org> (2019-12-19)
|
||||
# Needs more testing.
|
||||
=app-emulation/xen-4.13.0
|
||||
|
||||
Reference in New Issue
Block a user