From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pygame: ChangeLog pygame-1.9.2_pre3082.ebuild |
Date: | Fri, 29 Apr 2011 18:40:46 |
Message-Id: | 20110429184036.4E7D220054@flycatcher.gentoo.org |
1 | arfrever 11/04/29 18:40:36 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pygame-1.9.2_pre3082.ebuild |
5 | Log: |
6 | Version bump. Fixed building with Python 3.2 (bug #293909). |
7 | |
8 | (Portage version: 2.2.0_alpha30_p19/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.73 dev-python/pygame/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.73&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygame/ChangeLog?rev=1.73&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygame/ChangeLog?r1=1.72&r2=1.73 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v |
20 | retrieving revision 1.72 |
21 | retrieving revision 1.73 |
22 | diff -u -r1.72 -r1.73 |
23 | --- ChangeLog 31 Mar 2011 17:05:45 -0000 1.72 |
24 | +++ ChangeLog 29 Apr 2011 18:40:36 -0000 1.73 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/pygame |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.72 2011/03/31 17:05:45 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/ChangeLog,v 1.73 2011/04/29 18:40:36 arfrever Exp $ |
30 | + |
31 | +*pygame-1.9.2_pre3082 (29 Apr 2011) |
32 | + |
33 | + 29 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 | + +pygame-1.9.2_pre3082.ebuild: |
35 | + Version bump. Fixed building with Python 3.2 (bug #293909). |
36 | |
37 | *pygame-1.9.1-r1 (31 Mar 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/pygame/pygame-1.9.2_pre3082.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygame/pygame-1.9.2_pre3082.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygame/pygame-1.9.2_pre3082.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pygame-1.9.2_pre3082.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 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.2_pre3082.ebuild,v 1.1 2011/04/29 18:40:36 arfrever Exp $ |
52 | |
53 | EAPI="3" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="*-jython" |
56 | PYTHON_TESTS_RESTRICTED_ABIS="3.*" |
57 | |
58 | inherit distutils virtualx |
59 | |
60 | DESCRIPTION="Python bindings for SDL multimedia library" |
61 | HOMEPAGE="http://www.pygame.org/" |
62 | if [[ "${PV}" == *_pre* ]]; then |
63 | SRC_URI="mirror://gentoo/${P}.tar.xz" |
64 | else |
65 | SRC_URI="http://www.pygame.org/ftp/pygame-${PV}release.tar.gz" |
66 | fi |
67 | |
68 | LICENSE="LGPL-2.1" |
69 | SLOT="0" |
70 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" |
71 | IUSE="doc examples X" |
72 | |
73 | DEPEND="dev-python/numpy |
74 | >=media-libs/libsdl-1.2.5[X?] |
75 | >=media-libs/sdl-image-1.2.2[png,jpeg] |
76 | >=media-libs/sdl-mixer-1.2.4 |
77 | >=media-libs/sdl-ttf-2.0.6 |
78 | >=media-libs/smpeg-0.4.4-r1" |
79 | RDEPEND="${DEPEND}" |
80 | |
81 | if [[ "${PV}" != *_pre* ]]; then |
82 | S="${WORKDIR}/${P}release" |
83 | fi |
84 | |
85 | PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") |
86 | |
87 | DOCS="WHATSNEW" |
88 | |
89 | src_configure() { |
90 | "$(PYTHON -f)" config.py -auto |
91 | |
92 | if ! use X; then |
93 | sed -e "s:^scrap :#&" -i Setup || die "sed failed" |
94 | fi |
95 | } |
96 | |
97 | src_test() { |
98 | testing() { |
99 | PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" run_tests.py |
100 | } |
101 | VIRTUALX_COMMAND="python_execute_function" virtualmake testing |
102 | } |
103 | |
104 | src_install() { |
105 | distutils_src_install |
106 | |
107 | delete_examples_and_tests() { |
108 | rm -fr "${ED}$(python_get_sitedir)/pygame/examples" |
109 | rm -fr "${ED}$(python_get_sitedir)/pygame/tests" |
110 | } |
111 | python_execute_function -q delete_examples_and_tests |
112 | |
113 | if use doc; then |
114 | dohtml -r docs/* || die "Installation of documentation failed" |
115 | fi |
116 | |
117 | if use examples; then |
118 | insinto /usr/share/doc/${PF}/examples |
119 | doins -r examples/* || die "Installation of examples failed" |
120 | fi |
121 | } |