Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/4stattack/files/, games-puzzle/4stattack/, profiles/
Date: Mon, 03 Feb 2020 06:13:50
Message-Id: 1580710352.2f51856138a484afe5c73567d9063f504f4db4e8.mgorny@gentoo
1 commit: 2f51856138a484afe5c73567d9063f504f4db4e8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 3 06:12:32 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 3 06:12:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f518561
7
8 games-puzzle/4stattack: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/703780
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild | 45 ----------------------
14 games-puzzle/4stattack/Manifest | 1 -
15 .../4stattack/files/4stattack-2.1.4-gentoo.diff | 21 ----------
16 games-puzzle/4stattack/metadata.xml | 11 ------
17 profiles/package.mask | 5 ---
18 5 files changed, 83 deletions(-)
19
20 diff --git a/games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild b/games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild
21 deleted file mode 100644
22 index d04ec26a8f3..00000000000
23 --- a/games-puzzle/4stattack/4stattack-2.1.4-r1.ebuild
24 +++ /dev/null
25 @@ -1,45 +0,0 @@
26 -# Copyright 1999-2018 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=6
30 -PYTHON_COMPAT=( python2_7 )
31 -
32 -inherit eutils python-single-r1
33 -
34 -DESCRIPTION="Connect-4 game, single or network multiplayer"
35 -HOMEPAGE="http://forcedattack.sourceforge.net/"
36 -SRC_URI="mirror://sourceforge/forcedattack/4stAttack-${PV}.tar.gz"
37 -
38 -LICENSE="GPL-2"
39 -SLOT="0"
40 -KEYWORDS="~amd64 ~hppa ~x86"
41 -
42 -IUSE=""
43 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
44 -
45 -DEPEND=""
46 -RDEPEND="${PYTHON_DEPS}
47 - dev-python/pygame[${PYTHON_USEDEP}]
48 -"
49 -
50 -S="${WORKDIR}/4stAttack-${PV}"
51 -
52 -src_prepare() {
53 - default
54 -
55 - # move the doc files aside so it's easier to install the game files
56 - mv README.txt credits.txt changelog.txt ..
57 - rm -f GPL version~
58 -
59 - # This patch makes the game save settings in $HOME
60 - eapply "${FILESDIR}"/${P}-gentoo.diff
61 -}
62 -
63 -src_install() {
64 - make_wrapper ${PN} "python2 ${PN}.py" /usr/share/${PN}
65 - insinto /usr/share/${PN}
66 - doins -r *
67 - newicon kde/icons/64x64/forcedattack2.png ${PN}.png
68 - make_desktop_entry ${PN} "4st Attack 2"
69 - dodoc ../{README.txt,credits.txt,changelog.txt}
70 -}
71
72 diff --git a/games-puzzle/4stattack/Manifest b/games-puzzle/4stattack/Manifest
73 deleted file mode 100644
74 index d90c4d6a072..00000000000
75 --- a/games-puzzle/4stattack/Manifest
76 +++ /dev/null
77 @@ -1 +0,0 @@
78 -DIST 4stAttack-2.1.4.tar.gz 1828247 BLAKE2B 82575adaa8994939f978a0ae796c6a57d64eacf715465ee3ea9614dda28b1543c199d2776408b989e82bf9e4b28cd90cf7b57dc7c21be1329aac2295043f8a57 SHA512 4819c0915bfe47bb965ea39d49fa007fb18cfa965b15e5e72a4b0ac3be8a03c616d9438c8dedd960ee257e44b48f98f75ced6bed5bfc77f3366328c797b30f3c
79
80 diff --git a/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff b/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff
81 deleted file mode 100644
82 index 9cb5be53b79..00000000000
83 --- a/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff
84 +++ /dev/null
85 @@ -1,21 +0,0 @@
86 ---- a/4stattack.py
87 -+++ b/4stattack.py
88 -@@ -28,6 +28,9 @@
89 - images = None
90 - screen = None
91 -
92 -+f = os.path.expanduser('~/.4stattackrc')
93 -+if not os.path.exists(f):
94 -+ os.system('cp settings.ini %s' % f)
95 -
96 - def playMusic(datadir):
97 - if pygame.mixer.get_init():
98 -@@ -78,7 +81,7 @@
99 - if options.has_key('-ini'):
100 - ini_settings = IniSettings(options['-ini'])
101 - else:
102 -- ini_settings = IniSettings('settings.ini')
103 -+ ini_settings = IniSettings(os.path.expanduser('~/.4stattackrc'))
104 -
105 - settings = ini_settings.settings
106 -
107
108 diff --git a/games-puzzle/4stattack/metadata.xml b/games-puzzle/4stattack/metadata.xml
109 deleted file mode 100644
110 index ddef1505ee4..00000000000
111 --- a/games-puzzle/4stattack/metadata.xml
112 +++ /dev/null
113 @@ -1,11 +0,0 @@
114 -<?xml version="1.0" encoding="UTF-8"?>
115 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
116 -<pkgmetadata>
117 - <maintainer type="project">
118 - <email>games@g.o</email>
119 - <name>Gentoo Games Project</name>
120 - </maintainer>
121 - <upstream>
122 - <remote-id type="sourceforge">forcedattack</remote-id>
123 - </upstream>
124 -</pkgmetadata>
125
126 diff --git a/profiles/package.mask b/profiles/package.mask
127 index 35be9be99fb..45a399a8ce3 100644
128 --- a/profiles/package.mask
129 +++ b/profiles/package.mask
130 @@ -743,11 +743,6 @@ games-puzzle/jools
131 # Removal in 30 days. Bug #703782.
132 games-puzzle/hexamine
133
134 -# David Seifert <soap@g.o> (2019-12-25)
135 -# Py2 only, dead upstream, no py3 port in sight.
136 -# Removal in 30 days. Bug #703780.
137 -games-puzzle/4stattack
138 -
139 # Tomáš Mózes <hydrapolic@g.o> (2019-12-19)
140 # Needs more testing.
141 =app-emulation/xen-4.13.0