From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pygame: pygame-1.9.1.ebuild ChangeLog |
Date: | Thu, 03 Sep 2009 07:19:34 |
Message-Id: | E1MjBQ9-0006lO-WB@stork.gentoo.org |
1 | patrick 09/09/03 12:28:09 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pygame-1.9.1.ebuild |
5 | Log: |
6 | Bump to 1.9.1. Small patch by Lorenz Quack. Fixes #280445 |
7 | (Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.62 dev-python/pygame/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.62&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.62&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/ChangeLog?r1=1.61&r2=1.62 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v |
19 | retrieving revision 1.61 |
20 | retrieving revision 1.62 |
21 | diff -u -r1.61 -r1.62 |
22 | --- ChangeLog 15 Jul 2009 02:00:12 -0000 1.61 |
23 | +++ ChangeLog 3 Sep 2009 12:28:09 -0000 1.62 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/pygame |
26 | -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.61 2009/07/15 02:00:12 neurogeek Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.62 2009/09/03 12:28:09 patrick Exp $ |
30 | + |
31 | +*pygame-1.9.1 (03 Sep 2009) |
32 | + |
33 | + 03 Sep 2009; Patrick Lauer <patrick@g.o> +pygame-1.9.1.ebuild, |
34 | + +files/config.patch: |
35 | + Bump to 1.9.1. Small patch by Lorenz Quack. Fixes #280445 |
36 | |
37 | 15 Jul 2009; Jesus Rivero <neurogeek@g.o> |
38 | +files/pygame-1.8.1_icon_path.patch, pygame-1.8.1-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/pygame/pygame-1.9.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygame/pygame-1.9.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pygame-1.9.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 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.9.1.ebuild,v 1.1 2009/09/03 12:28:09 patrick Exp $ |
52 | |
53 | EAPI="2" |
54 | |
55 | inherit distutils multilib eutils |
56 | |
57 | DESCRIPTION="python bindings to sdl and other libs that facilitate game production" |
58 | HOMEPAGE="http://www.pygame.org/" |
59 | SRC_URI="http://www.pygame.org/ftp/pygame-${PV}release.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 X" |
65 | |
66 | RDEPEND=">=media-libs/libsdl-1.2.5[X?] |
67 | >=media-libs/sdl-ttf-2.0.6 |
68 | >=media-libs/sdl-image-1.2.2[png,jpeg] |
69 | >=media-libs/sdl-mixer-1.2.4 |
70 | dev-python/numpy |
71 | >=media-libs/smpeg-0.4.4-r1" |
72 | DEPEND="${RDEPEND} |
73 | dev-python/setuptools" |
74 | |
75 | S=${WORKDIR}/${P}release |
76 | |
77 | src_prepare() { |
78 | epatch "${FILESDIR}/config.patch" |
79 | } |
80 | |
81 | src_compile() { |
82 | python config.py -auto |
83 | sed -i -e 's:X11R6/lib:lib64:g' Setup |
84 | use X || sed -i -e 's:scrap :#scrap :' Setup |
85 | distutils_src_compile |
86 | } |
87 | |
88 | src_install() { |
89 | DOCS=WHATSNEW |
90 | distutils_src_install |
91 | |
92 | if use doc; then |
93 | dohtml -r docs/* |
94 | |
95 | insinto /usr/share/doc/${PF} |
96 | doins -r "${S}/examples" |
97 | fi |
98 | } |
99 | |
100 | src_test() { |
101 | python_version |
102 | |
103 | #Skip tests that depend on DISPLAY being set. Bug #223055 |
104 | SKIP_TESTS="display_test image__save_gl_surface_test movie_test" |
105 | |
106 | for test_ in $SKIP_TESTS |
107 | do |
108 | einfo "Removing test: ${test_}" |
109 | rm -rf "${S}/test/${test_}.py" |
110 | done |
111 | |
112 | PYTHONPATH="$(ls -d build/lib.*)" "${python}" run_tests.py || die "tests failed" |
113 | } |