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: profiles/, games-arcade/bub-n-bros/files/, games-arcade/bub-n-bros/
Date: Mon, 03 Feb 2020 06:10:56
Message-Id: 1580710169.4a360a43a7acf18bd702408ba607993ca4beccef.mgorny@gentoo
1 commit: 4a360a43a7acf18bd702408ba607993ca4beccef
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 3 06:09:29 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 3 06:09:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a360a43
7
8 games-arcade/bub-n-bros: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/703764
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 games-arcade/bub-n-bros/Manifest | 1 -
14 games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild | 69 ----------------------
15 .../bub-n-bros/files/bub-n-bros-1.6.2-home.patch | 51 ----------------
16 games-arcade/bub-n-bros/metadata.xml | 11 ----
17 profiles/package.mask | 5 --
18 5 files changed, 137 deletions(-)
19
20 diff --git a/games-arcade/bub-n-bros/Manifest b/games-arcade/bub-n-bros/Manifest
21 deleted file mode 100644
22 index f475f14c264..00000000000
23 --- a/games-arcade/bub-n-bros/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST bubbros-1.6.2.tar.gz 11568771 BLAKE2B f1add409c510b0f57817080e4e5bd0beec6c619c849e885c3a203be237f36cf00f34aa2d009d4be183e9d6d25c7fed18565178c9685a2c11fc0880eb242b6c85 SHA512 a05fca8e31655e4bade60cd085f29796d789b349f005c715bf0e37e51f0bacb9d8b9650f3b10470917ee25421d32443e01132816a2f508e359302aa2c6d18ddb
27
28 diff --git a/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild b/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild
29 deleted file mode 100644
30 index 7252c534966..00000000000
31 --- a/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild
32 +++ /dev/null
33 @@ -1,69 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -PYTHON_COMPAT=( python2_7 )
39 -inherit eutils python-single-r1 games
40 -
41 -MY_P=${P/-n-}
42 -DESCRIPTION="A multiplayer clone of the famous Bubble Bobble game"
43 -HOMEPAGE="http://bub-n-bros.sourceforge.net/"
44 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
45 -
46 -LICENSE="MIT Artistic-2"
47 -SLOT="0"
48 -KEYWORDS="~alpha ~amd64 ~x86"
49 -IUSE=""
50 -
51 -DEPEND="dev-python/pygame[${PYTHON_USEDEP}]
52 - ${PYTHON_DEPS}"
53 -RDEPEND=${DEPEND}
54 -
55 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
56 -
57 -S=${WORKDIR}/${MY_P}
58 -
59 -pkg_setup() {
60 - python-single-r1_pkg_setup
61 - games_pkg_setup
62 -}
63 -
64 -src_prepare() {
65 - ecvs_clean
66 - epatch "${FILESDIR}"/${P}-home.patch
67 - python_fix_shebang .
68 -}
69 -
70 -src_compile() {
71 - # Compile the "statesaver" extension module to enable the Clock bonus
72 - cd "${S}"/bubbob
73 - ${EPYTHON} setup.py build_ext -i || die
74 -
75 - # Compile the extension module required for the X Window client
76 - cd "${S}"/display
77 - ${EPYTHON} setup.py build_ext -i || die
78 -
79 - # Build images
80 - cd "${S}"/bubbob/images
81 - ${EPYTHON} buildcolors.py || die
82 -}
83 -
84 -src_install() {
85 - local dir=$(games_get_libdir)/${PN}
86 -
87 - exeinto "${dir}"
88 - doexe *.py
89 -
90 - insinto "${dir}"
91 - doins -r bubbob common display java http2 metaserver
92 -
93 - dodir "${GAMES_BINDIR}"
94 - dosym "${dir}"/BubBob.py "${GAMES_BINDIR}"/bubnbros
95 -
96 - python_optimize "${D}${dir}"
97 -
98 - newicon http2/data/bob.png ${PN}.png
99 - make_desktop_entry bubnbros Bub-n-Bros
100 -
101 - prepgamesdirs
102 -}
103
104 diff --git a/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch b/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch
105 deleted file mode 100644
106 index 4d2cc317aba..00000000000
107 --- a/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch
108 +++ /dev/null
109 @@ -1,51 +0,0 @@
110 ---- bubbob/images.py 2007-09-08 17:03:41.000000000 +0200
111 -+++ bubbob/images.py 2007-09-08 17:57:45.000000000 +0200
112 -@@ -454,7 +454,6 @@
113 - # check and maybe regenerate the colored image files
114 - file = os.path.join('images', 'buildcolors.py')
115 - g = {'__name__': '__auto__', '__file__': file}
116 -- execfile(file, g)
117 - # replace the entries 'filename_%d.ppm' by a family of entries,
118 - # one for each color
119 - sprmap = {}
120 ---- display/pclient.py 2007-09-08 17:03:41.000000000 +0200
121 -+++ display/pclient.py 2007-09-08 17:57:45.000000000 +0200
122 -@@ -162,8 +162,8 @@
123 - if mode[-1].has_key('cfgfile'):
124 - self.trackcfgfile = mode[-1]['cfgfile']
125 - else:
126 -- self.trackcfgfile = os.path.join(DataChunk.SOURCEDIR,
127 -- 'http2', 'config.txt')
128 -+ self.trackcfgfile = os.path.join(os.environ.get('HOME'),
129 -+ '.bubnbros')
130 - self.udpsock = None
131 - self.udpsock_low = None
132 - self.udpsock2 = None
133 ---- http2/httppages.py 2007-09-08 17:03:41.000000000 +0200
134 -+++ http2/httppages.py 2007-09-08 17:57:45.000000000 +0200
135 -@@ -38,7 +38,7 @@
136 -
137 -
138 - class PageServer:
139 -- CONFIGFILE = 'config.txt'
140 -+ CONFIGFILE = '.bubnbros'
141 - localservers = None
142 -
143 - def __init__(self, Game):
144 -@@ -46,7 +46,7 @@
145 - self.seed = hex(random.randrange(0x1000, 0x10000))
146 - #self.unique_actions = {}
147 - self.localhost = gamesrv.HOSTNAME
148 -- self.filename = os.path.join(LOCALDIR, self.CONFIGFILE)
149 -+ self.filename = os.path.join(os.environ.get('HOME'), self.CONFIGFILE)
150 - data = self.loadoptionfile()
151 - self.globaloptions = Options(data.get('*', {}))
152 - self.localoptions = Options(data.get(self.localhost, {}))
153 -@@ -333,7 +333,6 @@
154 - 'buildcolors.py')
155 - if os.path.exists(file):
156 - g = {'__name__': '__auto__', '__file__': file}
157 -- execfile(file, g)
158 -
159 - if port:
160 - address = '%s:%s' % (host, port)
161
162 diff --git a/games-arcade/bub-n-bros/metadata.xml b/games-arcade/bub-n-bros/metadata.xml
163 deleted file mode 100644
164 index 349a63e580b..00000000000
165 --- a/games-arcade/bub-n-bros/metadata.xml
166 +++ /dev/null
167 @@ -1,11 +0,0 @@
168 -<?xml version="1.0" encoding="UTF-8"?>
169 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
170 -<pkgmetadata>
171 - <maintainer type="project">
172 - <email>games@g.o</email>
173 - <name>Gentoo Games Project</name>
174 - </maintainer>
175 - <upstream>
176 - <remote-id type="sourceforge">bub-n-bros</remote-id>
177 - </upstream>
178 -</pkgmetadata>
179
180 diff --git a/profiles/package.mask b/profiles/package.mask
181 index c595653daa5..16932d3ca7c 100644
182 --- a/profiles/package.mask
183 +++ b/profiles/package.mask
184 @@ -769,11 +769,6 @@ games-arcade/pydance-songs
185 # Removal in 30 days. Bug #703768.
186 games-arcade/pycadia
187
188 -# David Seifert <soap@g.o> (2019-12-25)
189 -# Py2 only, no other distro packages it anymore.
190 -# Removal in 30 days. Bug #703764.
191 -games-arcade/bub-n-bros
192 -
193 # Tomáš Mózes <hydrapolic@g.o> (2019-12-19)
194 # Needs more testing.
195 =app-emulation/xen-4.13.0