diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-03 07:09:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-03 07:09:29 +0100 |
commit | 4a360a43a7acf18bd702408ba607993ca4beccef (patch) | |
tree | 6dfc4556fd361e206267c9d31e36a1b6b65160e6 /games-arcade | |
parent | games-action/accelerator3d: Remove last-rited pkg (diff) | |
download | gentoo-4a360a43a7acf18bd702408ba607993ca4beccef.tar.gz gentoo-4a360a43a7acf18bd702408ba607993ca4beccef.tar.bz2 gentoo-4a360a43a7acf18bd702408ba607993ca4beccef.zip |
games-arcade/bub-n-bros: Remove last-rited pkg
Closes: https://bugs.gentoo.org/703764
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/bub-n-bros/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild | 69 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch | 51 | ||||
-rw-r--r-- | games-arcade/bub-n-bros/metadata.xml | 11 |
4 files changed, 0 insertions, 132 deletions
diff --git a/games-arcade/bub-n-bros/Manifest b/games-arcade/bub-n-bros/Manifest deleted file mode 100644 index f475f14c2648..000000000000 --- a/games-arcade/bub-n-bros/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bubbros-1.6.2.tar.gz 11568771 BLAKE2B f1add409c510b0f57817080e4e5bd0beec6c619c849e885c3a203be237f36cf00f34aa2d009d4be183e9d6d25c7fed18565178c9685a2c11fc0880eb242b6c85 SHA512 a05fca8e31655e4bade60cd085f29796d789b349f005c715bf0e37e51f0bacb9d8b9650f3b10470917ee25421d32443e01132816a2f508e359302aa2c6d18ddb 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 deleted file mode 100644 index 7252c5349661..000000000000 --- a/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild +++ /dev/null @@ -1,69 +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_P=${P/-n-} -DESCRIPTION="A multiplayer clone of the famous Bubble Bobble game" -HOMEPAGE="http://bub-n-bros.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="MIT Artistic-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~x86" -IUSE="" - -DEPEND="dev-python/pygame[${PYTHON_USEDEP}] - ${PYTHON_DEPS}" -RDEPEND=${DEPEND} - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - python-single-r1_pkg_setup - games_pkg_setup -} - -src_prepare() { - ecvs_clean - epatch "${FILESDIR}"/${P}-home.patch - python_fix_shebang . -} - -src_compile() { - # Compile the "statesaver" extension module to enable the Clock bonus - cd "${S}"/bubbob - ${EPYTHON} setup.py build_ext -i || die - - # Compile the extension module required for the X Window client - cd "${S}"/display - ${EPYTHON} setup.py build_ext -i || die - - # Build images - cd "${S}"/bubbob/images - ${EPYTHON} buildcolors.py || die -} - -src_install() { - local dir=$(games_get_libdir)/${PN} - - exeinto "${dir}" - doexe *.py - - insinto "${dir}" - doins -r bubbob common display java http2 metaserver - - dodir "${GAMES_BINDIR}" - dosym "${dir}"/BubBob.py "${GAMES_BINDIR}"/bubnbros - - python_optimize "${D}${dir}" - - newicon http2/data/bob.png ${PN}.png - make_desktop_entry bubnbros Bub-n-Bros - - prepgamesdirs -} 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 deleted file mode 100644 index 4d2cc317aba3..000000000000 --- a/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- bubbob/images.py 2007-09-08 17:03:41.000000000 +0200 -+++ bubbob/images.py 2007-09-08 17:57:45.000000000 +0200 -@@ -454,7 +454,6 @@ - # check and maybe regenerate the colored image files - file = os.path.join('images', 'buildcolors.py') - g = {'__name__': '__auto__', '__file__': file} -- execfile(file, g) - # replace the entries 'filename_%d.ppm' by a family of entries, - # one for each color - sprmap = {} ---- display/pclient.py 2007-09-08 17:03:41.000000000 +0200 -+++ display/pclient.py 2007-09-08 17:57:45.000000000 +0200 -@@ -162,8 +162,8 @@ - if mode[-1].has_key('cfgfile'): - self.trackcfgfile = mode[-1]['cfgfile'] - else: -- self.trackcfgfile = os.path.join(DataChunk.SOURCEDIR, -- 'http2', 'config.txt') -+ self.trackcfgfile = os.path.join(os.environ.get('HOME'), -+ '.bubnbros') - self.udpsock = None - self.udpsock_low = None - self.udpsock2 = None ---- http2/httppages.py 2007-09-08 17:03:41.000000000 +0200 -+++ http2/httppages.py 2007-09-08 17:57:45.000000000 +0200 -@@ -38,7 +38,7 @@ - - - class PageServer: -- CONFIGFILE = 'config.txt' -+ CONFIGFILE = '.bubnbros' - localservers = None - - def __init__(self, Game): -@@ -46,7 +46,7 @@ - self.seed = hex(random.randrange(0x1000, 0x10000)) - #self.unique_actions = {} - self.localhost = gamesrv.HOSTNAME -- self.filename = os.path.join(LOCALDIR, self.CONFIGFILE) -+ self.filename = os.path.join(os.environ.get('HOME'), self.CONFIGFILE) - data = self.loadoptionfile() - self.globaloptions = Options(data.get('*', {})) - self.localoptions = Options(data.get(self.localhost, {})) -@@ -333,7 +333,6 @@ - 'buildcolors.py') - if os.path.exists(file): - g = {'__name__': '__auto__', '__file__': file} -- execfile(file, g) - - if port: - address = '%s:%s' % (host, port) diff --git a/games-arcade/bub-n-bros/metadata.xml b/games-arcade/bub-n-bros/metadata.xml deleted file mode 100644 index 349a63e580ba..000000000000 --- a/games-arcade/bub-n-bros/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">bub-n-bros</remote-id> - </upstream> -</pkgmetadata> |