diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-03 07:12:32 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-03 07:12:32 +0100 |
commit | 2f51856138a484afe5c73567d9063f504f4db4e8 (patch) | |
tree | 0f66e128440951f9ffd580651ad30c25161e0943 /games-puzzle | |
parent | games-arcade/watermelons: Remove last-rited pkg (diff) | |
download | gentoo-2f51856138a484afe5c73567d9063f504f4db4e8.tar.gz gentoo-2f51856138a484afe5c73567d9063f504f4db4e8.tar.bz2 gentoo-2f51856138a484afe5c73567d9063f504f4db4e8.zip |
games-puzzle/4stattack: Remove last-rited pkg
Closes: https://bugs.gentoo.org/703780
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild | 45 | ||||
-rw-r--r-- | games-puzzle/4stattack/Manifest | 1 | ||||
-rw-r--r-- | games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff | 21 | ||||
-rw-r--r-- | games-puzzle/4stattack/metadata.xml | 11 |
4 files changed, 0 insertions, 78 deletions
diff --git a/games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild b/games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild deleted file mode 100644 index d04ec26a8f3f..000000000000 --- a/games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild +++ /dev/null @@ -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} -} diff --git a/games-puzzle/4stattack/Manifest b/games-puzzle/4stattack/Manifest deleted file mode 100644 index d90c4d6a0722..000000000000 --- a/games-puzzle/4stattack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST 4stAttack-2.1.4.tar.gz 1828247 BLAKE2B 82575adaa8994939f978a0ae796c6a57d64eacf715465ee3ea9614dda28b1543c199d2776408b989e82bf9e4b28cd90cf7b57dc7c21be1329aac2295043f8a57 SHA512 4819c0915bfe47bb965ea39d49fa007fb18cfa965b15e5e72a4b0ac3be8a03c616d9438c8dedd960ee257e44b48f98f75ced6bed5bfc77f3366328c797b30f3c diff --git a/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff b/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff deleted file mode 100644 index 9cb5be53b793..000000000000 --- a/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff +++ /dev/null @@ -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 - diff --git a/games-puzzle/4stattack/metadata.xml b/games-puzzle/4stattack/metadata.xml deleted file mode 100644 index ddef1505ee47..000000000000 --- a/games-puzzle/4stattack/metadata.xml +++ /dev/null @@ -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> |