Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygame: ChangeLog pygame-1.8.1-r1.ebuild
Date: Thu, 09 Apr 2009 10:04:58
Message-Id: E1Lrr7w-0002AU-E6@stork.gentoo.org
1 patrick 09/04/09 10:04:56
2
3 Modified: ChangeLog
4 Added: pygame-1.8.1-r1.ebuild
5 Log:
6 EAPI2ification
7 (Portage version: 2.2_rc28/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.60 dev-python/pygame/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.60&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.60&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?r1=1.59&r2=1.60
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v
19 retrieving revision 1.59
20 retrieving revision 1.60
21 diff -u -r1.59 -r1.60
22 --- ChangeLog 16 Dec 2008 19:26:33 -0000 1.59
23 +++ ChangeLog 9 Apr 2009 10:04:56 -0000 1.60
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/pygame
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.59 2008/12/16 19:26:33 armin76 Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.60 2009/04/09 10:04:56 patrick Exp $
30 +
31 +*pygame-1.8.1-r1 (09 Apr 2009)
32 +
33 + 09 Apr 2009; Patrick Lauer <patrick@g.o> +pygame-1.8.1-r1.ebuild:
34 + EAPI2ification
35
36 16 Dec 2008; Raúl Porcel <armin76@g.o> pygame-1.8.1.ebuild:
37 ia64 stable wrt #238774
38
39
40
41 1.1 dev-python/pygame/pygame-1.8.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.8.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.8.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pygame-1.8.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.8.1-r1.ebuild,v 1.1 2009/04/09 10:04:56 patrick Exp $
51
52 EAPI="2"
53
54 inherit distutils multilib eutils
55
56 DESCRIPTION="python bindings to sdl and other libs that facilitate game production"
57 HOMEPAGE="http://www.pygame.org/"
58 SRC_URI="http://www.pygame.org/ftp/pygame-${PV}release.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
63 IUSE="doc"
64
65 RDEPEND=">=media-libs/libsdl-1.2.5[X]
66 >=media-libs/sdl-ttf-2.0.6
67 >=media-libs/sdl-image-1.2.2[png,jpeg]
68 >=media-libs/sdl-mixer-1.2.4
69 dev-python/numpy
70 >=media-libs/smpeg-0.4.4-r1"
71 DEPEND="${RDEPEND}
72 dev-python/setuptools"
73
74 S=${WORKDIR}/${P}release
75
76 src_compile() {
77 python config.py
78 sed -i -e 's:X11R6/lib:lib64:g' Setup
79
80 distutils_src_compile
81 }
82
83 src_install() {
84 DOCS=WHATSNEW
85 distutils_src_install
86
87 if use doc; then
88 dohtml -r docs/*
89
90 insinto /usr/share/doc/${PF}
91 doins -r "${S}/examples"
92 fi
93 }
94
95 src_test() {
96 python_version
97 PYTHONPATH="$(ls -d build/lib.*)" "${python}" run_tests.py || die "tests failed"
98 }