From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-arcade/bub-n-bros: bub-n-bros-1.6.2.ebuild ChangeLog |
Date: | Thu, 01 Jan 2015 06:01:55 |
Message-Id: | 20150101060150.07F75E9E6@oystercatcher.gentoo.org |
1 | mr_bones_ 15/01/01 06:01:49 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bub-n-bros-1.6.2.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.21 games-arcade/bub-n-bros/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bub-n-bros/ChangeLog?rev=1.21&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bub-n-bros/ChangeLog?rev=1.21&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bub-n-bros/ChangeLog?r1=1.20&r2=1.21 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v |
20 | retrieving revision 1.20 |
21 | retrieving revision 1.21 |
22 | diff -u -r1.20 -r1.21 |
23 | --- ChangeLog 4 May 2010 05:10:24 -0000 1.20 |
24 | +++ ChangeLog 1 Jan 2015 06:01:49 -0000 1.21 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for games-arcade/bub-n-bros |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v 1.20 2010/05/04 05:10:24 tupone Exp $ |
29 | +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/games-arcade/bub-n-bros/ChangeLog,v 1.21 2015/01/01 06:01:49 mr_bones_ Exp $ |
31 | + |
32 | +*bub-n-bros-1.6.2 (01 Jan 2015) |
33 | + |
34 | + 01 Jan 2015; Michael Sterrett <mr_bones_@g.o> +bub-n-bros-1.6.2.ebuild, |
35 | + +files/bub-n-bros-1.6.2-home.patch: |
36 | + version bump |
37 | |
38 | 04 May 2010; Tupone Alfredo <tupone@g.o> bub-n-bros-1.6.ebuild: |
39 | Force python2 fixing bug #312231 by arfrever@g.o |
40 | |
41 | |
42 | |
43 | 1.1 games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: bub-n-bros-1.6.2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2015 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $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 $ |
53 | |
54 | EAPI=5 |
55 | PYTHON_COMPAT=( python2_7 ) |
56 | inherit eutils python-single-r1 games |
57 | |
58 | MY_P=${P/-n-} |
59 | DESCRIPTION="A multiplayer clone of the famous Bubble Bobble game" |
60 | HOMEPAGE="http://bub-n-bros.sourceforge.net/" |
61 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
62 | |
63 | LICENSE="MIT Artistic-2" |
64 | SLOT="0" |
65 | KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
66 | IUSE="" |
67 | |
68 | DEPEND="dev-python/pygame[${PYTHON_USEDEP}] |
69 | ${PYTHON_DEPS}" |
70 | RDEPEND=${DEPEND} |
71 | REQUIRED_USE=${PYTHON_REQUIRED_USE} |
72 | |
73 | S=${WORKDIR}/${MY_P} |
74 | |
75 | pkg_setup() { |
76 | python-single-r1_pkg_setup |
77 | games_pkg_setup |
78 | } |
79 | |
80 | src_prepare() { |
81 | ecvs_clean |
82 | epatch "${FILESDIR}"/${P}-home.patch |
83 | python_fix_shebang . |
84 | } |
85 | |
86 | src_compile() { |
87 | # Compile the "statesaver" extension module to enable the Clock bonus |
88 | cd "${S}"/bubbob |
89 | ${EPYTHON} setup.py build_ext -i || die |
90 | |
91 | # Compile the extension module required for the X Window client |
92 | cd "${S}"/display |
93 | ${EPYTHON} setup.py build_ext -i || die |
94 | |
95 | # Build images |
96 | cd "${S}"/bubbob/images |
97 | ${EPYTHON} buildcolors.py || die |
98 | } |
99 | |
100 | src_install() { |
101 | local dir=$(games_get_libdir)/${PN} |
102 | |
103 | exeinto "${dir}" |
104 | doexe *.py |
105 | |
106 | insinto "${dir}" |
107 | doins -r bubbob common display java http2 metaserver |
108 | |
109 | dodir "${GAMES_BINDIR}" |
110 | dosym "${dir}"/BubBob.py "${GAMES_BINDIR}"/bubnbros |
111 | |
112 | python_optimize "${D}${dir}" |
113 | |
114 | newicon http2/data/bob.png ${PN}.png |
115 | make_desktop_entry bubnbros Bub-n-Bros |
116 | |
117 | prepgamesdirs |
118 | } |