summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-01-01 06:01:54 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-01-01 06:01:54 +0000
commitd95b2f1fb116b0d2ee7abd6798069ebe2f107713 (patch)
treef075b0b304416ca0621d21b4e08fdf4945c95dbf /games-arcade/bub-n-bros
parentEAPI=5 (diff)
downloadhistorical-d95b2f1fb116b0d2ee7abd6798069ebe2f107713.tar.gz
historical-d95b2f1fb116b0d2ee7abd6798069ebe2f107713.tar.bz2
historical-d95b2f1fb116b0d2ee7abd6798069ebe2f107713.zip
version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'games-arcade/bub-n-bros')
-rw-r--r--games-arcade/bub-n-bros/ChangeLog10
-rw-r--r--games-arcade/bub-n-bros/Manifest15
-rw-r--r--games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild69
-rw-r--r--games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch51
4 files changed, 137 insertions, 8 deletions
diff --git a/games-arcade/bub-n-bros/ChangeLog b/games-arcade/bub-n-bros/ChangeLog
index 6c1e577dbe01..e15e013c3982 100644
--- a/games-arcade/bub-n-bros/ChangeLog
+++ b/games-arcade/bub-n-bros/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/bub-n-bros
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v 1.20 2010/05/04 05:10:24 tupone Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v 1.21 2015/01/01 06:01:49 mr_bones_ Exp $
+
+*bub-n-bros-1.6.2 (01 Jan 2015)
+
+ 01 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org> +bub-n-bros-1.6.2.ebuild,
+ +files/bub-n-bros-1.6.2-home.patch:
+ version bump
04 May 2010; Tupone Alfredo <tupone@gentoo.org> bub-n-bros-1.6.ebuild:
Force python2 fixing bug #312231 by arfrever@gentoo.org
diff --git a/games-arcade/bub-n-bros/Manifest b/games-arcade/bub-n-bros/Manifest
index 071cd825cd28..d564411368ab 100644
--- a/games-arcade/bub-n-bros/Manifest
+++ b/games-arcade/bub-n-bros/Manifest
@@ -1,6 +1,9 @@
-AUX bub-n-bros-1.6-home.patch 2035 RMD160 6ba15ad4bbd1f2463abfe7962e75690646808c53 SHA1 f790c118adb5d1396c3e880b5dca83253619f7c5 SHA256 13bfced9b7b4bbb543ba32fa209bcf7d313a2f6c0dda979d71dba83dd717ff95
-AUX bub-n-bros-1.6-python25.patch 1066 RMD160 98c6363fc76009fb19e2a5459ab06540cbf3f7db SHA1 fc81e2c34cd0f3be921559a7f99abd350f9ffc12 SHA256 57534f2e7b94fe48d4c6da20dd16257136832171adae6f959492d3c3363821d4
-DIST bubbros-1.6.tar.bz2 9052959 RMD160 f4da90058650f07f4c50d33dd9b42be336c660df SHA1 17cd2811e11effde3ee41289725ea8fae86b70cd SHA256 dd197e60a23e09800010f3a5906feb77847e6eeaa7cfd47d803a85daa0bcf255
-EBUILD bub-n-bros-1.6.ebuild 1549 RMD160 07d7f65d718e67faf1a02a293044e56347e13683 SHA1 a167f0a9a5453539a38a299b2c1567ed5b06790a SHA256 3e65f8af5909346ce5b085b69c435a51effc6d5418f31b61202be9cc049021b2
-MISC ChangeLog 2428 RMD160 985de41b8ae5b9a58229566cd02283916dd0ff04 SHA1 e005fa275e73329c94017726d16f61daa13a7395 SHA256 7e3c1e3fcb3b24a1725c45787d4cbe82c10e77ee23153b302e97e50baa930b50
-MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+AUX bub-n-bros-1.6-home.patch 2035 SHA256 13bfced9b7b4bbb543ba32fa209bcf7d313a2f6c0dda979d71dba83dd717ff95 SHA512 77362d4b1daa02f59daa34bc31f6a68506a14eaa4633d04ee3f21f9c8244089e35568bff001a997659de07a4640af84d2ed14807242561e876634d7192f8ab34 WHIRLPOOL 4386739ee5bb2ae406daec9981da4ef3e56ecd9ee04ea30807b37cb796874827826031b50c2e38fbb37d3ddf3585575c8f9da104ccd099f8091ca023e090dc8d
+AUX bub-n-bros-1.6-python25.patch 1066 SHA256 57534f2e7b94fe48d4c6da20dd16257136832171adae6f959492d3c3363821d4 SHA512 d2c19560cf5bcbebcbcadc151c206b1eecc4e2dbe2754e92f014feeedb1301a58a6fff466e9c738babc3d0fbc5d535925bd8edae3e105c1de68041f9a43d73e8 WHIRLPOOL 191b6aef50b99a3af692527edad04cadc754902e00b8f5514b4552bae6fd6440b182d7163914f421f1dd9410ae285adca61c9e2951d2f3743898baf2e5e14558
+AUX bub-n-bros-1.6.2-home.patch 2035 SHA256 13bfced9b7b4bbb543ba32fa209bcf7d313a2f6c0dda979d71dba83dd717ff95 SHA512 77362d4b1daa02f59daa34bc31f6a68506a14eaa4633d04ee3f21f9c8244089e35568bff001a997659de07a4640af84d2ed14807242561e876634d7192f8ab34 WHIRLPOOL 4386739ee5bb2ae406daec9981da4ef3e56ecd9ee04ea30807b37cb796874827826031b50c2e38fbb37d3ddf3585575c8f9da104ccd099f8091ca023e090dc8d
+DIST bubbros-1.6.2.tar.gz 11568771 SHA256 0ad8a359c4632071a9c85c2684bae32aa0fa278632c49f092dc4078cfb9858c4 SHA512 a05fca8e31655e4bade60cd085f29796d789b349f005c715bf0e37e51f0bacb9d8b9650f3b10470917ee25421d32443e01132816a2f508e359302aa2c6d18ddb WHIRLPOOL 6ed0f68cab694399aef4c75ab0633c9c355cbc5328c72fffacd20612c6cf0cc67b06db65dc808307bd036caba19f1d7e35fedd6c756104e9c1c5ce1054b8a43f
+DIST bubbros-1.6.tar.bz2 9052959 SHA256 dd197e60a23e09800010f3a5906feb77847e6eeaa7cfd47d803a85daa0bcf255 SHA512 6f798363d0b4e6cb8f15b2d3e09f30ed34e9a5066a7dc1b96dfc4f413f07f2d042cdc8c6bd8a721df1bc1f677c11790461047fbf8ddd63d889c8c71f61b0711e WHIRLPOOL a0ca4fdddbbdbab80ac63bf8d92e2396350e59b507a2dd78a797c2c732e6bddc9a911e96a307a6698c45ce01254f136be77ddfc92cb165662dd5fb7d5b02f47c
+EBUILD bub-n-bros-1.6.2.ebuild 1594 SHA256 6cf8f57c07cb2bf23b2d9bc809925a648d514a745caa1a070b19dd278bc3519a SHA512 500888fed12769b0a86ae5a0bcdf1c06ca3a2b69bcba79ad2a4dde3d90fad82b3994d2e231e56606b793de07fbde0212aad02e17764950a0ec985080ae2fc0d7 WHIRLPOOL 9716dfd1621df40adb67f0187ddf277c74e6744b17a9a9644023e9962b07be84100ea31e9ae5c197bb0c647e3b02380b26cf5de3fbbb34e7ff147967014cd324
+EBUILD bub-n-bros-1.6.ebuild 1549 SHA256 3e65f8af5909346ce5b085b69c435a51effc6d5418f31b61202be9cc049021b2 SHA512 7826be3052e760d361133061319f01df9c4a30d7c876dc818611f05fdb08098854025cc3606dfb65dffb373a8662d5099383a67761177076191b07ba3c7275e4 WHIRLPOOL 8dcfcfaeaf7e3262e518cddaae1b6c299e6c42753c84c645cd79a5f1aa450f323901fc3c9d14fa1cce85971d7ff45a135e76184dacb916df8612df2a320f17a3
+MISC ChangeLog 2599 SHA256 e919c9873485bafe8481405b3b47e4df3828d6ec805aa1a2cd20382be1b47611 SHA512 67890a3fde6f1f24446916a7a8101e8388da23af305422a0cff2ffb3173c610b8c94f3ab6106e18e90175dbffc05d2e0089b9422c2d975de2b0019ae6b522794 WHIRLPOOL d7548e958767733137e598b83e4c0b7d2f7a38325c2ac1130f39eb9d9671ece529a17358d24602da0304c4d8c191126325837cd5a789ca29feca23030294a585
+MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
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
new file mode 100644
index 000000000000..32be8f380aa8
--- /dev/null
+++ b/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild,v 1.1 2015/01/01 06:01:49 mr_bones_ Exp $
+
+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 ~ppc ~sparc ~x86 ~x86-fbsd"
+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
new file mode 100644
index 000000000000..4d2cc317aba3
--- /dev/null
+++ b/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch
@@ -0,0 +1,51 @@
+--- 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)