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