Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygame: ChangeLog pygame-1.8.0_rc4.ebuild
Date: Mon, 03 Mar 2008 13:44:28
Message-Id: E1JWAxt-0004M8-JI@stork.gentoo.org
1 dev-zero 08/03/03 13:44:25
2
3 Modified: ChangeLog
4 Added: pygame-1.8.0_rc4.ebuild
5 Log:
6 Version bump (bug #212179).
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.44 dev-python/pygame/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.44&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.44&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?r1=1.43&r2=1.44
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v
19 retrieving revision 1.43
20 retrieving revision 1.44
21 diff -u -r1.43 -r1.44
22 --- ChangeLog 7 Jul 2007 19:14:21 -0000 1.43
23 +++ ChangeLog 3 Mar 2008 13:44:25 -0000 1.44
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/pygame
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.43 2007/07/07 19:14:21 lucass Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.44 2008/03/03 13:44:25 dev-zero Exp $
30 +
31 +*pygame-1.8.0_rc4 (03 Mar 2008)
32 +
33 + 03 Mar 2008; Tiziano Müller <dev-zero@g.o>
34 + +pygame-1.8.0_rc4.ebuild:
35 + Version bump (bug #212179).
36
37 07 Jul 2007; Lukasz Strzygowski <lucass@g.o> -pygame-1.6.2.ebuild:
38 Dropped old version.
39
40
41
42 1.1 dev-python/pygame/pygame-1.8.0_rc4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.8.0_rc4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.8.0_rc4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pygame-1.8.0_rc4.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.8.0_rc4.ebuild,v 1.1 2008/03/03 13:44:25 dev-zero Exp $
52
53 inherit distutils
54
55 MY_P="${PN}-${PV/_}"
56
57 DESCRIPTION="python bindings to sdl and other libs that facilitate game production"
58 HOMEPAGE="http://www.pygame.org/"
59 SRC_URI="http://rene.f0o.com/~rene/stuff/${MY_P}.tar.gz"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
64 IUSE="doc"
65
66 RDEPEND=">=media-libs/libsdl-1.2.5
67 >=media-libs/sdl-ttf-2.0.6
68 >=media-libs/sdl-image-1.2.2
69 >=media-libs/sdl-mixer-1.2.4
70 dev-python/numpy
71 >=media-libs/smpeg-0.4.4-r1"
72 DEPEND="${DEPEND}
73 dev-python/setuptools"
74
75 S="${WORKDIR}/${MY_P}"
76
77
78 src_unpack() {
79 unpack ${A}
80 # Search correct libdir for existing sdl libs
81 sed -i -e "s:/lib:/$(get_libdir):" ${S}/config_unix.py || die
82 }
83
84 src_compile() {
85 distutils_src_install
86
87 # Copy missing icon-file
88 cp lib/pygame_icon.bmp build/lib.*/pygame/
89 }
90
91 src_install() {
92 DOCS=WHATSNEW
93 distutils_src_install
94
95 if use doc; then
96 dohtml -r docs/*
97 insinto /usr/share/doc/${PF}/examples
98 doins ${S}/examples/*
99 insinto /usr/share/doc/${PF}/examples/data
100 doins ${S}/examples/data/*
101 fi
102 }
103
104 src_test() {
105 python_version
106 PYTHONPATH="$(ls -d build/lib.*)" "${python}" run_tests.py || die "tests failed"
107 }
108
109
110
111 --
112 gentoo-commits@l.g.o mailing list